Searched defs:coef (Results 1 - 12 of 12) sorted by relevance

/frameworks/av/media/libstagefright/codecs/aacdec/
H A Dpulse_nc.cpp43 coef[] = Array of quantized spectral coefficents.
58 max = Pointer to the maximum value of coef[]
70 coef[] = coefficient contents are modified by the encoded pulse
225 Int16 coef[],
263 pCoef = &(coef[index]);
224 pulse_nc( Int16 coef[], const PulseInfo *pPulseInfo, const FrameInfo *pLongFrameInfo, Int *max) argument
H A Dtns_inv_filter.cpp47 coef = spectral input to be shaped by the filter.
56 (first input to filter is coef[0])
58 (first input to filter is coef[num_coef-1])
84 coef = contains spectral data after application of TNS filter
98 A block of spectral data (Int32 coef[]) of length (const Int num_coef)
106 back to the calling function via (Int32 coef[])
108 In order to avoid overflow, the filter input (Int32 coef[]) must utilize
119 [Int32 coef] must store no more than 16 bits of data.
122 the input data [Int32 coef], and to make use of a fast
297 Int32 coef[],
296 tns_inv_filter( Int32 coef[], const Int num_coef, const Int direction, const Int32 lpc[], const Int lpc_qformat, const Int order, Int32 scratch_memory[]) argument
[all...]
H A Dapply_tns.cpp26 coef = Array of input coefficients.
64 coef[] = TNS altered data.
85 The input, coef, should use all 32-bits, else the scaling by tns_ar_filter
172 Int32 coef[],
194 Int32 *pCoef = coef;
319 * Set up the pointers so we can index into coef[]
171 apply_tns( Int32 coef[], Int q_format[], const FrameInfo * const pFrameInfo, TNS_frame_info * const pTNS_frame_info, const Bool inverse_flag, Int32 scratch_Int_buffer[]) argument
H A Dq_normalize.cpp67 coef[] = Array of the spectral coefficients for one channel. [ Int32 ]
79 coef[] = Array of spectral data, now normalized to one q-format.
114 pCoef = &(coef[0]);
134 pCoef = &(coef[0]);
241 Int32 coef[])
292 pCoef = &(coef[0]);
237 q_normalize( Int qFormat[], const FrameInfo *pFrameInfo, Int32 abs_max_per_window[], Int32 coef[]) argument
H A Desc_iquant_scaling.cpp41 coef, data type Int.
43 coef[] = output array of uncompressed coefficients, stored in a
48 QFormat = the output Q format for the array coef[].
66 coef[] contents are overwritten with the uncompressed values from
134 coef[i] = absX;
169 absX = coef[i];
181 coef[i] = (Int32) (mult_high + mult_low);
187 absX = coef[i];
217 coef[i] = (Int32) (mult_high + mult_low);
437 Int32 coef[],
435 esc_iquant_scaling( const Int16 quantSpec[], Int32 coef[], const Int sfbWidth, Int const QFormat, UInt16 scale, Int maxInput) argument
[all...]
H A Dhuffspec_fxp.cpp107 coef[] = array that holds inverse quantized coefs, Int32 QFormat.
130 coef contains the newly inverse quantized 1024 spec coefs,
157 This function should set the content of the array 'coef' with the inverse
304 Int32 coef[],
321 Int stop_idx; /* index of 1st coef in next sfb */
333 Int32 *pCoef; /* ptr to coef[], inverse quantized coefs */
548 /* stop_idx is the index of the 1st coef of next section */
623 pCoef = coef;
298 huffspec_fxp( FrameInfo *pFrameInfo, BITS *pInputStream, Int nsect, SectInfo *pSectInfo, Int factors[], Int32 coef[], Int16 quantSpec[], Int16 tmp_spec[], const FrameInfo *pLongFrameInfo, PulseInfo *pPulseInfo, Int qFormat[]) argument
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
H A DLVEQNB_CalcCoef.c109 LVM_INT16 coef; local
138 * CosErr += coef(n) * t0^n For n = 0 to 4
146 coef = LVEQNB_DPCosCoef[i]; /* Get the nth coefficient */
147 CosErr += (factor * coef) >> 5; /* The nth partial sum */
240 LVM_INT16 coef; local
269 * Cos += coef(n) * t0^n For n = 0 to 6
277 coef = LVEQNB_CosCoef[i]; /* Get the nth coefficient */
278 COS_T0 += (factor * coef) >> 5; /* The nth partial sum */
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Daz_lsp.cpp388 Word16 *coef;
436 coef = f1;
439 ylow = Chebps (xlow, coef, NC);
449 ylow = Chebps (xlow, coef, NC);
460 ymid = Chebps (xmid, coef, NC);
512 coef = f2;
517 coef = f1;
519 ylow = Chebps (xlow, coef, NC);
582 Word16 *coef; local
630 coef
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Daz_isp.c69 Word16 *coef; local
110 coef = f1;
113 ylow = Chebps2(xlow, coef, order);
121 ylow = Chebps2(xlow, coef, order);
128 ymid = Chebps2(xmid, coef, order);
170 coef = f2;
175 coef = f1;
178 ylow = Chebps2(xlow, coef, order);
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
H A DLVPSA_Control.c484 LVM_INT16 coef; local
516 * Cos += coef(n) * t0^n For n = 0 to 6
524 coef = LVPSA_CosCoef[i]; /* Get the nth coefficient */
525 COS_T0 += (factor * coef) >> 5; /* The nth partial sum */
607 LVM_INT16 coef; local
638 * CosErr += coef(n) * t0^n For n = 0 to 4
646 coef = LVPSA_DPCosCoef[i]; /* Get the nth coefficient */
647 CosErr += (factor * coef) >> 5; /* The nth partial sum */
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dtns.h105 Word16 coef[TRANS_FAC*TNS_MAX_ORDER_SHORT]; member in struct:__anon608
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dblock.cpp82 int16 *coef = video->block; local
91 coef += ((blkidx & 0x3) << 2) + ((blkidx >> 2) << 6); /* point to the 4x4 block */
109 coef[0] = r0 + r1;
110 coef[2] = r0 - r1;
111 coef[1] = (r3 << 1) + r2;
112 coef[3] = r3 - (r2 << 1);
114 coef += 16;
120 coef -= 64;
125 r0 = coef[0] + coef[4
262 int16 *coef, *coef8 = video->block; local
366 int16 *coef = video->block; local
729 int16 *coef = video->block + 256; local
[all...]

Completed in 236 milliseconds