Hap decoder.
More...
#include <stdint.h>
#include "libavutil/imgutils.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "hap.h"
#include "snappy.h"
#include "texturedsp.h"
#include "thread.h"
Go to the source code of this file.
◆ hap_parse_decode_instructions()
| static int hap_parse_decode_instructions |
( |
HapContext * | ctx, |
|
|
int | size ) |
|
static |
◆ hap_can_use_tex_in_place()
| static int hap_can_use_tex_in_place |
( |
HapContext * | ctx | ) |
|
|
static |
◆ hap_parse_frame_header()
◆ decompress_chunks_thread()
| static int decompress_chunks_thread |
( |
AVCodecContext * | avctx, |
|
|
void * | arg, |
|
|
int | chunk_nb, |
|
|
int | thread_nb ) |
|
static |
◆ hap_decode()
◆ hap_init()
◆ hap_close()
◆ ff_hap_decoder
Initial value:= {
.p.name = "hap",
.codec_tags = (const uint32_t []){
},
}
#define FF_CODEC_TAGS_END
FFCodec.codec_tags termination value.
#define FF_CODEC_DECODE_CB(func)
#define CODEC_LONG_NAME(str)
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#define AV_CODEC_CAP_SLICE_THREADS
Codec supports slice-based (or partition-based) multithreading.
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
static av_cold int hap_init(AVCodecContext *avctx)
static av_cold int hap_close(AVCodecContext *avctx)
static int hap_decode(AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt)
#define MKTAG(a, b, c, d)
Definition at line 418 of file hapdec.c.