#include <stdint.h>
#include "snappy-c.h"
#include "libavutil/frame.h"
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "encode.h"
#include "hap.h"
#include "texturedsp.h"
Go to the source code of this file.
|
static int | compress_texture (AVCodecContext *avctx, uint8_t *out, int out_length, const AVFrame *f) |
|
static void | hap_write_section_header (PutByteContext *pbc, enum HapHeaderLength header_length, int section_length, enum HapSectionType section_type) |
|
static int | hap_compress_frame (AVCodecContext *avctx, uint8_t *dst) |
|
static int | hap_decode_instructions_length (HapContext *ctx) |
|
static int | hap_header_length (HapContext *ctx) |
|
static void | hap_write_frame_header (HapContext *ctx, uint8_t *dst, int frame_length) |
|
static int | hap_encode (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) |
|
static av_cold int | hap_init (AVCodecContext *avctx) |
|
static av_cold int | hap_close (AVCodecContext *avctx) |
|
◆ HAP_MAX_CHUNKS
#define HAP_MAX_CHUNKS 64 |
◆ OFFSET
◆ FLAGS
◆ HapHeaderLength
Enumerator |
---|
HAP_HDR_SHORT | |
HAP_HDR_LONG | |
Definition at line 49 of file hapenc.c.
◆ compress_texture()
◆ hap_write_section_header()
◆ hap_compress_frame()
◆ hap_decode_instructions_length()
◆ hap_header_length()
◆ hap_write_frame_header()
static void hap_write_frame_header |
( |
HapContext * |
ctx, |
|
|
uint8_t * |
dst, |
|
|
int |
frame_length |
|
) |
| |
|
static |
◆ hap_encode()
◆ hap_init()
◆ hap_close()
◆ options
Initial value:
Definition at line 333 of file hapenc.c.
◆ hapenc_class
Initial value:= {
.class_name = "Hap encoder",
}
Definition at line 345 of file hapenc.c.
◆ ff_hap_encoder
Initial value:= {
.p.name = "hap",
},
}
Definition at line 352 of file hapenc.c.