#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"
#include "mpeg12.h"
#include "thread.h"
Go to the source code of this file.
Data Structures | |
struct | MDECContext |
Functions | |
static int | mdec_decode_block_intra (MDECContext *a, DCTELEM *block, int n) |
static int | decode_mb (MDECContext *a, DCTELEM block[6][64]) |
static void | idct_put (MDECContext *a, int mb_x, int mb_y) |
static int | decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
static av_cold void | mdec_common_init (AVCodecContext *avctx) |
static av_cold int | decode_init (AVCodecContext *avctx) |
static av_cold int | decode_init_thread_copy (AVCodecContext *avctx) |
static av_cold int | decode_end (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_mdec_decoder |
Definition in file mdec.c.
static av_cold int decode_end | ( | AVCodecContext * | avctx | ) | [static] |
static int decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
static av_cold int decode_init | ( | AVCodecContext * | avctx | ) | [static] |
static av_cold int decode_init_thread_copy | ( | AVCodecContext * | avctx | ) | [static] |
static int decode_mb | ( | MDECContext * | a, | |
DCTELEM | block[6][64] | |||
) | [inline, static] |
static void idct_put | ( | MDECContext * | a, | |
int | mb_x, | |||
int | mb_y | |||
) | [inline, static] |
static av_cold void mdec_common_init | ( | AVCodecContext * | avctx | ) | [static] |
static int mdec_decode_block_intra | ( | MDECContext * | a, | |
DCTELEM * | block, | |||
int | n | |||
) | [inline, static] |
Initial value:
{ .name = "mdec", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_MDEC, .priv_data_size = sizeof(MDECContext), .init = decode_init, .close = decode_end, .decode = decode_frame, .capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS, .long_name= NULL_IF_CONFIG_SMALL("Sony PlayStation MDEC (Motion DECoder)"), .init_thread_copy= ONLY_IF_THREADS_ENABLED(decode_init_thread_copy) }