FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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
 
int length_code
 length code in bits or bytes, depending on data type
 
int pkt_offset
 data burst repetition period in bytes
 
uint8_tbuffer
 allocated buffer, used for swap bytes
 
int buffer_size
 size of allocated buffer
 
uint8_tout_buf
 pointer to the outgoing data before byte-swapping
 
int out_bytes
 amount of outgoing bytes
 
int use_preamble
 preamble enabled (disabled for exactly pre-padded DTS)
 
int extra_bswap
 extra bswap for payload (for LE DTS => standard BE DTS)
 
uint8_thd_buf
 allocated buffer to concatenate hd audio frames
 
int hd_buf_size
 size of the hd audio buffer
 
int hd_buf_count
 number of frames in the hd audio buffer
 
int hd_buf_filled
 amount of bytes in the hd audio buffer
 
int dtshd_skip
 counter used for skipping DTS-HD frames
 
int dtshd_rate
 
int dtshd_fallback
 
int spdif_flags
 
int(* header_info )(AVFormatContext *s, AVPacket *pkt)
 function, which generates codec dependent header information.
 

Detailed Description

Definition at line 57 of file spdifenc.c.

Field Documentation

const AVClass* IEC61937Context::av_class

Definition at line 58 of file spdifenc.c.

enum IEC61937DataType IEC61937Context::data_type

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

Definition at line 59 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().

int IEC61937Context::length_code

length code in bits or bytes, depending on data type

Definition at line 60 of file spdifenc.c.

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

int IEC61937Context::pkt_offset
uint8_t* IEC61937Context::buffer

allocated buffer, used for swap bytes

Definition at line 62 of file spdifenc.c.

Referenced by spdif_write_packet(), and spdif_write_trailer().

int IEC61937Context::buffer_size

size of allocated buffer

Definition at line 63 of file spdifenc.c.

Referenced by spdif_write_packet().

uint8_t* IEC61937Context::out_buf

pointer to the outgoing data before byte-swapping

Definition at line 65 of file spdifenc.c.

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

int IEC61937Context::out_bytes

amount of outgoing bytes

Definition at line 66 of file spdifenc.c.

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

int IEC61937Context::use_preamble

preamble enabled (disabled for exactly pre-padded DTS)

Definition at line 68 of file spdifenc.c.

Referenced by spdif_header_dts(), and spdif_write_packet().

int IEC61937Context::extra_bswap

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

Definition at line 69 of file spdifenc.c.

Referenced by spdif_header_dts(), and spdif_write_packet().

uint8_t* IEC61937Context::hd_buf

allocated buffer to concatenate hd audio frames

Definition at line 71 of file spdifenc.c.

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

int IEC61937Context::hd_buf_size

size of the hd audio buffer

Definition at line 72 of file spdifenc.c.

Referenced by spdif_header_dts4(), and spdif_header_eac3().

int IEC61937Context::hd_buf_count

number of frames in the hd audio buffer

Definition at line 73 of file spdifenc.c.

Referenced by spdif_header_eac3(), and spdif_header_truehd().

int IEC61937Context::hd_buf_filled

amount of bytes in the hd audio buffer

Definition at line 74 of file spdifenc.c.

Referenced by spdif_header_eac3().

int IEC61937Context::dtshd_skip

counter used for skipping DTS-HD frames

Definition at line 76 of file spdifenc.c.

Referenced by spdif_header_dts4().

int IEC61937Context::dtshd_rate

Definition at line 79 of file spdifenc.c.

Referenced by spdif_header_dts(), and spdif_header_dts4().

int IEC61937Context::dtshd_fallback

Definition at line 80 of file spdifenc.c.

Referenced by spdif_header_dts4().

int IEC61937Context::spdif_flags

Definition at line 82 of file spdifenc.c.

Referenced by spdif_put_16(), and spdif_write_packet().

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

Referenced by spdif_write_header(), and spdif_write_packet().


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