Sony PlayStation MDEC (Motion DECoder) This is very similar to intra-only MPEG-1. More...
#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"
#include "mpeg12.h"
Go to the source code of this file.
Data Structures | |
struct | MDECContext |
Typedefs | |
typedef struct MDECContext | 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_end (AVCodecContext *avctx) |
Variables | |
AVCodec | mdec_decoder |
Sony PlayStation MDEC (Motion DECoder) This is very similar to intra-only MPEG-1.
Definition in file mdec.c.
typedef struct MDECContext MDECContext |
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 int decode_mb | ( | MDECContext * | a, | |
DCTELEM | block[6][64] | |||
) | [inline, static] |
Definition at line 121 of file mdec.c.
Referenced by decode_frame().
static void idct_put | ( | MDECContext * | a, | |
int | mb_x, | |||
int | mb_y | |||
) | [inline, static] |
Definition at line 134 of file mdec.c.
Referenced by decode_frame().
static av_cold void mdec_common_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 212 of file mdec.c.
Referenced by decode_init().
static int mdec_decode_block_intra | ( | MDECContext * | a, | |
DCTELEM * | block, | |||
int | n | |||
) | [inline, static] |
Definition at line 54 of file mdec.c.
Referenced by decode_mb().
{ "mdec", AVMEDIA_TYPE_VIDEO, CODEC_ID_MDEC, sizeof(MDECContext), decode_init, NULL, decode_end, decode_frame, CODEC_CAP_DR1, .long_name= NULL_IF_CONFIG_SMALL("Sony PlayStation MDEC (Motion DECoder)"), }