FFmpeg
|
#include "libavutil/intreadwrite.h"
#include "libavutil/mem_internal.h"
#include "libavutil/mem.h"
#include "config_components.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "decode.h"
#include "get_bits.h"
#include "idctdsp.h"
#include "proresdata.h"
#include "thread.h"
#include "hwconfig.h"
#include "hwaccel_internal.h"
#include "prores_raw.h"
Go to the source code of this file.
Macros | |
#define | CACHED_BITSTREAM_READER !ARCH_X86_32 |
#define | TODCCODEBOOK(x) ((x + 1) >> 1) |
#define | DC_CB_MAX 12 |
#define | AC_CB_MAX 94 |
#define | RN_CB_MAX 27 |
#define | LN_CB_MAX 14 |
Functions | |
static av_cold int | decode_init (AVCodecContext *avctx) |
static int16_t | get_value (GetBitContext *gb, int16_t codebook) |
static int | decode_comp (AVCodecContext *avctx, TileContext *tile, AVFrame *frame, const uint8_t *data, int size, int component, int16_t *qmat) |
static int | decode_tile (AVCodecContext *avctx, TileContext *tile, AVFrame *frame) |
static int | decode_tiles (AVCodecContext *avctx, void *arg, int n, int thread_nb) |
static enum AVPixelFormat | get_pixel_format (AVCodecContext *avctx, enum AVPixelFormat pix_fmt) |
static int | decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, AVPacket *avpkt) |
static av_cold int | decode_end (AVCodecContext *avctx) |
Variables | |
static const uint8_t | align_tile_w [16] |
const uint8_t | ff_prores_raw_dc_cb [DC_CB_MAX+1] |
const int16_t | ff_prores_raw_ac_cb [AC_CB_MAX+1] |
const int16_t | ff_prores_raw_rn_cb [RN_CB_MAX+1] |
const int16_t | ff_prores_raw_ln_cb [LN_CB_MAX+1] |
const FFCodec | ff_prores_raw_decoder |
#define CACHED_BITSTREAM_READER !ARCH_X86_32 |
Definition at line 27 of file prores_raw.c.
#define TODCCODEBOOK | ( | x | ) | ((x + 1) >> 1) |
Definition at line 96 of file prores_raw.c.
#define DC_CB_MAX 12 |
Definition at line 102 of file prores_raw.c.
#define AC_CB_MAX 94 |
Definition at line 107 of file prores_raw.c.
#define RN_CB_MAX 27 |
Definition at line 119 of file prores_raw.c.
#define LN_CB_MAX 14 |
Definition at line 125 of file prores_raw.c.
|
static |
Definition at line 43 of file prores_raw.c.
|
static |
Definition at line 66 of file prores_raw.c.
Referenced by decode_comp().
|
static |
Definition at line 130 of file prores_raw.c.
Referenced by decode_tile().
|
static |
Definition at line 249 of file prores_raw.c.
Referenced by decode_tiles().
|
static |
Definition at line 304 of file prores_raw.c.
Referenced by decode_frame().
|
static |
Definition at line 314 of file prores_raw.c.
Referenced by decode_frame().
|
static |
Definition at line 328 of file prores_raw.c.
|
static |
Definition at line 496 of file prores_raw.c.
|
static |
Definition at line 98 of file prores_raw.c.
Referenced by decode_frame().
const uint8_t ff_prores_raw_dc_cb[DC_CB_MAX+1] |
Definition at line 103 of file prores_raw.c.
Referenced by decode_comp(), and vk_decode_prores_raw_init().
const int16_t ff_prores_raw_ac_cb[AC_CB_MAX+1] |
Definition at line 108 of file prores_raw.c.
Referenced by decode_comp(), and vk_decode_prores_raw_init().
const int16_t ff_prores_raw_rn_cb[RN_CB_MAX+1] |
Definition at line 120 of file prores_raw.c.
Referenced by decode_comp(), and vk_decode_prores_raw_init().
const int16_t ff_prores_raw_ln_cb[LN_CB_MAX+1] |
Definition at line 126 of file prores_raw.c.
Referenced by decode_comp(), and vk_decode_prores_raw_init().
const FFCodec ff_prores_raw_decoder |
Definition at line 516 of file prores_raw.c.