Home
last modified time | relevance | path

Searched refs:hAdts (Results 1 – 2 of 2) sorted by relevance

/external/aac/libMpegTPEnc/src/
Dtpenc_adts.cpp122 int adtsWrite_GetHeaderBits( HANDLE_ADTS hAdts ) in adtsWrite_GetHeaderBits() argument
126 if (hAdts->currentBlock == 0) { in adtsWrite_GetHeaderBits()
129 if (!hAdts->protection_absent) { in adtsWrite_GetHeaderBits()
132 if (hAdts->num_raw_blocks>0) { in adtsWrite_GetHeaderBits()
134 bits += (hAdts->num_raw_blocks)*16; in adtsWrite_GetHeaderBits()
138 if (!hAdts->protection_absent && hAdts->num_raw_blocks>0) { in adtsWrite_GetHeaderBits()
143 hAdts->headerBits = bits; in adtsWrite_GetHeaderBits()
148 INT adtsWrite_Init(HANDLE_ADTS hAdts, CODER_CONFIG *config) in adtsWrite_Init() argument
160 hAdts->mpeg_id = 0; /* MPEG 4 */ in adtsWrite_Init()
162 hAdts->mpeg_id = 1; /* MPEG 2 */ in adtsWrite_Init()
[all …]
Dtpenc_adts.h135 HANDLE_ADTS hAdts,
146 int adtsWrite_GetHeaderBits( HANDLE_ADTS hAdts );
160 HANDLE_ADTS hAdts,
175 HANDLE_ADTS hAdts,