All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
dvdec.c File Reference

DV decoder. More...

#include "libavutil/avassert.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "dsputil.h"
#include "internal.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


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 *got_frame, AVPacket *avpkt)
static int dvvideo_close (AVCodecContext *c)


static const int dv_iweight_bits = 14
AVCodec ff_dvvideo_decoder

Detailed Description

DV decoder.

Definition in file dvdec.c.

Function Documentation

static void dv_decode_ac ( GetBitContext gb,
BlockInfo mb,
DCTELEM block 

Definition at line 61 of file dvdec.c.

Referenced by dv_decode_video_segment().

static void bit_copy ( PutBitContext pb,
GetBitContext gb 

Definition at line 119 of file dvdec.c.

Referenced by dv_decode_video_segment().

static int dv_decode_video_segment ( AVCodecContext avctx,
void arg 

Definition at line 132 of file dvdec.c.

Referenced by dvvideo_decode_frame().

static int dvvideo_decode_frame ( AVCodecContext avctx,
void data,
int *  got_frame,
AVPacket avpkt 

Definition at line 314 of file dvdec.c.

static int dvvideo_close ( AVCodecContext c)

Definition at line 369 of file dvdec.c.

Variable Documentation

const int dv_iweight_bits = 14

Definition at line 58 of file dvdec.c.

Referenced by dv_decode_ac().

AVCodec ff_dvvideo_decoder
Initial value:
= {
.name = "dvvideo",
.priv_data_size = sizeof(DVVideoContext),
.max_lowres = 3,
.long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"),

Definition at line 379 of file dvdec.c.