libavcodec/dvdec.c File Reference

DV decoder. More...

#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "dsputil.h"
#include "get_bits.h"
#include "put_bits.h"
#include "simple_idct.h"
#include "dvdata.h"

Go to the source code of this file.

Data Structures

struct  BlockInfo

Functions

static void dv_decode_ac (GetBitContext *gb, BlockInfo *mb, DCTELEM *block)
static void bit_copy (PutBitContext *pb, GetBitContext *gb)
static int dv_decode_video_segment (AVCodecContext *avctx, void *arg)
static int dvvideo_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
static int dvvideo_close (AVCodecContext *c)

Variables

static const int dv_iweight_bits = 14
AVCodec ff_dvvideo_decoder


Detailed Description

DV decoder.

Definition in file dvdec.c.


Function Documentation

static void bit_copy ( PutBitContext pb,
GetBitContext gb 
) [inline, static]

Definition at line 117 of file dvdec.c.

Referenced by dv_decode_video_segment().

static void dv_decode_ac ( GetBitContext gb,
BlockInfo mb,
DCTELEM block 
) [static]

Definition at line 59 of file dvdec.c.

Referenced by dv_decode_video_segment().

static int dv_decode_video_segment ( AVCodecContext avctx,
void *  arg 
) [static]

Definition at line 130 of file dvdec.c.

Referenced by dvvideo_decode_frame().

static int dvvideo_close ( AVCodecContext c  )  [static]

Definition at line 366 of file dvdec.c.

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

Definition at line 312 of file dvdec.c.


Variable Documentation

const int dv_iweight_bits = 14 [static]

Definition at line 56 of file dvdec.c.

Referenced by dv_decode_ac().

Initial value:

 {
    .name           = "dvvideo",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_DVVIDEO,
    .priv_data_size = sizeof(DVVideoContext),
    .init           = ff_dvvideo_init,
    .close          = dvvideo_close,
    .decode         = dvvideo_decode_frame,
    .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_SLICE_THREADS,
    .max_lowres     = 3,
    .long_name      = NULL_IF_CONFIG_SMALL("DV (Digital Video)"),
}

Definition at line 376 of file dvdec.c.


Generated on Fri Oct 26 02:47:56 2012 for FFmpeg by  doxygen 1.5.8