FFmpeg
|
dvdec.c File Reference
DV decoder. More...
#include "libavutil/avassert.h"
#include "libavutil/internal.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "internal.h"
#include "get_bits.h"
#include "put_bits.h"
#include "simple_idct.h"
#include "dvdata.h"
Include dependency graph for dvdec.c:
Go to the source code of this file.
Data Structures | |
struct | BlockInfo |
Typedefs | |
typedef struct BlockInfo | BlockInfo |
Functions | |
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) |
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.
Typedef Documentation
Function Documentation
|
inlinestatic |
Definition at line 119 of file dvdec.c.
Referenced by dv_decode_video_segment().
|
static |
Definition at line 61 of file dvdec.c.
Referenced by dv_decode_video_segment().
|
static |
Definition at line 132 of file dvdec.c.
Referenced by dvvideo_decode_frame().
|
static |
|
static |
Variable Documentation
|
static |
Definition at line 58 of file dvdec.c.
Referenced by dv_decode_ac().
AVCodec ff_dvvideo_decoder |
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,
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_SLICE_THREADS,
.max_lowres = 3,
.long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"),
}
struct DVVideoContext DVVideoContext
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: libavcodec/avcodec.h:743
Definition: libavcodec/avcodec.h:127
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
static int dvvideo_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: dvdec.c:314
#define CODEC_CAP_SLICE_THREADS
Codec supports slice-based (or partition-based) multithreading.
Definition: libavcodec/avcodec.h:814
Definition: avutil.h:143
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
Generated on Mon Nov 18 2024 06:52:05 for FFmpeg by 1.8.11