HomeSort by relevance Sort by last modified time
    Searched full:adts (Results 1 - 25 of 77) sorted by null

1 2 3 4

  /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::__anon2157
279 if ( adtsWrite_Init(&hTpEnc->writer.adts, &hTpEnc->config) != 0) {
374 &hTp->writer.adts,
415 if ( (hTp->transportFmt==TT_MP4_ADTS) && !hTp->writer.adts.protection_absent) {
416 crcIndex = adtsWrite_CrcStartReg(&hTp->writer.adts, &hTp->bitStream, 0);
422 if ( (hTp->transportFmt==TT_MP4_ADTS) && !hTp->writer.adts.protection_absent) {
423 adtsWrite_CrcEndReg(&hTp->writer.adts, &hTp->bitStream, crcIndex);
445 adtsWrite_EndRawDataBlock(&hTp->writer.adts, &hTp->bitStream, bits);
474 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 25 // ADTS header size is 7, but frame size information ends on byte 6 (when counting from byte 1)
29 * Returns the size of an AAC ADTS frame.
35 * @return the size in bytes of the AAC ADTS frame starting at the given offset of the given
75 * Returns whether a block of memory starts and ends on AAC ADTS frame boundaries
78 * @return SL_RESULT_SUCCESS if there is AAC ADTS data, and it starts and ends on frame boundaries,
89 SL_LOGE("No ADTS to validate");
95 SL_LOGE("found ADTS frame of size 0 at offset %llu", offset);
101 SL_LOGE("found incomplete ADTS frame at end of data");
105 if (offset != size) { 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 110 STRUCT_ADTS adts; member in union:__anon2139
177 hInput->parser.adts.decoderCanDoMpeg4 = 1;
179 hInput->parser.adts.decoderCanDoMpeg4 = 0;
180 adtsRead_CrcInit(&hInput->parser.adts);
181 hInput->parser.adts.BufferFullnesStartFlag = 1;
353 if (hTp->parser.adts.bs.adts_fullness != 0x7ff) {
354 bufferFullness = hTp->parser.adts.bs.frame_length*8 + hTp->parser.adts.bs.adts_fullness * 32 * getNumberOfEffectiveChannels(hTp->parser.adts.bs.channel_config);
592 /* Parse ADTS header *
    [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 */
105 /* to signal to the test app that the end of the encoded ADTS stream has been reached */
230 /* Callback for AndroidBufferQueueItf through which we supply ADTS buffers */
259 printf("Received ADTS completion after EOS\n");
267 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 42 const char *MEDIA_MIMETYPE_AUDIO_AAC_ADTS = "audio/aac-adts";
AACWriter.cpp 233 * ADTS (Audio data transport stream) header structure.
365 // 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
262 /* Test case for creating an AudioPlayer object that decodes from a ADTS ABQ to a PCM BQ */
264 // source: ADTS AndroidBufferQueue
268 formatMimeSrc.mimeType = (SLchar *)"audio/aac-adts";
  /frameworks/base/media/java/android/media/
MediaFormat.java 53 * <tr><td>{@link #KEY_IS_ADTS}</td><td>Integer</td><td>optional, if <em>decoding</em> AAC audio content, setting this key to 1 indicates that each audio frame is prefixed by the ADTS header.</td></tr>
141 * audio frames are prefixed with an ADTS header.
144 * be used to configure an encoder to emit ADTS output.
146 public static final String KEY_IS_ADTS = "is-adts";
  /external/aac/libMpegTPDec/include/
tpdec_lib.h 267 #define CAPF_TPDEC_ADTS 0x00002000 /**< Flag indicating support for ADTS transport format. */
296 * MPEG4 capable decoder (relevant for ADTS only).
451 * \brief Get number of subframes (for LATM or ADTS)
453 * \return Number of ADTS/LATM subframes (return 1 for all other transport types).
465 /* ADTS CRC support */
486 * \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
  /frameworks/av/libvideoeditor/vss/common/inc/
M4DA_Types.h 55 M4DA_StreamTypeAudioAacADTS = 10, /**< AAC ADTS audio */
  /frameworks/av/media/libstagefright/codecs/aacenc/inc/
aacenc_core.h 45 Word16 adtsUsed; /* whether write adts header */
  /frameworks/av/media/libstagefright/codecs/aacenc/src/
aacenc_core.c 97 /* use or not adts header */
stat_bits.c 189 /* if adts used, add 56 bits */

Completed in 236 milliseconds

1 2 3 4