FFmpeg
 All Data Structures Namespaces 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/imgutils.h"
#include "libavutil/internal.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "dv.h"
#include "dv_profile_internal.h"
#include "dvdata.h"
#include "get_bits.h"
#include "idctdsp.h"
#include "internal.h"
#include "put_bits.h"
#include "simple_idct.h"

Go to the source code of this file.

Data Structures

struct  BlockInfo
 

Functions

static av_cold int dvvideo_decode_init (AVCodecContext *avctx)
 
static void dv_decode_ac (GetBitContext *gb, BlockInfo *mb, int16_t *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)
 

Variables

static const int dv_iweight_bits = 14
 
AVCodec ff_dvvideo_decoder
 

Detailed Description

DV decoder.

Definition in file dvdec.c.

Function Documentation

static av_cold int dvvideo_decode_init ( AVCodecContext avctx)
static

Definition at line 65 of file dvdec.c.

static void dv_decode_ac ( GetBitContext gb,
BlockInfo mb,
int16_t *  block 
)
static

Definition at line 92 of file dvdec.c.

Referenced by dv_decode_video_segment().

static void bit_copy ( PutBitContext pb,
GetBitContext gb 
)
inlinestatic

Definition at line 152 of file dvdec.c.

Referenced by dv_decode_video_segment().

static int dv_decode_video_segment ( AVCodecContext avctx,
void arg 
)
static

Definition at line 164 of file dvdec.c.

Referenced by dvvideo_decode_frame().

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

Definition at line 356 of file dvdec.c.

Variable Documentation

const int dv_iweight_bits = 14
static

Definition at line 63 of file dvdec.c.

Referenced by dv_decode_ac().

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

Definition at line 422 of file dvdec.c.