#include <inttypes.h>
#include "avcodec.h"
#include "bytestream.h"
#include "internal.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, void *data, int *got_frame, AVPacket *avpkt) |
|
static av_cold int | dfa_decode_end (AVCodecContext *avctx) |
|
◆ chunk_decoder
◆ dfa_decode_init()
Definition at line 38 of file dfa.c.
◆ decode_copy()
Definition at line 56 of file dfa.c.
◆ decode_tsw1()
Definition at line 65 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, qsvdec.c, and vaapi_transcode.c.
Definition at line 330 of file dfa.c.
Referenced by av_find_best_stream(), commit_bitstream_and_slice_buffer(), decode_frame(), decode_read(), 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 335 of file dfa.c.
Referenced by dfa_decode_frame().
◆ ff_dfa_decoder
Initial value:
Definition at line 417 of file dfa.c.
static av_cold int init(AVCodecContext *avctx)
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)
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
static int decode_tsw1(GetByteContext *gb, uint8_t *frame, int width, int height)
static int dfa_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
static int decode_tdlt(GetByteContext *gb, uint8_t *frame, int width, int height)
static int decode_bdlt(GetByteContext *gb, uint8_t *frame, int width, int height)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_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 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)