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

1 2 3 4 5

  /external/aac/libSBRdec/include/
sbrdecoder.h 84 /************************ Fraunhofer IIS SBR decoder library ******************
87 Description: SBR decoder front-end prototypes and definitions.
101 --- SBR ---\n\
102 0x00000010 Ancillary data and SBR-Header\n\
103 0x00000020 SBR-Side info\n\
104 0x00000040 Decoded SBR-bitstream data, e.g. envelope data\n\
105 0x00000080 SBR-Bitstream statistics\n\
106 0x00000100 Miscellaneous SBR-messages\n\
107 0x00000200 SBR-Energies and gains in the adjustor\n\
108 0x00000400 Fatal SBR errors\n
    [all...]
  /external/aac/libSBRenc/include/
sbr_encoder.h 87 Description: SBR encoder top level processing prototype
165 INT SendHeaderDataTime; /*!< SBR header send update frequency in ms. */
167 INT crcSbr; /*!< Flag: usage of SBR-CRC. */
170 INT downSampleFactor; /*!< Sampling rate relation between the SBR and the core encoder. */
176 INT tran_thr; /*!< SBR transient detector threshold (* 100). */
185 INT sbrFrameSize; /*!< SBR frame size in samples. Will be calculated from core coder settings. */
191 INT spread; /*!< Flag: usage of SBR spread. */
194 SBR_STEREO_MODE stereoMode; /*!< SBR stereo mode. */
228 UINT sbrSyntaxFlags; /**< SBR syntax flags derived from AOT. */
231 INT nSfb[2]; /**< Number of SBR scalefactor bands for LO_RES and HI_RES (?) *
    [all...]
  /system/bt/embdrv/sbc/decoder/srce/
bitalloc-sbc.c 57 OI_UINT sbR;
70 sbR = nrof_subbands;
74 excess = allocAdjustedBits(&common->bits.uint8[sbR], bitneeds.uint8[sbR] + bitadjust, excess);
75 ++sbR;
78 sbR = nrof_subbands;
85 excess = allocExcessBits(&common->bits.uint8[sbR], excess);
86 ++sbR;
  /external/aac/libSBRdec/src/
env_extr.h 153 UCHAR nSfb[2]; /*!< Number of SBR-bands for low and high freq-resolution */
155 UCHAR numMaster; /*!< Number of SBR-bands in v_k_master */
156 UCHAR lowSubband; /*!< QMF-band where SBR frequency range starts */
157 UCHAR highSubband; /*!< QMF-band where SBR frequency range ends */
163 /*!< Mapping of SBR bands to QMF bands for low frequency resolution */
165 /*!< Mapping of SBR bands to QMF bands for high frequency resolution */
167 /*!< Mapping of SBR noise bands to QMF bands */
192 UCHAR sbr_preprocessing; /*!< SBR prewhitening flag. */
197 UCHAR startFreq; /*!< Index for SBR start frequency */
198 UCHAR stopFreq; /*!< Index for SBR highest frequency *
    [all...]
sbrdecoder.cpp 86 \brief SBR decoder frontend
87 This module provides a frontend to the SBR decoder. The function openSBR() is called for
89 required functions to decode the raw SBR data (provided by env_extr.cpp), to decode the envelope data and noise floor levels [decodeSbrData()],
90 and to finally apply SBR to the current frame [sbr_dec()].
109 \li About the SBR data format: \ref SBR_HEADER_ELEMENT and \ref SBR_STANDARD_ELEMENT
141 #define SBRDECODER_LIB_TITLE "SBR Decoder"
194 \brief Reset SBR decoder.
196 Reset should only be called if SBR has been sucessfully detected by
249 sampleRateOut = sampleRateIn<<1; /* In case of implicit signalling, assume dual rate SBR */
285 /* Init SBR channels going to be assigned to a SBR element *
    [all...]
sbrdec_freq_sca.cpp 109 \brief Retrieve QMF-band where the SBR range starts
119 UINT headerDataFlags) /*!< Info to SBR mode */
161 \brief Retrieve QMF-band where the SBR range starts
171 UINT headerDataFlags, /*!< Info to SBR mode */
257 UINT fs, /*!< SBR working sampling rate */
384 /* and we got too wide SBR area */
391 /* and we got too small SBR area */
397 /* Adjust diff vector to get sepc. SBR range */
422 \brief Calculate frequency ratio of one SBR band
424 All SBR bands should span a constant frequency range in the logarithmi
    [all...]
