#include <inttypes.h>
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "decode.h"
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h"
#include "libavutil/mem.h"
Go to the source code of this file.
|
static av_cold int | dfa_decode_init (AVCodecContext *avctx) |
|
static int | decode_copy (GetByteContext *gb, uint8_t *frame, int width, int height) |
|
static int | decode_tsw1 (GetByteContext *gb, uint8_t *frame, int width, int height) |
|
static int | decode_dsw1 (GetByteContext *gb, uint8_t *frame, int width, int height) |
|
static int | decode_dds1 (GetByteContext *gb, uint8_t *frame, int width, int height) |
|
static int | decode_bdlt (GetByteContext *gb, uint8_t *frame, int width, int height) |
|
static int | decode_wdlt (GetByteContext *gb, uint8_t *frame, int width, int height) |
|
static int | decode_tdlt (GetByteContext *gb, uint8_t *frame, int width, int height) |
|
static int | decode_blck (GetByteContext *gb, uint8_t *frame, int width, int height) |
|
static int | dfa_decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt) |
|
static av_cold int | dfa_decode_end (AVCodecContext *avctx) |
|
◆ chunk_decoder
◆ dfa_decode_init()
Definition at line 39 of file dfa.c.
◆ decode_copy()
Definition at line 57 of file dfa.c.
◆ decode_tsw1()
Definition at line 66 of file dfa.c.
◆ decode_dsw1()
◆ decode_dds1()
◆ decode_bdlt()
◆ decode_wdlt()
◆ decode_tdlt()
◆ decode_blck()
◆ dfa_decode_frame()
◆ dfa_decode_end()
◆ decoder
Initial value:- Examples
- hw_decode.c, qsv_decode.c, qsv_transcode.c, and vaapi_transcode.c.
Definition at line 331 of file dfa.c.
Referenced by av_find_best_stream(), cbs_vp8_bool_decoder_fill_value(), cbs_vp8_bool_decoder_init(), cbs_vp8_bool_decoder_read_bool(), cbs_vp8_bool_decoder_read_literal(), commit_bitstream_and_slice_buffer(), decode_frame(), dfa_decode_frame(), ff_dxva2_commit_buffer(), ff_dxva2_common_end_frame(), ff_nvdec_decode_init(), ff_nvdec_end_frame(), ffmal_update_format(), ffmmal_flush(), ffmmal_init_decoder(), ffmmal_read_frame(), ffmmal_stop_decoder(), libaribb24_init(), main(), nvdec_decoder_create(), nvdec_decoder_free(), nvdec_retrieve_data(), nvdec_test_capabilities(), nvdec_unmap_mapped_frame(), open_input_file(), rkmpp_flush(), rkmpp_init_decoder(), rkmpp_receive_frame(), rkmpp_release_decoder(), rkmpp_retrieve_frame(), rkmpp_send_packet(), rkmpp_write_data(), and vpx_init().
◆ chunk_name
const char chunk_name[8][5] |
|
static |
Initial value:= {
"COPY", "TSW1", "BDLT", "WDLT", "TDLT", "DSW1", "BLCK", "DDS1"
}
Definition at line 336 of file dfa.c.
Referenced by dfa_decode_frame().
◆ ff_dfa_decoder
Initial value:
Definition at line 428 of file dfa.c.
static av_cold int dfa_decode_init(AVCodecContext *avctx)
static int decode_wdlt(GetByteContext *gb, uint8_t *frame, int width, int height)
static int decode_dsw1(GetByteContext *gb, uint8_t *frame, int width, int height)
#define FF_CODEC_DECODE_CB(func)
static int decode_tsw1(GetByteContext *gb, uint8_t *frame, int width, int height)
static int decode_tdlt(GetByteContext *gb, uint8_t *frame, int width, int height)
#define CODEC_LONG_NAME(str)
static int decode_bdlt(GetByteContext *gb, uint8_t *frame, int width, int height)
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
static int dfa_decode_frame(AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt)
static av_cold int dfa_decode_end(AVCodecContext *avctx)
static int decode_blck(GetByteContext *gb, uint8_t *frame, int width, int height)
static int decode_dds1(GetByteContext *gb, uint8_t *frame, int width, int height)
static int decode_copy(GetByteContext *gb, uint8_t *frame, int width, int height)