Searched refs:hAdts (Results 1 – 2 of 2) sorted by relevance
129 int adtsWrite_GetHeaderBits(HANDLE_ADTS hAdts) { in adtsWrite_GetHeaderBits() argument132 if (hAdts->currentBlock == 0) { in adtsWrite_GetHeaderBits()135 if (!hAdts->protection_absent) { in adtsWrite_GetHeaderBits()138 if (hAdts->num_raw_blocks > 0) { in adtsWrite_GetHeaderBits()140 bits += (hAdts->num_raw_blocks) * 16; in adtsWrite_GetHeaderBits()144 if (!hAdts->protection_absent && hAdts->num_raw_blocks > 0) { in adtsWrite_GetHeaderBits()150 hAdts->headerBits = bits; in adtsWrite_GetHeaderBits()155 INT adtsWrite_Init(HANDLE_ADTS hAdts, CODER_CONFIG *config) { in adtsWrite_Init() argument164 hAdts->mpeg_id = 0; /* MPEG 4 */ in adtsWrite_Init()166 hAdts->mpeg_id = 1; /* MPEG 2 */ in adtsWrite_Init()[all …]
146 INT adtsWrite_Init(HANDLE_ADTS hAdts, CODER_CONFIG *config);155 int adtsWrite_GetHeaderBits(HANDLE_ADTS hAdts);168 INT adtsWrite_EncodeHeader(HANDLE_ADTS hAdts, HANDLE_FDK_BITSTREAM hBitStream,179 void adtsWrite_EndRawDataBlock(HANDLE_ADTS hAdts, HANDLE_FDK_BITSTREAM hBs,