/frameworks/wilhelm/src/android/include/ |
AacBqToPcmCbRenderer.h | 27 // Class to receive AAC ADTS data through an Android Buffer Queue, decode it and output 40 // verifies the given memory starts and ends on ADTS frame boundaries. 41 // This is for instance used whenever ADTS data is being enqueued through an 42 // SL / XA AndroidBufferQueue interface so only parseable ADTS data goes in 43 // the buffer queue, and no ADTS frame is stored across two buffers.
|
/external/aac/libMpegTPEnc/src/ |
tpenc_adts.h | 87 contents/description: ADTS Transport writer 126 * \brief Initialize ADTS data structure 128 * \param hAdts ADTS data handle 130 * information for the ADTS header is extrated from 140 * \brief Get the total bit overhead caused by ADTS 142 * \hAdts handle to ADTS data 149 * \brief Write an ADTS header into the given bitstream. May not write a header 152 * \param hAdts ADTS data handle 153 * \param hBitStream bitstream handle into which the ADTS may be written into 154 * \param buffer_fullness the buffer fullness value for the ADTS heade [all...] |
tpenc_lib.cpp | 127 STRUCT_ADTS adts; member in union:TRANSPORTENC::__anon6341 285 if ( adtsWrite_Init(&hTpEnc->writer.adts, &hTpEnc->config) != 0) { 380 &hTp->writer.adts, 421 if ( (hTp->transportFmt==TT_MP4_ADTS) && !hTp->writer.adts.protection_absent) { 422 crcIndex = adtsWrite_CrcStartReg(&hTp->writer.adts, &hTp->bitStream, 0); 428 if ( (hTp->transportFmt==TT_MP4_ADTS) && !hTp->writer.adts.protection_absent) { 429 adtsWrite_CrcEndReg(&hTp->writer.adts, &hTp->bitStream, crcIndex); 451 adtsWrite_EndRawDataBlock(&hTp->writer.adts, &hTp->bitStream, bits); 480 if (hTpEnc->writer.adts.currentBlock >= hTpEnc->writer.adts.num_raw_blocks+1) [all...] |
tpenc_adts.cpp | 87 contents/description: ADTS Transport Headers support 99 HANDLE_ADTS pAdts, /*!< pointer to adts stucture */ 111 HANDLE_ADTS pAdts, /*!< pointer to adts crc info stucture */ 250 } /* End of ADTS header */
|
/frameworks/wilhelm/src/android/ |
AacBqToPcmCbRenderer.cpp | 26 // ADTS header size is 7, but frame size information ends on byte 6 (when counting from byte 1) 30 * Returns the size of an AAC ADTS frame. 36 * @return the size in bytes of the AAC ADTS frame starting at the given offset of the given 76 * Returns whether a block of memory starts and ends on AAC ADTS frame boundaries 79 * @return SL_RESULT_SUCCESS if there is AAC ADTS data, and it starts and ends on frame boundaries, 90 SL_LOGE("No ADTS to validate"); 96 SL_LOGE("found ADTS frame of size 0 at offset %lld", (long long) offset); 102 SL_LOGE("found incomplete ADTS frame at end of data"); 107 SL_LOGE("ADTS parsing error: reached end of incomplete frame");
|
android_defs.h | 39 // audio player, decoding from an Android buffer queue with ADTS data, 142 * Event mask for AAC ADTS events associated with ADTS data 161 // The legacy MIME type used elsewhere in the Android framework for AAC ADTS is below: 162 #define ANDROID_MIME_AACADTS_ANDROID_FRAMEWORK "audio/aac-adts"
|
/external/aac/libMpegTPDec/src/ |
tpdec_adts.h | 87 Description: ADTS interface 112 /* ADTS header fields */ 145 \brief Initialize ADTS CRC 161 * \param pAdts ADTS data handle 176 * \param pAdts ADTS data handle 194 * \param pAdts ADTS data handle 202 * \brief Check if we have a valid ADTS frame at the current bitbuffer position 208 * \param pAdts ADTS data handle which is filled with parsed ADTS header data 209 * \param bs handle of bitstream from whom the ADTS header is rea [all...] |
tpdec_lib.cpp | 111 STRUCT_ADTS adts; member in union:__anon6323 179 hInput->parser.adts.decoderCanDoMpeg4 = 1; 181 hInput->parser.adts.decoderCanDoMpeg4 = 0; 182 adtsRead_CrcInit(&hInput->parser.adts); 183 hInput->parser.adts.BufferFullnesStartFlag = 1; 369 if (hTp->parser.adts.bs.adts_fullness != 0x7ff) { 370 bufferFullness = hTp->parser.adts.bs.frame_length*8 + hTp->parser.adts.bs.adts_fullness * 32 * getNumberOfEffectiveChannels(hTp->parser.adts.bs.channel_config); 426 if (hTp->parser.adts.bs.protection_absent == 0 [all...] |
tpdec_adts.cpp | 87 Description: ADTS interface 98 void adtsRead_CrcInit(HANDLE_ADTS pAdts) /*!< pointer to adts crc info stucture */ 104 HANDLE_ADTS pAdts, /*!< pointer to adts stucture */ 118 HANDLE_ADTS pAdts, /*!< pointer to adts crc info stucture */ 252 (bs.layer != 0) || // we only support MPEG ADTS 301 /* Get info from ADTS header */
|
/frameworks/av/media/libstagefright/codecs/common/include/ |
voAAC.h | 37 VOAAC_ADTS = 1, /*!<contains ADTS header + raw AAC data in a frame*/ 48 short adtsUsed; /*! whether write adts header */
|
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/ |
AAC_E_SAMPLES.c | 38 "voAACEncTest -if <inputfile.pcm> -of <outputfile.aac> -sr <samplerate> -ch <channel> -br <bitrate> -adts <adts> \n" 44 "-adts add or no adts header, default add adts header\n" 98 else if(!strcmp(*argv, "-adts"))
|
/frameworks/wilhelm/tests/examples/ |
slesTestDecodeAac.cpp | 17 /* AAC ADTS Decode Test 20 # slesTestDecodeAac /sdcard/myFile.adts 23 OpenSL ES test slesTestDecodeAac: decodes a file containing AAC ADTS data 27 Enqueueing initial full buffers of encoded ADTS data 0 1 32 % adb pull /sdcard/myFile.adts.raw myFile.raw 72 /* Size of the encoded AAC ADTS buffer queue */ 103 /* to signal to the test app that the end of the encoded ADTS stream has been reached */ 228 /* Callback for AndroidBufferQueueItf through which we supply ADTS buffers */ 257 printf("Received ADTS completion after EOS\n"); 266 printf("You should now see %u ADTS completion%s followed by 1 EOS completion\n" [all...] |
/frameworks/av/include/media/stagefright/ |
AACWriter.h | 45 kAdtsHeaderLength = 7, // # of bytes for the adts header
|
/frameworks/av/media/libstagefright/ |
AACExtractor.cpp | 90 // Returns the frame length in bytes as described in an ADTS header starting at the given offset, 92 // The returned value is the AAC frame size with the ADTS header length (regardless of 94 // If headerSize is non-NULL, it will be used to return the size of the header of this ADTS frame. 372 // ADTS syncword
|
MediaDefs.cpp | 47 const char *MEDIA_MIMETYPE_AUDIO_AAC_ADTS = "audio/aac-adts";
|
AACWriter.cpp | 218 * ADTS (Audio data transport stream) header structure. 350 // 1. an ADTS header, followed by
|
/frameworks/wilhelm/src/android/util/ |
AacAdtsExtractor.cpp | 27 // ADTS header size is 7, but frame size information ends on byte 6 (when counting from byte 1) 75 // the frame size read already contains the size of the ADTS header, so no need to add it here 266 SL_LOGE("Can't seek in AAC ADTS buffer queue");
|
/cts/tests/tests/nativemedia/sl/src/ |
SLObjectCreationTest.cpp | 30 * * source is AndroidBufferQueue of AAC ADTS buffers, sink is BufferQueue of PCM buffers 266 /* Test case for creating an AudioPlayer object that decodes from a ADTS ABQ to a PCM BQ */ 268 // source: ADTS AndroidBufferQueue 272 formatMimeSrc.mimeType = (SLchar *)"audio/aac-adts";
|
/external/aac/libMpegTPDec/include/ |
tpdec_lib.h | 295 #define CAPF_TPDEC_ADTS 0x00002000 /**< Flag indicating support for ADTS transport format. */ 324 * MPEG4 capable decoder (relevant for ADTS only). 479 * \brief Get number of subframes (for LATM or ADTS) 481 * \return Number of ADTS/LATM subframes (return 1 for all other transport types). 493 /* ADTS CRC support */ 514 * \brief Calculate ADTS crc and check if it is correct. The ADTS checksum is held internally.
|
/frameworks/av/media/libstagefright/rtsp/ |
ARTPAssembler.cpp | 80 // Each frame is prefixed by a 7 byte ADTS header
|
/packages/apps/TV/usbtuner/proto/ |
channel.proto | 76 // ISO/IEC 13818-7 Audio with ADTS transport syntax
|
/hardware/intel/common/libmix/mix_audio/src/ |
intel_sst_ioctl.h | 101 __u8 bs_format; /* input bit stream format adts=0, adif=1, raw=2 */ 108 __s8 bit_stream_format[8]; /* input bit stream format adts/adif/raw */
|
sst_proxy.c | 180 g_sprintf((gchar*)p->bit_stream_format, "adts"); 205 AAC_DUMP(bs_format); /* input bit stream format adts=0, adif=1, raw=2 */ 212 // AAC_DUMP(bit_stream_format[8]); /* input bit stream format adts/adif/raw */
|
mixacpaac.h | 83 * @MIX_AAC_BS_ADTS: Bitstream is in ADTS format. 117 any MPEG/ADTS header.
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
aacenc_core.h | 45 Word16 adtsUsed; /* whether write adts header */
|