/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
block.cpp | 82 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[48] 262 int16 *coef, *coef8 = video->block; local 366 int16 *coef = video->block; local 729 int16 *coef = video->block + 256; local [all...] |
/external/chromium_org/third_party/libjpeg_turbo/ |
jccoefct.c | 75 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; variable 82 coef->MCU_rows_per_iMCU_row = 1; 84 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) 85 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; 87 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; 90 coef->mcu_ctr = 0; 91 coef->MCU_vert_offset = 0; 102 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 145 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 247 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 343 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 407 my_coef_ptr coef; local [all...] |
jdcoefct.c | 88 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 95 coef->MCU_rows_per_iMCU_row = 1; 98 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; 100 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; 103 coef->MCU_ctr = 0; 104 coef->MCU_vert_offset = 0; 128 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 131 if (coef->pub.coef_arrays != NULL) 155 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 252 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 323 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 413 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 469 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 687 my_coef_ptr coef; local [all...] |
jctrans.c | 241 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 248 coef->MCU_rows_per_iMCU_row = 1; 250 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) 251 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; 253 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; 256 coef->mcu_ctr = 0; 257 coef->MCU_vert_offset = 0; 268 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 291 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 377 my_coef_ptr coef; local [all...] |
/external/jpeg/ |
jccoefct.c | 75 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; variable 82 coef->MCU_rows_per_iMCU_row = 1; 84 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) 85 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; 87 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; 90 coef->mcu_ctr = 0; 91 coef->MCU_vert_offset = 0; 102 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 145 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 247 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 343 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 407 my_coef_ptr coef; local [all...] |
jdcoefct.c | 82 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 89 coef->MCU_rows_per_iMCU_row = 1; 92 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; 94 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; 97 coef->MCU_ctr = 0; 98 coef->MCU_vert_offset = 0; 122 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 125 if (coef->pub.coef_arrays != NULL) 149 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 257 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 394 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 454 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 556 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 660 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 716 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 931 my_coef_ptr coef; local [all...] |
jctrans.c | 230 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 237 coef->MCU_rows_per_iMCU_row = 1; 239 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) 240 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; 242 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; 245 coef->mcu_ctr = 0; 246 coef->MCU_vert_offset = 0; 257 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 280 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 366 my_coef_ptr coef; local [all...] |
/external/pdfium/core/src/fxcodec/libjpeg/ |
fpdfapi_jccoefct.c | 76 my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
variable 83 coef->MCU_rows_per_iMCU_row = 1;
85 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1))
86 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor;
88 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height;
91 coef->mcu_ctr = 0;
92 coef->MCU_vert_offset = 0;
103 my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
local 146 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 248 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 344 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 408 my_coef_ptr coef; local [all...] |
fpdfapi_jdcoefct.c | 83 my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
local 90 coef->MCU_rows_per_iMCU_row = 1;
93 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor;
95 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height;
98 coef->MCU_ctr = 0;
99 coef->MCU_vert_offset = 0;
123 my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
local 126 if (coef->pub.coef_arrays != NULL) { 150 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 247 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 318 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 408 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 464 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 679 my_coef_ptr coef; local [all...] |
fpdfapi_jctrans.c | 231 my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
local 238 coef->MCU_rows_per_iMCU_row = 1;
240 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1))
241 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor;
243 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height;
246 coef->mcu_ctr = 0;
247 coef->MCU_vert_offset = 0;
258 my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
local 281 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 367 my_coef_ptr coef; local [all...] |
/external/qemu/distrib/jpeg-6b/ |
jccoefct.c | 75 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; variable 82 coef->MCU_rows_per_iMCU_row = 1; 84 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) 85 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; 87 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; 90 coef->mcu_ctr = 0; 91 coef->MCU_vert_offset = 0; 102 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 145 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 247 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 343 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 407 my_coef_ptr coef; local [all...] |
jdcoefct.c | 82 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 89 coef->MCU_rows_per_iMCU_row = 1; 92 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; 94 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; 97 coef->MCU_ctr = 0; 98 coef->MCU_vert_offset = 0; 122 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 125 if (coef->pub.coef_arrays != NULL) 149 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 257 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 394 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 454 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 556 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 660 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 716 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 931 my_coef_ptr coef; local [all...] |
jctrans.c | 230 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 237 coef->MCU_rows_per_iMCU_row = 1; 239 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) 240 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; 242 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; 245 coef->mcu_ctr = 0; 246 coef->MCU_vert_offset = 0; 257 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 280 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 366 my_coef_ptr coef; local [all...] |
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/ |
resample.c | 318 int16_t coef; local 320 coef = coef_ptr[0]; 321 tmp1 += coef * in1[0]; 322 tmp2 += coef * in2[-0]; 324 coef = coef_ptr[1]; 325 tmp1 += coef * in1[1]; 326 tmp2 += coef * in2[-1]; 328 coef = coef_ptr[2]; 329 tmp1 += coef * in1[2]; 330 tmp2 += coef * in2[-2] 364 int16_t coef; local [all...] |
resample_fractional.c | 155 int16_t coef; local 157 coef = coef_ptr[0]; 158 tmp1 += coef * in1[0]; 159 tmp2 += coef * in2[-0]; 161 coef = coef_ptr[1]; 162 tmp1 += coef * in1[1]; 163 tmp2 += coef * in2[-1]; 165 coef = coef_ptr[2]; 166 tmp1 += coef * in1[2]; 167 tmp2 += coef * in2[-2] [all...] |
/external/webrtc/src/common_audio/signal_processing/ |
resample.c | 318 WebRtc_Word16 coef; local 320 coef = coef_ptr[0]; 321 tmp1 += coef * in1[0]; 322 tmp2 += coef * in2[-0]; 324 coef = coef_ptr[1]; 325 tmp1 += coef * in1[1]; 326 tmp2 += coef * in2[-1]; 328 coef = coef_ptr[2]; 329 tmp1 += coef * in1[2]; 330 tmp2 += coef * in2[-2] 364 WebRtc_Word16 coef; local [all...] |
resample_fractional.c | 155 WebRtc_Word16 coef; local 157 coef = coef_ptr[0]; 158 tmp1 += coef * in1[0]; 159 tmp2 += coef * in2[-0]; 161 coef = coef_ptr[1]; 162 tmp1 += coef * in1[1]; 163 tmp2 += coef * in2[-1]; 165 coef = coef_ptr[2]; 166 tmp1 += coef * in1[2]; 167 tmp2 += coef * in2[-2] [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
interpolate.c | 30 int16_t coef, /* (i) weight coefficient in Q14 */ 37 Performs the operation out[i] = in[i]*coef + (1-coef)*in2[i] (with rounding) 40 invcoef = 16384 - coef; /* 16384 = 1.0 (Q14)*/ 43 (WEBRTC_SPL_MUL_16_16(coef, in1[i]) + WEBRTC_SPL_MUL_16_16(invcoef, in2[i]))+8192,
|
bw_expand.c | 30 int16_t *coef, /* (i) the bandwidth expansion factor Q15 */ 37 /* out[i] = coef[i] * in[i] with rounding. 38 in[] and out[] are in Q12 and coef[] is in Q15 40 out[i] = (int16_t)((WEBRTC_SPL_MUL_16_16(coef[i], in[i])+16384)>>15);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/ |
filter_functions.c | 22 void WebRtcIsac_AllPoleFilter(double *InOut, double *Coef, int lengthInOut, int orderCoef){ 29 //if (fabs(Coef[0]-1.0)<0.001) { 30 if ( (Coef[0] > 0.9999) && (Coef[0] < 1.0001) ) 34 sum = Coef[1] * InOut[-1]; 36 sum += Coef[k] * InOut[-k]; 43 scal = 1.0 / Coef[0]; 48 *InOut -= scal*Coef[k]*InOut[-k]; 56 void WebRtcIsac_AllZeroFilter(double *In, double *Coef, int lengthInOut, int orderCoef, double *Out){ 65 tmp = In[0] * Coef[0] [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
filter_functions.c | 21 void WebRtcIsac_AllPoleFilter(double *InOut, double *Coef, int lengthInOut, int orderCoef){ 28 //if (fabs(Coef[0]-1.0)<0.001) { 29 if ( (Coef[0] > 0.9999) && (Coef[0] < 1.0001) ) 33 sum = Coef[1] * InOut[-1]; 35 sum += Coef[k] * InOut[-k]; 42 scal = 1.0 / Coef[0]; 47 *InOut -= scal*Coef[k]*InOut[-k]; 55 void WebRtcIsac_AllZeroFilter(double *In, double *Coef, int lengthInOut, int orderCoef, double *Out){ 64 tmp = In[0] * Coef[0] [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_setup.c | 100 struct tgsi_interp_coef coef[PIPE_MAX_SHADER_INPUTS]; member in struct:setup_context 456 * The result will be put into setup->coef[slot].a0[i]. 462 struct tgsi_interp_coef *coef, 467 coef->dadx[i] = 0; 468 coef->dady[i] = 0; 472 coef->a0[i] = setup->vprovoke[vertSlot][i]; 483 struct tgsi_interp_coef *coef, 496 coef->dadx[i] = dadx; 497 coef->dady[i] = dady; 511 coef->a0[i] = (v[0] [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_setup.c | 100 struct tgsi_interp_coef coef[PIPE_MAX_SHADER_INPUTS]; member in struct:setup_context 456 * The result will be put into setup->coef[slot].a0[i]. 462 struct tgsi_interp_coef *coef, 467 coef->dadx[i] = 0; 468 coef->dady[i] = 0; 472 coef->a0[i] = setup->vprovoke[vertSlot][i]; 483 struct tgsi_interp_coef *coef, 496 coef->dadx[i] = dadx; 497 coef->dady[i] = dady; 511 coef->a0[i] = (v[0] [all...] |
/external/libvpx/libvpx/test/ |
partial_idct_test.cc | 90 int16_t coef = static_cast<int16_t>(sqrt(1.0 * max_energy_leftover) * local 92 max_energy_leftover -= coef * coef; 95 coef = 0; 97 test_coef_block1[vp9_default_scan_orders[tx_size_].scan[j]] = coef;
|
/external/speex/libspeex/ |
lsp_bfin.h | 39 spx_word16_t *coef, /* P or Q coefs in Q13 format */ 49 "P0 = %2;\n\t" /* P0: coef[m], coef[m-1],..., coef[0] */ 81 : "a" (x), "a" (&coef[m]), "a" (m-1)
|