sbr_ram.cpp 107 /*! SBR Decoder main structure */
109 /*! SBR Decoder element data <br>
112 /*! SBR Decoder individual channel data <br>
120 /*! Delayed spectral data needed for the dynamic framing of SBR.
143 WorkBuffer2 is a pointer to the CoreWorkBuffer wich is reused here in the SBR part. In case of
160 SBR part:
env_extr.cpp 88 determined that there is valid SBR data, sbrGetHeaderData() might be called if the current
89 SBR data contains an \ref SBR_HEADER_ELEMENT as opposed to a \ref SBR_STANDARD_ELEMENT. This function
91 settings need to be recalculated according to the SBR specifications. In that case applySBR()
96 The actual SBR data for the current frame is decoded into SBR_FRAME_DATA stuctures by sbrGetChannelPairElement()
104 <h1>About the SBR data format:</h1>
106 Each frame includes SBR data (side chain information), and can be either the \ref SBR_HEADER_ELEMENT or the \ref SBR_STANDARD_ELEMENT.
112 information such as SBR sampling frequency and frequency range as well as control signals that do not require frequent changes. It also
115 Depending on the changes between the information in a current SBR_HEADER_ELEMENT and the previous SBR_HEADER_ELEMENT, the SBR decoder might need
221 if (sampleRateOut > 24000) { /* Trigger an error if SBR is going to be processed without */
226 /* One SBR timeslot corresponds to the amount of samples equal to the amount of analysis bands, divided by th (…)
    [all...]
sbr_dec.cpp 86 \brief Sbr decoder
87 This module provides the actual decoder implementation. The SBR data (side information) is already
92 and recalculation of important SBR structures.
261 \brief SBR decoder core function for one channel
322 const int applyProcessing, /*!< Flag for SBR operation */
434 Inverse filtering of lowband and transposition into the SBR-frequency range
565 synQmf->lsb, /* sbr start subband */
722 \brief Creates sbr decoder structure
737 int timeSlots = hHeaderData->numberTimeSlots; /* Number of SBR slots per frame */
763 /* Adapted QMF analysis post-twiddles for down-sampled HQ SBR */
    [all...]
sbr_dec.h 86 \brief Sbr decoder
114 /*! Delayed spectral data needed for the dynamic framing of SBR. Not required in case of CLDFB */
183 const int applyProcessing, /*!< Flag for SBR operation */
sbr_ram.h 122 SBR_HEADER_DATA sbrHeader[(8)][(1)+1]; /* Sbr header for each individual channel of an element */
133 INT sampleRateIn; /* SBR decoder input sampling rate; might be different than the transposer input sampling rate. */
134 INT sampleRateOut; /* Sampling rate of the SBR decoder output audio samples. */
sbr_scale.h 86 \brief Sbr scaling factors,
113 energy is low. The dynamic framing of SBR produces a variable overlap area
115 start position and stop position of the current SBR envelopes, the processing
  /external/aac/libSBRenc/src/
sbr.h 86 \brief Main SBR structs definitions
105 /* SBR bitstream delay */
111 //INT_PCM *pDSOutBuffer; /**< Pointer to downsampled audio output of SBR encoder */
141 int frameSize; /* SBR framelength. */
142 int bufferOffset; /* Offset for SBR parameter extraction in time domain input buffer. */
145 INT downSampleFactor; /* Sampling rate relation between the SBR and the core encoder. */
147 int nBitstrDelay; /* Amount of SBR frames to be delayed in bitstream domain. */
148 INT estimateBitrate; /* estimate bitrate of SBR encoder */
sbr_encoder.cpp 87 Description: SBR encoder top level processing.
99 #include "sbr.h"
112 * SBR Delay balancing definitions.
122 #define SFB(dwnsmp) (32 << (dwnsmp-1)) /* SBR Frequency bands: 64 for dual-rate, 32 for single-rate */
123 #define STS(fl) (((fl)==1024)?32:30) /* SBR Time Slots: 32 for core frame length 1024, 30 for core frame length 960 */
138 /* Delay differences for SBR and SBR+PS */
145 #define MAX_SAMPLE_DELAY (DELAY_AAC2SBR(1024,2) + MAX_DS_FILTER_DELAY) /* maximum delay: frame length of 1024 and dual-rate sbr */
156 \brief Selects the SBR tuning settings to use dependent on number of
295 \brief In case of downsampled SBR we may need to lower the stop fre
    [all...]
