FFmpeg  4.0
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_tbuffer
 allocated buffer, used for swap bytes More...
 
int buffer_size
 size of allocated buffer More...
 
uint8_tout_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_thd_buf
 allocated buffer to concatenate hd audio frames More...
 
int hd_buf_size
 size of the hd audio buffer More...
 
int hd_buf_count
 number of frames in the hd audio buffer More...
 
int hd_buf_filled
 amount of bytes in the hd audio buffer More...
 
int dtshd_skip
 counter used for skipping DTS-HD frames 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 58 of file spdifenc.c.

Field Documentation

◆ av_class

const AVClass* IEC61937Context::av_class

Definition at line 59 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 60 of file spdifenc.c.

Referenced by spdif_header_aac(), spdif_header_ac3(), spdif_header_dts(), spdif_header_dts4(), spdif_header_eac3(), spdif_header_mpeg(), spdif_header_truehd(), and spdif_write_packet().

◆ length_code

int IEC61937Context::length_code

length code in bits or bytes, depending on data type

Definition at line 61 of file spdifenc.c.

Referenced by spdif_header_dts(), spdif_header_dts4(), spdif_header_eac3(), spdif_header_truehd(), and spdif_write_packet().

◆ pkt_offset

int IEC61937Context::pkt_offset

◆ buffer

uint8_t* IEC61937Context::buffer

allocated buffer, used for swap bytes

Definition at line 63 of file spdifenc.c.

Referenced by spdif_write_packet(), and spdif_write_trailer().

◆ buffer_size

int IEC61937Context::buffer_size

size of allocated buffer

Definition at line 64 of file spdifenc.c.

Referenced by spdif_write_packet().

◆ out_buf

uint8_t* IEC61937Context::out_buf

pointer to the outgoing data before byte-swapping

Definition at line 66 of file spdifenc.c.

Referenced by spdif_header_dts4(), spdif_header_eac3(), spdif_header_truehd(), and spdif_write_packet().

◆ out_bytes

int IEC61937Context::out_bytes

amount of outgoing bytes

Definition at line 67 of file spdifenc.c.

Referenced by spdif_header_dts(), spdif_header_dts4(), spdif_header_eac3(), spdif_header_truehd(), and spdif_write_packet().

◆ use_preamble

int IEC61937Context::use_preamble

preamble enabled (disabled for exactly pre-padded DTS)

Definition at line 69 of file spdifenc.c.

Referenced by spdif_header_dts(), and spdif_write_packet().

◆ extra_bswap

int IEC61937Context::extra_bswap

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

Definition at line 70 of file spdifenc.c.

Referenced by spdif_header_dts(), and spdif_write_packet().

◆ hd_buf

uint8_t* IEC61937Context::hd_buf

allocated buffer to concatenate hd audio frames

Definition at line 72 of file spdifenc.c.

Referenced by spdif_header_dts4(), spdif_header_eac3(), spdif_header_truehd(), spdif_write_header(), and spdif_write_trailer().

◆ hd_buf_size

int IEC61937Context::hd_buf_size

size of the hd audio buffer

Definition at line 73 of file spdifenc.c.

Referenced by spdif_header_dts4(), and spdif_header_eac3().

◆ hd_buf_count

int IEC61937Context::hd_buf_count

number of frames in the hd audio buffer

Definition at line 74 of file spdifenc.c.

Referenced by spdif_header_eac3(), and spdif_header_truehd().

◆ hd_buf_filled

int IEC61937Context::hd_buf_filled

amount of bytes in the hd audio buffer

Definition at line 75 of file spdifenc.c.

Referenced by spdif_header_eac3().

◆ dtshd_skip

int IEC61937Context::dtshd_skip

counter used for skipping DTS-HD frames

Definition at line 77 of file spdifenc.c.

Referenced by spdif_header_dts4().

◆ dtshd_rate

int IEC61937Context::dtshd_rate

Definition at line 80 of file spdifenc.c.

Referenced by spdif_header_dts(), and spdif_header_dts4().

◆ dtshd_fallback

int IEC61937Context::dtshd_fallback

Definition at line 81 of file spdifenc.c.

Referenced by spdif_header_dts4().

◆ spdif_flags

int IEC61937Context::spdif_flags

Definition at line 83 of file spdifenc.c.

Referenced by spdif_put_16(), and spdif_write_packet().

◆ 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 87 of file spdifenc.c.

Referenced by spdif_write_header(), and spdif_write_packet().


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