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"
#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


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 257 of file mdec.c.

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

Definition at line 155 of file mdec.c.

static av_cold int decode_init ( AVCodecContext avctx  )  [static]

Definition at line 227 of file mdec.c.

static av_cold int decode_init_thread_copy ( AVCodecContext avctx  )  [static]

Definition at line 244 of file mdec.c.

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

Definition at line 122 of file mdec.c.

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

Definition at line 136 of file mdec.c.

static av_cold void mdec_common_init ( AVCodecContext avctx  )  [static]

Definition at line 214 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 55 of file mdec.c.

Referenced by decode_mb().


Variable Documentation

Initial value:

Definition at line 269 of file mdec.c.


Generated on Fri Oct 26 02:39:45 2012 for FFmpeg by  doxygen 1.5.8