libavcodec/mdec.c File Reference

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

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


Detailed Description

Sony PlayStation MDEC (Motion DECoder) This is very similar to intra-only MPEG-1.

Definition in file mdec.c.


Function Documentation

static av_cold int decode_end ( AVCodecContext avctx  )  [static]

Definition at line 239 of file mdec.c.

static int decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
AVPacket avpkt 
) [static]

Definition at line 153 of file mdec.c.

static av_cold int decode_init ( AVCodecContext avctx  )  [static]

Definition at line 224 of file mdec.c.

static int decode_mb ( MDECContext a,
DCTELEM  block[6][64] 
) [inline, static]

Definition at line 121 of file mdec.c.

static void idct_put ( MDECContext a,
int  mb_x,
int  mb_y 
) [inline, static]

Definition at line 134 of file mdec.c.

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().


Variable Documentation

Initial value:

 {
    "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)"),
}

Definition at line 251 of file mdec.c.


Generated on Fri Oct 26 02:36:52 2012 for FFmpeg by  doxygen 1.5.8