Searched refs:adif (Results 1 – 5 of 5) sorted by relevance
/external/aac/libMpegTPEnc/src/ |
D | tpenc_adif.cpp | 108 int adifWrite_EncodeHeader(ADIF_INFO *adif, HANDLE_FDK_BITSTREAM hBs, in adifWrite_EncodeHeader() argument 119 INT totalBitRate = adif->bitRate; in adifWrite_EncodeHeader() 121 if (adif->headerWritten) return 0; in adifWrite_EncodeHeader() 127 adif->bVariableRate = (adif_buffer_fullness >= (INT)(0x1 << 20)) ? 1 : 0; in adifWrite_EncodeHeader() 143 FDKwriteBits(hBs, adif->bVariableRate ? 1 : 0, 1); in adifWrite_EncodeHeader() 149 if (!adif->bVariableRate) { in adifWrite_EncodeHeader() 153 transportEnc_writePCE(hBs, adif->cm, adif->samplingRate, adif->instanceTag, in adifWrite_EncodeHeader() 154 adif->profile, adif->matrixMixdownA, in adifWrite_EncodeHeader() 155 (adif->pseudoSurroundEnable) ? 1 : 0, alignAnchor); in adifWrite_EncodeHeader() 160 int adifWrite_GetHeaderBits(ADIF_INFO *adif) { in adifWrite_GetHeaderBits() argument [all …]
|
D | tpenc_lib.cpp | 138 ADIF_INFO adif; member 275 hTpEnc->writer.adif.headerWritten = 0; in transportEnc_Init() 276 hTpEnc->writer.adif.samplingRate = hTpEnc->config.samplingRate; in transportEnc_Init() 277 hTpEnc->writer.adif.bitRate = hTpEnc->config.bitRate; in transportEnc_Init() 278 hTpEnc->writer.adif.profile = ((int)hTpEnc->config.aot) - 1; in transportEnc_Init() 279 hTpEnc->writer.adif.cm = hTpEnc->config.channelMode; in transportEnc_Init() 280 hTpEnc->writer.adif.bVariableRate = 0; in transportEnc_Init() 281 hTpEnc->writer.adif.instanceTag = 0; in transportEnc_Init() 282 hTpEnc->writer.adif.matrixMixdownA = hTpEnc->config.matrixMixdownA; in transportEnc_Init() 283 hTpEnc->writer.adif.pseudoSurroundEnable = in transportEnc_Init() [all …]
|
D | tpenc_adif.h | 133 int adifWrite_EncodeHeader(ADIF_INFO *adif, HANDLE_FDK_BITSTREAM hBitStream, 144 int adifWrite_GetHeaderBits(ADIF_INFO *adif);
|
/external/libxaac/decoder/ |
D | ixheaacd_headerdecode.c | 260 ia_adif_header_struct *adif, struct ia_bit_buf_struct *it_bit_buff) { in ixheaacd_get_adif_header() argument 273 adif->bit_stream_type = (tmp & 0x1); in ixheaacd_get_adif_header() 280 if (adif->bit_stream_type == 0) { in ixheaacd_get_adif_header() 284 adif->prog_config_present = 1; in ixheaacd_get_adif_header() 285 adif->str_prog_config.alignment_bits = 7; in ixheaacd_get_adif_header() 287 ixheaacd_read_prog_config_element(&adif->str_prog_config, it_bit_buff); in ixheaacd_get_adif_header() 913 ia_adif_header_struct adif = {0}; in ixheaacd_aac_headerdecode() local 973 adif.prog_config_present = 0; in ixheaacd_aac_headerdecode() 974 result = ixheaacd_get_adif_header(&adif, handle_bit_buff); in ixheaacd_aac_headerdecode() 976 if (adif.prog_config_present == 1) { in ixheaacd_aac_headerdecode() [all …]
|
/external/aac/libMpegTPDec/src/ |
D | tpdec_lib.cpp | 125 CAdifHeader adif; member 1488 err = adifRead_DecodeHeader(&hTp->parser.adif, pce, hBs); in transportDec_ReadAccessUnit() 1498 hTp->avgBitRate = hTp->parser.adif.BitRate; in transportDec_ReadAccessUnit()
|