libavcodec/dvdec.c File Reference

DV decoder. More...

#include "libavutil/avassert.h"
#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 118 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 60 of file dvdec.c.

Referenced by dv_decode_video_segment().

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

Definition at line 131 of file dvdec.c.

Referenced by dvvideo_decode_frame().

static int dvvideo_close ( AVCodecContext c  )  [static]

Definition at line 367 of file dvdec.c.

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

Definition at line 313 of file dvdec.c.


Variable Documentation

const int dv_iweight_bits = 14 [static]

Definition at line 57 of file dvdec.c.

Referenced by dv_decode_ac().

Initial value:

 {
    .name           = "dvvideo",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = AV_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 377 of file dvdec.c.


Generated on Fri Oct 26 02:50:05 2012 for FFmpeg by  doxygen 1.5.8