OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SAMPLE_BITS
(Results
1 - 15
of
15
) sorted by null
/external/aac/libAACdec/src/
ldfiltbank.cpp
107
scale = (DFRACT_BITS -
SAMPLE_BITS
) - LDFB_HEADROOM;
120
#if (
SAMPLE_BITS
<= 16)
122
output[(N*3/4-1-i)*stride] = (INT_PCM)SATURATE_RIGHT_SHIFT(tmp, -WTS1-1 + scale,
SAMPLE_BITS
);
125
output[(N*3/4-1-i)*stride] = (INT_PCM)SATURATE_LEFT_SHIFT(tmp, WTS1+1 - scale,
SAMPLE_BITS
);
144
#if (
SAMPLE_BITS
<= 16)
146
output[(i-N/4)*stride] = (INT_PCM)SATURATE_RIGHT_SHIFT(tmp0, -WTS0-1 + scale,
SAMPLE_BITS
);
147
output[(N*3/4-1-i)*stride] = (INT_PCM)SATURATE_RIGHT_SHIFT(tmp1, -WTS1-1 + scale,
SAMPLE_BITS
);
150
output[(i-N/4)*stride] = (INT_PCM)SATURATE_LEFT_SHIFT(tmp0, WTS0+1 - scale,
SAMPLE_BITS
);
151
output[(N*3/4-1-i)*stride] = (INT_PCM)SATURATE_LEFT_SHIFT(tmp1, WTS1+1 - scale,
SAMPLE_BITS
);
162
#if (
SAMPLE_BITS
<= 16
[
all
...]
/external/aac/libFDK/include/
mdct.h
99
#define MDCT_OUTPUT_SCALE (DFRACT_BITS-
SAMPLE_BITS
-MDCT_OUT_HEADROOM)
103
#if (
SAMPLE_BITS
== DFRACT_BITS)
104
#define IMDCT_SCALE(x) (INT_PCM)SATURATE_LEFT_SHIFT(x, -MDCT_OUTPUT_SCALE,
SAMPLE_BITS
)
106
#define IMDCT_SCALE(x) (INT_PCM)SATURATE_RIGHT_SHIFT(x, MDCT_OUTPUT_SCALE,
SAMPLE_BITS
)
scale.h
243
#define SATURATE_INT_PCM_RIGHT_SHIFT(src, scale) SATURATE_RIGHT_SHIFT(src, scale,
SAMPLE_BITS
)
247
#define SATURATE_INT_PCM_LEFT_SHIFT(src, scale) SATURATE_LEFT_SHIFT(src, scale,
SAMPLE_BITS
)
qmf.h
117
#define QAS_BITS
SAMPLE_BITS
common_fix.h
109
#if defined(
SAMPLE_BITS
)
110
#if (
SAMPLE_BITS
== DFRACT_BITS)
114
#elif (
SAMPLE_BITS
== FRACT_BITS)
119
#error
SAMPLE_BITS
different from FRACT_BITS or DFRACT_BITS not implemented!
/external/aac/libPCMutils/src/
pcmutils_lib.cpp
894
(INT_PCM)SATURATE_RIGHT_SHIFT(fMult((FIXP_PCM)*pInLF, flev), DFRACT_BITS-
SAMPLE_BITS
,
SAMPLE_BITS
);
904
(INT_PCM)SATURATE_RIGHT_SHIFT(fMult((FIXP_PCM)*pInRF, flev), DFRACT_BITS-
SAMPLE_BITS
,
SAMPLE_BITS
);
930
#if (
SAMPLE_BITS
== 32)
932
*pOutL = (INT_PCM)SATURATE_LEFT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInLF)>>1)+tCF, 1,
SAMPLE_BITS
);
934
*pOutR = (INT_PCM)SATURATE_LEFT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInRF)>>1)+tCF, 1,
SAMPLE_BITS
);
937
*pOutL = (INT_PCM)SATURATE_RIGHT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInLF)>>1)+tCF, DFRACT_BITS-
SAMPLE_BITS
-1,
SAMPLE_BITS
);
[
all
...]
/external/aac/libFDK/include/arm/
scale.h
102
: "r"(src>>scale), "M"(
SAMPLE_BITS
)
117
: "r"(src<<scale), "M"(
SAMPLE_BITS
)
/external/aac/libSYS/include/
machine_type.h
202
#define
SAMPLE_BITS
16
203
#define SAMPLE_MAX (((LONG)1<<(
SAMPLE_BITS
-1))-1)
/external/aac/libSBRenc/src/
resampler.cpp
381
#if (
SAMPLE_BITS
== 16)
382
input = ((FIXP_DBL)pInput[n*inStride]) << (DFRACT_BITS-
SAMPLE_BITS
-BIQUAD_SCALE);
383
#elif (
SAMPLE_BITS
== 32)
465
#if (
SAMPLE_BITS
== 16)
466
output = (INT_PCM) SATURATE_RIGHT_SHIFT(y+(FIXP_DBL)(1<<(DFRACT_BITS-
SAMPLE_BITS
-BIQUAD_SCALE-1)), DFRACT_BITS-
SAMPLE_BITS
-BIQUAD_SCALE,
SAMPLE_BITS
);
467
//output = (INT_PCM) SATURATE_RIGHT_SHIFT(y, DFRACT_BITS-
SAMPLE_BITS
-BIQUAD_SCALE,
SAMPLE_BITS
);
469
output = SATURATE_LEFT_SHIFT(y, BIQUAD_SCALE,
SAMPLE_BITS
);
[
all
...]
/external/aac/libFDK/src/
qmf.cpp
191
int scale = ((DFRACT_BITS-
SAMPLE_BITS
)-1-qmf->outScalefactor);
196
FDK_ASSERT(
SAMPLE_BITS
-1-qmf->outScalefactor >= 0); // (DFRACT_BITS-
SAMPLE_BITS
)-1-qmf->outScalefactor >= 0);
209
#if
SAMPLE_BITS
> 16
210
tmp = (INT_PCM)(SATURATE_SHIFT(fAbs(Are), scale,
SAMPLE_BITS
));
212
tmp = (INT_PCM)(SATURATE_RIGHT_SHIFT(fAbs(Are), scale,
SAMPLE_BITS
));
259
int scale = ((DFRACT_BITS-
SAMPLE_BITS
)-1-qmf->outScalefactor);
264
FDK_ASSERT(
SAMPLE_BITS
-1-qmf->outScalefactor >= 0); // (DFRACT_BITS-
SAMPLE_BITS
)-1-qmf->outScalefactor >= 0);
274
#if
SAMPLE_BITS
> 1
[
all
...]
scale.cpp
385
return fixmax_I((INT)0,(INT)(fixnormz_D((INT)maxVal) - (INT)1 - (INT)(DFRACT_BITS -
SAMPLE_BITS
)));
/external/aac/libAACenc/src/
transform.cpp
177
#if
SAMPLE_BITS
== DFRACT_BITS /* SPC_BITS and DFRACT_BITS should be equal. */
180
mdctData[(tl/2)+i] = - (FIXP_DBL) timeData[tl-i-1] << (DFRACT_BITS -
SAMPLE_BITS
- 1);
194
#if
SAMPLE_BITS
== DFRACT_BITS /* This should be SPC_BITS instead of DFRACT_BITS. */
197
mdctData[(tl/2)-1-i] = - (FIXP_DBL) timeData[tl+i] << (DFRACT_BITS -
SAMPLE_BITS
- 1);
block_switch.cpp
351
#if
SAMPLE_BITS
== DFRACT_BITS
354
tempUnfiltered = (FIXP_DBL) *pTimeSignal++ << (DFRACT_BITS-
SAMPLE_BITS
-1);
/external/aac/libFDK/src/arm/
qmf_arm.cpp
122
#if (
SAMPLE_BITS
== 16)
416
#if ( defined(__ARM_ARCH_5TE__) && (
SAMPLE_BITS
== 16) ) && !defined(QMF_TABLE_FULL)
542
int scale = ((DFRACT_BITS-
SAMPLE_BITS
)-1-qmf->outScalefactor);
548
FDK_ASSERT(
SAMPLE_BITS
-1-qmf->outScalefactor >= 0); // (DFRACT_BITS-
SAMPLE_BITS
)-1-qmf->outScalefactor >= 0);
590
#if (
SAMPLE_BITS
== 16)
621
#if (
SAMPLE_BITS
== 16)
632
#if (
SAMPLE_BITS
== 16)
646
#if (
SAMPLE_BITS
== 16)
657
#if (
SAMPLE_BITS
== 16
[
all
...]
/external/aac/libSBRdec/src/
lpp_tran.cpp
201
#define QMFOUT_EXP ((
SAMPLE_BITS
-15)-sbrScaleFactor->lb_scale)
[
all
...]
Completed in 199 milliseconds