FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
hap.h File Reference
#include <stdint.h>
#include "libavutil/opt.h"
#include "bytestream.h"
#include "texturedsp.h"

Go to the source code of this file.

Data Structures

struct  HapChunk
 
struct  HapContext
 

Enumerations

enum  HapTextureFormat { HAP_FMT_RGBDXT1 = 0x0B, HAP_FMT_RGBADXT5 = 0x0E, HAP_FMT_YCOCGDXT5 = 0x0F, HAP_FMT_RGTC1 = 0x01 }
 
enum  HapCompressor { HAP_COMP_NONE = 0xA0, HAP_COMP_SNAPPY = 0xB0, HAP_COMP_COMPLEX = 0xC0 }
 
enum  HapSectionType { HAP_ST_DECODE_INSTRUCTIONS = 0x01, HAP_ST_COMPRESSOR_TABLE = 0x02, HAP_ST_SIZE_TABLE = 0x03, HAP_ST_OFFSET_TABLE = 0x04 }
 

Functions

int ff_hap_set_chunk_count (HapContext *ctx, int count, int first_in_frame)
 
av_cold void ff_hap_free_context (HapContext *ctx)
 

Enumeration Type Documentation

Enumerator
HAP_FMT_RGBDXT1 
HAP_FMT_RGBADXT5 
HAP_FMT_YCOCGDXT5 
HAP_FMT_RGTC1 

Definition at line 33 of file hap.h.

Enumerator
HAP_COMP_NONE 
HAP_COMP_SNAPPY 
HAP_COMP_COMPLEX 

Definition at line 40 of file hap.h.

Enumerator
HAP_ST_DECODE_INSTRUCTIONS 
HAP_ST_COMPRESSOR_TABLE 
HAP_ST_SIZE_TABLE 
HAP_ST_OFFSET_TABLE 

Definition at line 46 of file hap.h.

Function Documentation

int ff_hap_set_chunk_count ( HapContext ctx,
int  count,
int  first_in_frame 
)

Definition at line 28 of file hap.c.

Referenced by hap_init(), hap_parse_decode_instructions(), and hap_parse_frame_header().

av_cold void ff_hap_free_context ( HapContext ctx)

Definition at line 50 of file hap.c.

Referenced by hap_close().