#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "get_bits.h"
#include "dnxhddata.h"
#include "dsputil.h"
#include "thread.h"
Go to the source code of this file.
#define DNXHD_DC_VLC_BITS 7 |
Definition at line 59 of file dnxhddec.c.
Referenced by dnxhd_decode_dct_block(), and dnxhd_init_vlc().
#define DNXHD_VLC_BITS 9 |
Definition at line 58 of file dnxhddec.c.
Referenced by dnxhd_decode_dct_block(), and dnxhd_init_vlc().
static av_cold int dnxhd_decode_close | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 415 of file dnxhddec.c.
static av_always_inline void dnxhd_decode_dct_block | ( | DNXHDContext * | ctx, | |
DCTELEM * | block, | |||
int | n, | |||
int | qscale, | |||
int | index_bits, | |||
int | level_bias, | |||
int | level_shift | |||
) | [static] |
Definition at line 190 of file dnxhddec.c.
Referenced by dnxhd_decode_dct_block_10(), and dnxhd_decode_dct_block_8().
static void dnxhd_decode_dct_block_10 | ( | DNXHDContext * | ctx, | |
DCTELEM * | block, | |||
int | n, | |||
int | qscale | |||
) | [static] |
static void dnxhd_decode_dct_block_8 | ( | DNXHDContext * | ctx, | |
DCTELEM * | block, | |||
int | n, | |||
int | qscale | |||
) | [static] |
static int dnxhd_decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
Definition at line 365 of file dnxhddec.c.
static int dnxhd_decode_header | ( | DNXHDContext * | ctx, | |
const uint8_t * | buf, | |||
int | buf_size, | |||
int | first_field | |||
) | [static] |
static av_cold int dnxhd_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 64 of file dnxhddec.c.
static int dnxhd_decode_macroblock | ( | DNXHDContext * | ctx, | |
int | x, | |||
int | y | |||
) | [static] |
static int dnxhd_decode_macroblocks | ( | DNXHDContext * | ctx, | |
const uint8_t * | buf, | |||
int | buf_size | |||
) | [static] |
static int dnxhd_init_vlc | ( | DNXHDContext * | ctx, | |
int | cid | |||
) | [static] |
Definition at line 76 of file dnxhddec.c.
Referenced by dnxhd_decode_header(), and dnxhd_encode_init().
Initial value:
{ .name = "dnxhd", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_DNXHD, .priv_data_size = sizeof(DNXHDContext), .init = dnxhd_decode_init, .close = dnxhd_decode_close, .decode = dnxhd_decode_frame, .capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS, .long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"), }
Definition at line 427 of file dnxhddec.c.