#include "libavutil/imgutils.h"
#include "libavutil/timer.h"
#include "avcodec.h"
#include "blockdsp.h"
#include "get_bits.h"
#include "dnxhddata.h"
#include "idctdsp.h"
#include "internal.h"
#include "thread.h"
Go to the source code of this file.
|
static void | dnxhd_decode_dct_block_8 (DNXHDContext *ctx, int16_t *block, int n, int qscale) |
|
static void | dnxhd_decode_dct_block_10 (DNXHDContext *ctx, int16_t *block, int n, int qscale) |
|
static void | dnxhd_decode_dct_block_10_444 (DNXHDContext *ctx, int16_t *block, int n, int qscale) |
|
static av_cold int | dnxhd_decode_init (AVCodecContext *avctx) |
|
static int | dnxhd_init_vlc (DNXHDContext *ctx, uint32_t cid) |
|
static int | dnxhd_decode_header (DNXHDContext *ctx, AVFrame *frame, const uint8_t *buf, int buf_size, int first_field) |
|
static av_always_inline void | dnxhd_decode_dct_block (DNXHDContext *ctx, int16_t *block, int n, int qscale, int index_bits, int level_bias, int level_shift) |
|
static int | dnxhd_decode_macroblock (DNXHDContext *ctx, AVFrame *frame, int x, int y) |
|
static int | dnxhd_decode_macroblocks (DNXHDContext *ctx, AVFrame *frame, const uint8_t *buf, int buf_size) |
|
static int | dnxhd_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
|
static av_cold int | dnxhd_decode_close (AVCodecContext *avctx) |
|
#define DNXHD_DC_VLC_BITS 7 |
static void dnxhd_decode_dct_block_8 |
( |
DNXHDContext * |
ctx, |
|
|
int16_t * |
block, |
|
|
int |
n, |
|
|
int |
qscale |
|
) |
| |
|
static |
static void dnxhd_decode_dct_block_10 |
( |
DNXHDContext * |
ctx, |
|
|
int16_t * |
block, |
|
|
int |
n, |
|
|
int |
qscale |
|
) |
| |
|
static |
static void dnxhd_decode_dct_block_10_444 |
( |
DNXHDContext * |
ctx, |
|
|
int16_t * |
block, |
|
|
int |
n, |
|
|
int |
qscale |
|
) |
| |
|
static |
static int dnxhd_init_vlc |
( |
DNXHDContext * |
ctx, |
|
|
uint32_t |
cid |
|
) |
| |
|
static |
Initial value:= {
.name = "dnxhd",
}
static av_cold int init(AVCodecContext *avctx)
static av_cold int dnxhd_decode_close(AVCodecContext *avctx)
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int decode(AVCodecContext *avctx, void *data, int *got_sub, AVPacket *avpkt)
#define CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
static int dnxhd_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
static av_cold int dnxhd_decode_init(AVCodecContext *avctx)
Definition at line 509 of file dnxhddec.c.