FFmpeg
Data Fields
IEC61937Context Struct Reference

Data Fields

const AVClassav_class
 
enum IEC61937DataType data_type
 burst info - reference to type of payload of the data-burst More...
 
int length_code
 length code in bits or bytes, depending on data type More...
 
int pkt_offset
 data burst repetition period in bytes More...
 
uint8_t * buffer
 allocated buffer, used for swap bytes More...
 
int buffer_size
 size of allocated buffer More...
 
const uint8_t * out_buf
 pointer to the outgoing data before byte-swapping More...
 
int out_bytes
 amount of outgoing bytes More...
 
int use_preamble
 preamble enabled (disabled for exactly pre-padded DTS) More...
 
int extra_bswap
 extra bswap for payload (for LE DTS => standard BE DTS) More...
 
uint8_t * hd_buf [2]
 allocated buffers to concatenate hd audio frames More...
 
int hd_buf_size
 size of the hd audio buffer (eac3, dts4) More...
 
int hd_buf_count
 number of frames in the hd audio buffer (eac3) More...
 
int hd_buf_filled
 amount of bytes in the hd audio buffer (eac3, truehd) More...
 
int hd_buf_idx
 active hd buffer index (truehd) More...
 
int dtshd_skip
 counter used for skipping DTS-HD frames More...
 
uint16_t truehd_prev_time
 input_timing from the last frame More...
 
int truehd_prev_size
 previous frame size in bytes, including any MAT codes More...
 
int truehd_samples_per_frame
 samples per frame for padding calculation More...
 
int dtshd_rate
 
int dtshd_fallback
 
int spdif_flags
 
int(* header_info )(AVFormatContext *s, AVPacket *pkt)
 function, which generates codec dependent header information. More...
 

Detailed Description

Definition at line 60 of file spdifenc.c.

Field Documentation

◆ av_class

const AVClass* IEC61937Context::av_class

Definition at line 61 of file spdifenc.c.

◆ data_type

enum IEC61937DataType IEC61937Context::data_type

burst info - reference to type of payload of the data-burst

Definition at line 62 of file spdifenc.c.

◆ length_code

int IEC61937Context::length_code

length code in bits or bytes, depending on data type

Definition at line 63 of file spdifenc.c.

◆ pkt_offset

int IEC61937Context::pkt_offset

data burst repetition period in bytes

Definition at line 64 of file spdifenc.c.

◆ buffer

uint8_t* IEC61937Context::buffer

allocated buffer, used for swap bytes

Definition at line 65 of file spdifenc.c.

◆ buffer_size

int IEC61937Context::buffer_size

size of allocated buffer

Definition at line 66 of file spdifenc.c.

◆ out_buf

const uint8_t* IEC61937Context::out_buf

pointer to the outgoing data before byte-swapping

Definition at line 68 of file spdifenc.c.

◆ out_bytes

int IEC61937Context::out_bytes

amount of outgoing bytes

Definition at line 69 of file spdifenc.c.

◆ use_preamble

int IEC61937Context::use_preamble

preamble enabled (disabled for exactly pre-padded DTS)

Definition at line 71 of file spdifenc.c.

◆ extra_bswap

int IEC61937Context::extra_bswap

extra bswap for payload (for LE DTS => standard BE DTS)

Definition at line 72 of file spdifenc.c.

◆ hd_buf

uint8_t* IEC61937Context::hd_buf[2]

allocated buffers to concatenate hd audio frames

Definition at line 74 of file spdifenc.c.

◆ hd_buf_size

int IEC61937Context::hd_buf_size

size of the hd audio buffer (eac3, dts4)

Definition at line 75 of file spdifenc.c.

◆ hd_buf_count

int IEC61937Context::hd_buf_count

number of frames in the hd audio buffer (eac3)

Definition at line 76 of file spdifenc.c.

◆ hd_buf_filled

int IEC61937Context::hd_buf_filled

amount of bytes in the hd audio buffer (eac3, truehd)

Definition at line 77 of file spdifenc.c.

◆ hd_buf_idx

int IEC61937Context::hd_buf_idx

active hd buffer index (truehd)

Definition at line 78 of file spdifenc.c.

◆ dtshd_skip

int IEC61937Context::dtshd_skip

counter used for skipping DTS-HD frames

Definition at line 80 of file spdifenc.c.

◆ truehd_prev_time

uint16_t IEC61937Context::truehd_prev_time

input_timing from the last frame

Definition at line 82 of file spdifenc.c.

◆ truehd_prev_size

int IEC61937Context::truehd_prev_size

previous frame size in bytes, including any MAT codes

Definition at line 83 of file spdifenc.c.

◆ truehd_samples_per_frame

int IEC61937Context::truehd_samples_per_frame

samples per frame for padding calculation

Definition at line 84 of file spdifenc.c.

◆ dtshd_rate

int IEC61937Context::dtshd_rate

Definition at line 87 of file spdifenc.c.

◆ dtshd_fallback

int IEC61937Context::dtshd_fallback

Definition at line 88 of file spdifenc.c.

◆ spdif_flags

int IEC61937Context::spdif_flags

Definition at line 90 of file spdifenc.c.

◆ header_info

int(* IEC61937Context::header_info) (AVFormatContext *s, AVPacket *pkt)

function, which generates codec dependent header information.

Sets data_type and pkt_offset, and length_code, out_bytes, out_buf if necessary

Definition at line 94 of file spdifenc.c.


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