#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 int | dnxhd_decode_dct_block_8 (const DNXHDContext *ctx, RowContext *row, int n) |
|
static int | dnxhd_decode_dct_block_10 (const DNXHDContext *ctx, RowContext *row, int n) |
|
static int | dnxhd_decode_dct_block_10_444 (const DNXHDContext *ctx, RowContext *row, int n) |
|
static int | dnxhd_decode_dct_block_12 (const DNXHDContext *ctx, RowContext *row, int n) |
|
static int | dnxhd_decode_dct_block_12_444 (const DNXHDContext *ctx, RowContext *row, int n) |
|
static av_cold int | dnxhd_decode_init (AVCodecContext *avctx) |
|
static int | dnxhd_init_vlc (DNXHDContext *ctx, uint32_t cid, int bitdepth) |
|
static av_cold int | dnxhd_decode_init_thread_copy (AVCodecContext *avctx) |
|
static int | dnxhd_decode_header (DNXHDContext *ctx, AVFrame *frame, const uint8_t *buf, int buf_size, int first_field) |
|
static av_always_inline int | dnxhd_decode_dct_block (const DNXHDContext *ctx, RowContext *row, int n, int index_bits, int level_bias, int level_shift, int dc_shift) |
|
static int | dnxhd_decode_macroblock (const DNXHDContext *ctx, RowContext *row, AVFrame *frame, int x, int y) |
|
static int | dnxhd_decode_row (AVCodecContext *avctx, void *data, int rownb, int threadnb) |
|
static int | dnxhd_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
|
static av_cold int | dnxhd_decode_close (AVCodecContext *avctx) |
|
#define UNCHECKED_BITSTREAM_READER 1 |
#define DNXHD_DC_VLC_BITS 7 |
static int dnxhd_init_vlc |
( |
DNXHDContext * |
ctx, |
|
|
uint32_t |
cid, |
|
|
int |
bitdepth |
|
) |
| |
|
static |
static int dnxhd_decode_row |
( |
AVCodecContext * |
avctx, |
|
|
void * |
data, |
|
|
int |
rownb, |
|
|
int |
threadnb |
|
) |
| |
|
static |
Initial value:= {
.name = "dnxhd",
}
static int init_thread_copy(AVCodecContext *avctx)
static av_cold int init(AVCodecContext *avctx)
static av_cold int dnxhd_decode_init_thread_copy(AVCodecContext *avctx)
static av_cold int dnxhd_decode_close(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
#define ONLY_IF_THREADS_ENABLED(x)
Define a function with only the non-default version specified.
#define AV_CODEC_CAP_SLICE_THREADS
Codec supports slice-based (or partition-based) multithreading.
static int decode(AVCodecContext *avctx, void *data, int *got_sub, AVPacket *avpkt)
static int dnxhd_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
static av_cold int dnxhd_decode_init(AVCodecContext *avctx)
Definition at line 683 of file dnxhddec.c.