cmondata.h 86 \brief Core Coder's and SBR's shared data structure definition
95 INT sbrHdrBits; /**< number of SBR header bits */
96 INT sbrDataBits; /**< number of SBR data bits */
97 INT sbrFillBits; /**< number of SBR fill bits */
98 FDK_BITSTREAM sbrBitbuf; /**< the SBR data bitbuffer */
100 INT xOverFreq; /**< the SBR crossover frequency */
fram_gen.h 97 /* SBR frame class definitions */
112 /* system constants: AAC+SBR, DRM Frame-Length */
124 system constants: AAC+SBR or aacPRO (hybrid format), Standard Frame-Length, Multi-Rate
177 /* system constants: Layer2+SBR */
193 INT numberTimeSlots; /*!< number of SBR timeslots per frame */
196 FRAME_CLASS frameClass; /*!< SBR frame class */
225 INT borders[MAX_ENVELOPES+1]; /*!< envelope borders in SBR timeslots */
229 INT bordersNoise[MAX_NOISE_ENVELOPES+1];/*!< noise floor borders in SBR timeslots */
248 INT frameMiddleSlot; /*!< transient detector offset in SBR timeslots */
bit_sbr.cpp 86 \brief SBR bit writing routines
94 #include "sbr.h"
167 description: writes pure SBR single channel data element
189 /* write pure sbr data */
214 description: writes pure SBR channel pair data element
234 /* write pure sbr data */
291 /* Prevent header being embedded into the SBR payload. */
302 description: encodes SBR Header information
395 description: encodes sbr Data information
420 /* we never should apply SBR to any other element type *
    [all...]
env_bit.cpp 86 \brief Remaining SBR Bit Writing Routines
133 * @brief Inittialisation of sbr bitstream, write of dummy header and CRC
144 UINT sbrSyntaxFlags) /*!< SBR syntax flags */
172 * @brief Formats the SBR payload
188 /* check if SBR is present */
  /frameworks/av/media/libstagefright/codecs/aacenc/
