FFmpeg  4.0
Data Fields
HapContext Struct Reference

#include <libavcodec/hap.h>

Data Fields

AVClassclass
 
TextureDSPContext dxtc
 
GetByteContext gbc
 
enum HapTextureFormat opt_tex_fmt
 
int opt_chunk_count
 
int opt_compressor
 
int chunk_count
 
HapChunkchunks
 
intchunk_results
 
int tex_rat
 
int tex_rat2
 
const uint8_ttex_data
 
uint8_ttex_buf
 
size_t tex_size
 
size_t max_snappy
 
int slice_count
 
int texture_count
 
int texture_section_size
 
int uncompress_pix_size
 
int(* tex_fun )(uint8_t *dst, ptrdiff_t stride, const uint8_t *block)
 
int(* tex_fun2 )(uint8_t *dst, ptrdiff_t stride, const uint8_t *block)
 

Detailed Description

Definition at line 61 of file hap.h.

Field Documentation

◆ class

AVClass* HapContext::class

Definition at line 62 of file hap.h.

◆ dxtc

TextureDSPContext HapContext::dxtc

Definition at line 64 of file hap.h.

Referenced by hap_init().

◆ gbc

GetByteContext HapContext::gbc

◆ opt_tex_fmt

enum HapTextureFormat HapContext::opt_tex_fmt

Definition at line 67 of file hap.h.

Referenced by hap_init(), and hap_write_frame_header().

◆ opt_chunk_count

int HapContext::opt_chunk_count

Definition at line 68 of file hap.h.

Referenced by hap_init().

◆ opt_compressor

int HapContext::opt_compressor

Definition at line 69 of file hap.h.

Referenced by hap_encode(), and hap_init().

◆ chunk_count

int HapContext::chunk_count

◆ chunks

HapChunk* HapContext::chunks

◆ chunk_results

int* HapContext::chunk_results

Definition at line 73 of file hap.h.

Referenced by ff_hap_free_context(), ff_hap_set_chunk_count(), and hap_decode().

◆ tex_rat

int HapContext::tex_rat

Definition at line 75 of file hap.h.

Referenced by decompress_texture_thread_internal(), hap_decode(), and hap_init().

◆ tex_rat2

int HapContext::tex_rat2

Definition at line 76 of file hap.h.

Referenced by decompress_texture_thread_internal(), hap_decode(), and hap_init().

◆ tex_data

const uint8_t* HapContext::tex_data

Definition at line 77 of file hap.h.

Referenced by decompress_texture_thread_internal(), and hap_decode().

◆ tex_buf

uint8_t* HapContext::tex_buf

◆ tex_size

size_t HapContext::tex_size

◆ max_snappy

size_t HapContext::max_snappy

Definition at line 81 of file hap.h.

Referenced by hap_compress_frame(), hap_encode(), and hap_init().

◆ slice_count

int HapContext::slice_count

Definition at line 83 of file hap.h.

Referenced by decompress_texture_thread_internal(), hap_decode(), and hap_init().

◆ texture_count

int HapContext::texture_count

Definition at line 85 of file hap.h.

Referenced by hap_decode(), and hap_init().

◆ texture_section_size

int HapContext::texture_section_size

Definition at line 86 of file hap.h.

Referenced by hap_decode(), and hap_parse_frame_header().

◆ uncompress_pix_size

int HapContext::uncompress_pix_size

Definition at line 87 of file hap.h.

Referenced by decompress_texture_thread_internal(), and hap_init().

◆ tex_fun

int(* HapContext::tex_fun) (uint8_t *dst, ptrdiff_t stride, const uint8_t *block)

Definition at line 90 of file hap.h.

Referenced by compress_texture(), decompress_texture_thread_internal(), and hap_init().

◆ tex_fun2

int(* HapContext::tex_fun2) (uint8_t *dst, ptrdiff_t stride, const uint8_t *block)

Definition at line 91 of file hap.h.

Referenced by decompress_texture_thread_internal(), and hap_init().


The documentation for this struct was generated from the following file: