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_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 [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 58 of file spdifenc.c.

Field Documentation

const AVClass* IEC61937Context::av_class

Definition at line 59 of file spdifenc.c.

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().

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().

int IEC61937Context::pkt_offset
uint8_t* IEC61937Context::buffer

allocated buffer, used for swap bytes

Definition at line 63 of file spdifenc.c.

Referenced by spdif_deinit(), and spdif_write_packet().

int IEC61937Context::buffer_size

size of allocated buffer

Definition at line 64 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 66 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 67 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 69 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 70 of file spdifenc.c.

Referenced by spdif_header_dts(), and spdif_write_packet().

uint8_t* IEC61937Context::hd_buf[2]

allocated buffers to concatenate hd audio frames

Definition at line 72 of file spdifenc.c.

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

int IEC61937Context::hd_buf_size

size of the hd audio buffer (eac3, dts4)

Definition at line 73 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 (eac3)

Definition at line 74 of file spdifenc.c.

Referenced by spdif_header_eac3().

int IEC61937Context::hd_buf_filled

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

Definition at line 75 of file spdifenc.c.

Referenced by spdif_header_eac3(), and spdif_header_truehd().

int IEC61937Context::hd_buf_idx

active hd buffer index (truehd)

Definition at line 76 of file spdifenc.c.

Referenced by spdif_header_truehd().

int IEC61937Context::dtshd_skip

counter used for skipping DTS-HD frames

Definition at line 78 of file spdifenc.c.

Referenced by spdif_header_dts4().

uint16_t IEC61937Context::truehd_prev_time

input_timing from the last frame

Definition at line 80 of file spdifenc.c.

Referenced by spdif_header_truehd().

int IEC61937Context::truehd_prev_size

previous frame size in bytes, including any MAT codes

Definition at line 81 of file spdifenc.c.

Referenced by spdif_header_truehd().

int IEC61937Context::truehd_samples_per_frame

samples per frame for padding calculation

Definition at line 82 of file spdifenc.c.

Referenced by spdif_header_truehd().

int IEC61937Context::dtshd_rate

Definition at line 85 of file spdifenc.c.

Referenced by spdif_header_dts(), and spdif_header_dts4().

int IEC61937Context::dtshd_fallback

Definition at line 86 of file spdifenc.c.

Referenced by spdif_header_dts4().

int IEC61937Context::spdif_flags

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

Referenced by spdif_write_header(), and spdif_write_packet().


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