SoftAACEncoder2.cpp 163 case 1: // sbr on
171 // set single-rate SBR active
176 // set dual-rate SBR active
181 ALOGE("invalid SBR ratio %d", mSBRRatio);
185 case 0: // sbr off
186 case -1: // sbr undefined
191 ALOGE("invalid SBR mode %d", mSBRMode);
297 mSBRMode = -1; // codec default sbr mode
363 // We call this whenever sample rate, number of channels, bitrate or SBR mode change
366 ALOGV("setAudioParams: %u Hz, %u channels, %u bps, %i sbr mode, %i sbr ratio"
    [all...]
  /external/aac/libAACenc/include/
aacenc_lib.h 103 All references to SBR (Spectral Band Replication) are only applicable to HE-AAC or AAC-ELD versions
134 and libSBRenc.a (LINUX) or FDK_sbrEncLib.lib (MS Visual C++) for the SBR (Spectral Band
179 AAC | SBR | PS | MD | FLAGS | value
189 - SBR: Allocate Spectral Band Replication module.
198 - Additionally the maximum number of supported channels in the SBR module can be denoted separately.\n
199 In this example the encoder instance provides a maximum of 6 channels out of which up to 2 channels support SBR.
201 HE-AAC 5.1 multi channel is not possible since only 2 out of 6 channels support SBR, which saves data memory.
319 HE-AAC (AOT_SBR): 0.625 bits per sample (dualrate sbr)
320 HE-AAC (AOT_SBR): 1.125 bits per sample (downsampled sbr)
346 For ELD configuration a so called auto configurator is available which configures SBR and the SBR ratio by itself
    [all...]
  /external/aac/libSYS/include/
FDK_audio.h 188 AOT_PS = 29, /**< PS, Parametric Stereo (includes SBR) */
213 AOT_MP2_SBR = 132, /**< Virtual AOT MP2 Low Complexity Profile with SBR */
224 AOT_DRM_AAC = 143, /**< Virtual AOT for DRM (ER-AAC-SCAL without SBR) */
225 AOT_DRM_SBR = 144, /**< Virtual AOT for DRM (ER-AAC-SCAL with SBR) */
226 AOT_DRM_MPEG_PS = 145, /**< Virtual AOT for DRM (ER-AAC-SCAL with SBR and MPEG-PS) */
227 AOT_DRM_SURROUND = 146, /**< Virtual AOT for DRM Surround (ER-AAC-SCAL (+SBR) +MPS) */
229 AOT_MP2_PS = 156, /**< Virtual AOT MP2 Low Complexity Profile with SBR and PS */
324 #define AC_SBR_PRESENT 0x002000 /*!< SBR present flag (from ASC) */
325 #define AC_SBRCRC 0x004000 /*!< SBR CRC present flag. Only relevant for AAC-ELD for now. */
352 AUDIO_OBJECT_TYPE extAOT; /**< Extension Audio Object Type (SBR). *
    [all...]
  /external/aac/libAACenc/src/
aacenc_lib.cpp 125 #define DEFAULT_HEADER_PERIOD_REPETITION_RATE 10 /*!< Default header repetition rate used in transport library and for SBR header. */
169 UCHAR userSbrEnabled; /*!< Enable SBR for ELD. */
170 UINT userSbrRatio; /*!< SBR sampling rate ratio. Dual- or single-rate. */
192 /* SBR */
243 UCHAR lowDelaySbr; /*!< 0: ELD sbr off,
244 1: ELD sbr on */
246 UCHAR downsampledSbr; /*!< 0: ELD with dualrate sbr,
247 1: ELD with downsampled sbr */
252 * \brief This table defines ELD/SBR default configurations.
275 * \brief Configure SBR for ELD configuration
    [all...]
  /external/aac/libAACdec/src/
aacdec_drc.h 147 * \brief Apply DRC. If SBR is present, DRC data is handed over to the SBR decoder.
149 * \param pSbrDec pointer to SBR decoder instance
156 * \param bSbrPresent flag indicating that SBR is present, in which case DRC is handed over to the SBR instance pSbrDec
aacdecoder_lib.cpp 281 /* Be sure to set AAC and SBR concealment method simultaneously! */
302 /* set SBR bitstream delay */
314 (when SBR has been initialized) */
367 /* Revert SBR bitstream delay */
663 /* open SBR decoder */
906 /* sbr decoder */
910 self->frameOK = 0; /* if an error has occured do concealment in the SBR decoder too */
945 /* apply SBR processing */
957 #define UPS_SCALE 2 /* Maximum upsampling factor is 4 (CELP+SBR) */
960 /* Update data in streaminfo structure. Assume that the SBR upsampling factor is either 1 or 2 *
    [all...]
  /hardware/intel/common/libmix/mix_audio/src/
sst_proxy.c 118 // AOT==5 --> SBR
122 // we know SBR present only if it is indicated presence, or AOT says so.
130 // set sbr_present flag for SST in case of possible implicit signalling of SBR, and
159 // AOT defined by MPEG spec is 5 for SBR but SST definition is 4 for SBR.
208 AAC_DUMP(aot); /* Audio object type. 1=Main , 2=LC , 3=SSR, 4=SBR*/
215 AAC_DUMP(sbr_present); /* 1 = SBR Present, 0 = SBR absent, for RAW */
385 // SST API specific 4 for SBR while AOT definition in MPEG 4 spec specific 5.

Completed in 2615 milliseconds

1 2 3 4 5