/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | get_pred_outside.cpp | 113 #define PAD_CORNER { temp = *prev; \ 114 temp |= (temp<<8); \ 115 temp |= (temp<<16); \ 116 *((uint32*)ptr) = temp; \ 117 *((uint32*)(ptr+4)) = temp; \ 118 *((uint32*)(ptr+=16)) = temp; \ 119 *((uint32*)(ptr+4)) = temp; \ 120 *((uint32*)(ptr+=16)) = temp; \ 121 *((uint32*)(ptr+4)) = temp; \ 122 *((uint32*)(ptr+=16)) = temp; \ [all …]
|
D | vlc_dequant.cpp | 77 int32 temp; in VlcDequantMpegIntraBlock() local 148 temp = (int32)datablock[k] * qmat[k] * QP; in VlcDequantMpegIntraBlock() 149 temp = (temp + (0x7 & (temp >> 31))) >> 3; in VlcDequantMpegIntraBlock() 150 if (temp > 2047) temp = 2047; in VlcDequantMpegIntraBlock() 151 else if (temp < -2048) temp = -2048; in VlcDequantMpegIntraBlock() 152 datablock[k] = (int) temp; in VlcDequantMpegIntraBlock() 157 sum ^= temp; in VlcDequantMpegIntraBlock() 193 temp = (int32)dcac_col[j] * qmat[k] * QP; in VlcDequantMpegIntraBlock() 194 temp = (temp + (0x7 & (temp >> 31))) >> 3; /* 03/26/01*/ in VlcDequantMpegIntraBlock() 195 if (temp > 2047) temp = 2047; in VlcDequantMpegIntraBlock() [all …]
|
D | idct_vca.cpp | 450 int32 x0, x1, x2, x4, x5, temp; in idctrow2_intra() local 476 temp = ((x0 + x2) >> 14); in idctrow2_intra() 477 CLIP_RESULT(temp) in idctrow2_intra() 478 word = word | (temp << 8); in idctrow2_intra() 479 temp = ((x0 + x1) >> 14); in idctrow2_intra() 480 CLIP_RESULT(temp) in idctrow2_intra() 481 word = word | (temp << 16); in idctrow2_intra() 482 temp = ((x0 + x5) >> 14); in idctrow2_intra() 483 CLIP_RESULT(temp) in idctrow2_intra() 484 word = word | (temp << 24); in idctrow2_intra() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlingerProperties.cpp | 36 auto temp = SurfaceFlingerProperties::vsync_event_phase_offset_ns(); in vsync_event_phase_offset_ns() local 37 if (temp.has_value()) { in vsync_event_phase_offset_ns() 38 return *temp; in vsync_event_phase_offset_ns() 45 auto temp = SurfaceFlingerProperties::vsync_sf_event_phase_offset_ns(); in vsync_sf_event_phase_offset_ns() local 46 if (temp.has_value()) { in vsync_sf_event_phase_offset_ns() 47 return *temp; in vsync_sf_event_phase_offset_ns() 54 auto temp = SurfaceFlingerProperties::use_context_priority(); in use_context_priority() local 55 if (temp.has_value()) { in use_context_priority() 56 return *temp; in use_context_priority() 63 auto temp = SurfaceFlingerProperties::max_frame_buffer_acquired_buffers(); in max_frame_buffer_acquired_buffers() local [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | BQ_1I_D16F32Css_TRC_WRA_01_init.c | 46 LVM_FLOAT temp; in BQ_1I_D16F32Css_TRC_WRA_01_Init() local 50 temp = pCoef->A2; in BQ_1I_D16F32Css_TRC_WRA_01_Init() 51 pBiquadState->coefs[0] = temp; in BQ_1I_D16F32Css_TRC_WRA_01_Init() 52 temp = pCoef->A1; in BQ_1I_D16F32Css_TRC_WRA_01_Init() 53 pBiquadState->coefs[1] = temp; in BQ_1I_D16F32Css_TRC_WRA_01_Init() 54 temp = pCoef->A0; in BQ_1I_D16F32Css_TRC_WRA_01_Init() 55 pBiquadState->coefs[2] = temp; in BQ_1I_D16F32Css_TRC_WRA_01_Init() 56 temp = pCoef->B2; in BQ_1I_D16F32Css_TRC_WRA_01_Init() 57 pBiquadState->coefs[3] = temp; in BQ_1I_D16F32Css_TRC_WRA_01_Init() 58 temp = pCoef->B1; in BQ_1I_D16F32Css_TRC_WRA_01_Init() [all …]
|
D | BQ_1I_D16F16Css_TRC_WRA_01_Init.c | 45 LVM_FLOAT temp; in BQ_1I_D16F16Css_TRC_WRA_01_Init() local 48 temp = pCoef->A2; in BQ_1I_D16F16Css_TRC_WRA_01_Init() 49 pBiquadState->coefs[0] = temp; in BQ_1I_D16F16Css_TRC_WRA_01_Init() 50 temp = pCoef->A1; in BQ_1I_D16F16Css_TRC_WRA_01_Init() 51 pBiquadState->coefs[1] = temp; in BQ_1I_D16F16Css_TRC_WRA_01_Init() 52 temp = pCoef->A0; in BQ_1I_D16F16Css_TRC_WRA_01_Init() 53 pBiquadState->coefs[2] = temp; in BQ_1I_D16F16Css_TRC_WRA_01_Init() 54 temp = pCoef->B2; in BQ_1I_D16F16Css_TRC_WRA_01_Init() 55 pBiquadState->coefs[3] = temp; in BQ_1I_D16F16Css_TRC_WRA_01_Init() 56 temp = pCoef->B1; in BQ_1I_D16F16Css_TRC_WRA_01_Init() [all …]
|
D | BQ_2I_D16F32Css_TRC_WRA_01_init.c | 45 LVM_FLOAT temp; in BQ_2I_D16F32Css_TRC_WRA_01_Init() local 48 temp = pCoef->A2; in BQ_2I_D16F32Css_TRC_WRA_01_Init() 49 pBiquadState->coefs[0] = temp; in BQ_2I_D16F32Css_TRC_WRA_01_Init() 50 temp = pCoef->A1; in BQ_2I_D16F32Css_TRC_WRA_01_Init() 51 pBiquadState->coefs[1] = temp; in BQ_2I_D16F32Css_TRC_WRA_01_Init() 52 temp = pCoef->A0; in BQ_2I_D16F32Css_TRC_WRA_01_Init() 53 pBiquadState->coefs[2] = temp; in BQ_2I_D16F32Css_TRC_WRA_01_Init() 54 temp = pCoef->B2; in BQ_2I_D16F32Css_TRC_WRA_01_Init() 55 pBiquadState->coefs[3] = temp; in BQ_2I_D16F32Css_TRC_WRA_01_Init() 56 temp = pCoef->B1; in BQ_2I_D16F32Css_TRC_WRA_01_Init() [all …]
|
D | BQ_2I_D32F32Cll_TRC_WRA_01_Init.c | 45 LVM_FLOAT temp; in BQ_2I_D32F32Cll_TRC_WRA_01_Init() local 48 temp = pCoef->A2; in BQ_2I_D32F32Cll_TRC_WRA_01_Init() 49 pBiquadState->coefs[0] = temp; in BQ_2I_D32F32Cll_TRC_WRA_01_Init() 50 temp = pCoef->A1; in BQ_2I_D32F32Cll_TRC_WRA_01_Init() 51 pBiquadState->coefs[1] = temp; in BQ_2I_D32F32Cll_TRC_WRA_01_Init() 52 temp = pCoef->A0; in BQ_2I_D32F32Cll_TRC_WRA_01_Init() 53 pBiquadState->coefs[2] = temp; in BQ_2I_D32F32Cll_TRC_WRA_01_Init() 54 temp = pCoef->B2; in BQ_2I_D32F32Cll_TRC_WRA_01_Init() 55 pBiquadState->coefs[3] = temp; in BQ_2I_D32F32Cll_TRC_WRA_01_Init() 56 temp = pCoef->B1; in BQ_2I_D32F32Cll_TRC_WRA_01_Init() [all …]
|
D | BQ_2I_D16F16Css_TRC_WRA_01_Init.c | 46 LVM_FLOAT temp; in BQ_2I_D16F16Css_TRC_WRA_01_Init() local 50 temp = pCoef->A2; in BQ_2I_D16F16Css_TRC_WRA_01_Init() 51 pBiquadState->coefs[0] = temp; in BQ_2I_D16F16Css_TRC_WRA_01_Init() 52 temp = pCoef->A1; in BQ_2I_D16F16Css_TRC_WRA_01_Init() 53 pBiquadState->coefs[1] = temp; in BQ_2I_D16F16Css_TRC_WRA_01_Init() 54 temp = pCoef->A0; in BQ_2I_D16F16Css_TRC_WRA_01_Init() 55 pBiquadState->coefs[2] = temp; in BQ_2I_D16F16Css_TRC_WRA_01_Init() 56 temp = pCoef->B2; in BQ_2I_D16F16Css_TRC_WRA_01_Init() 57 pBiquadState->coefs[3] = temp; in BQ_2I_D16F16Css_TRC_WRA_01_Init() 58 temp = pCoef->B1; in BQ_2I_D16F16Css_TRC_WRA_01_Init() [all …]
|
D | MSTo2i_Sat_16x16.c | 33 LVM_INT32 temp,mVal,sVal; in MSTo2i_Sat_16x16() local 45 temp = mVal + sVal; in MSTo2i_Sat_16x16() 47 if (temp > 0x00007FFF) in MSTo2i_Sat_16x16() 51 else if (temp < -0x00008000) in MSTo2i_Sat_16x16() 57 *dst = (LVM_INT16)temp; in MSTo2i_Sat_16x16() 61 temp = mVal - sVal; in MSTo2i_Sat_16x16() 63 if (temp > 0x00007FFF) in MSTo2i_Sat_16x16() 67 else if (temp < -0x00008000) in MSTo2i_Sat_16x16() 73 *dst = (LVM_INT16)temp; in MSTo2i_Sat_16x16() 86 LVM_FLOAT temp,mVal,sVal; in MSTo2i_Sat_Float() local [all …]
|
D | FO_2I_D16F32Css_LShx_TRC_WRA_01_Init.c | 45 LVM_FLOAT temp; in FO_2I_D16F32Css_LShx_TRC_WRA_01_Init() local 49 temp = pCoef->A1; in FO_2I_D16F32Css_LShx_TRC_WRA_01_Init() 50 pBiquadState->coefs[0] = temp; in FO_2I_D16F32Css_LShx_TRC_WRA_01_Init() 51 temp = pCoef->A0; in FO_2I_D16F32Css_LShx_TRC_WRA_01_Init() 52 pBiquadState->coefs[1] = temp; in FO_2I_D16F32Css_LShx_TRC_WRA_01_Init() 53 temp = pCoef->B1; in FO_2I_D16F32Css_LShx_TRC_WRA_01_Init() 54 pBiquadState->coefs[2] = temp; in FO_2I_D16F32Css_LShx_TRC_WRA_01_Init() 61 LVM_INT16 temp; in FO_2I_D16F32Css_LShx_TRC_WRA_01_Init() local 65 temp=pCoef->A1; in FO_2I_D16F32Css_LShx_TRC_WRA_01_Init() 66 pBiquadState->coefs[0]=temp; in FO_2I_D16F32Css_LShx_TRC_WRA_01_Init() [all …]
|
D | FO_1I_D16F16Css_TRC_WRA_01_Init.c | 46 LVM_FLOAT temp; in FO_1I_D16F16Css_TRC_WRA_01_Init() local 49 temp = pCoef->A1; in FO_1I_D16F16Css_TRC_WRA_01_Init() 50 pBiquadState->coefs[0] = temp; in FO_1I_D16F16Css_TRC_WRA_01_Init() 51 temp = pCoef->A0; in FO_1I_D16F16Css_TRC_WRA_01_Init() 52 pBiquadState->coefs[1] = temp; in FO_1I_D16F16Css_TRC_WRA_01_Init() 53 temp = pCoef->B1; in FO_1I_D16F16Css_TRC_WRA_01_Init() 54 pBiquadState->coefs[2] = temp; in FO_1I_D16F16Css_TRC_WRA_01_Init() 61 LVM_INT16 temp; in FO_1I_D16F16Css_TRC_WRA_01_Init() local 65 temp=pCoef->A1; in FO_1I_D16F16Css_TRC_WRA_01_Init() 66 pBiquadState->coefs[0]=temp; in FO_1I_D16F16Css_TRC_WRA_01_Init() [all …]
|
D | FO_1I_D32F32Cll_TRC_WRA_01_Init.c | 45 LVM_FLOAT temp; in FO_1I_D32F32Cll_TRC_WRA_01_Init() local 49 temp = pCoef->A1; in FO_1I_D32F32Cll_TRC_WRA_01_Init() 50 pBiquadState->coefs[0] = temp; in FO_1I_D32F32Cll_TRC_WRA_01_Init() 51 temp = pCoef->A0; in FO_1I_D32F32Cll_TRC_WRA_01_Init() 52 pBiquadState->coefs[1] = temp; in FO_1I_D32F32Cll_TRC_WRA_01_Init() 53 temp = pCoef->B1; in FO_1I_D32F32Cll_TRC_WRA_01_Init() 54 pBiquadState->coefs[2] = temp; in FO_1I_D32F32Cll_TRC_WRA_01_Init() 61 LVM_INT32 temp; in FO_1I_D32F32Cll_TRC_WRA_01_Init() local 65 temp=pCoef->A1; in FO_1I_D32F32Cll_TRC_WRA_01_Init() 66 pBiquadState->coefs[0]=temp; in FO_1I_D32F32Cll_TRC_WRA_01_Init() [all …]
|
D | Shift_Sat_v32xv32.c | 33 LVM_FLOAT temp; in Shift_Sat_Float() local 41 temp = (LVM_FLOAT)*src; in Shift_Sat_Float() 45 temp = temp * 2; in Shift_Sat_Float() 48 if(temp > 1.0) in Shift_Sat_Float() 49 temp = 1.0; in Shift_Sat_Float() 50 if(temp < -1.0) in Shift_Sat_Float() 51 temp = -1.0; in Shift_Sat_Float() 53 *dst = (LVM_FLOAT)temp; in Shift_Sat_Float() 63 temp = (LVM_FLOAT)*src; in Shift_Sat_Float() 67 temp = temp / 2; in Shift_Sat_Float() [all …]
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_decode_header.cpp | 121 uint32 temp; in pvmp3_decode_header() local 136 temp = getUpTo17bits(inputStream, SYNC_WORD_LNGTH); in pvmp3_decode_header() 137 if ((temp & SYNC_WORD) != SYNC_WORD) in pvmp3_decode_header() 147 temp = getNbits(inputStream, 21); // to avoid multiple bitstream accesses in pvmp3_decode_header() 150 switch (temp >> 19) /* 2 */ in pvmp3_decode_header() 167 info->layer_description = 4 - ((temp << 13) >> 30); /* 2 */ in pvmp3_decode_header() 168 info->error_protection = !((temp << 15) >> 31); /* 1 */ in pvmp3_decode_header() 173 calculate_crc((temp << 16) >> 16, 16, crc); in pvmp3_decode_header() 176 info->bitrate_index = (temp << 16) >> 28; /* 4 */ in pvmp3_decode_header() 177 info->sampling_frequency = (temp << 20) >> 30; /* 2 */ in pvmp3_decode_header() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
D | d_plsf_3.cpp | 173 Word16 temp; in D_plsf_3() local 186 temp = in D_plsf_3() 201 temp, in D_plsf_3() 212 temp = in D_plsf_3() 218 temp = in D_plsf_3() 221 temp, in D_plsf_3() 227 temp, in D_plsf_3() 238 temp = in D_plsf_3() 247 temp, in D_plsf_3() 302 temp = index + (index << 1); in D_plsf_3() [all …]
|
D | d_plsf_5.cpp | 312 Word16 temp; in D_plsf_5() local 333 temp = in D_plsf_5() 348 temp, in D_plsf_5() 363 temp = in D_plsf_5() 369 temp = in D_plsf_5() 372 temp, in D_plsf_5() 378 temp, in D_plsf_5() 387 temp = in D_plsf_5() 393 p_dico = &dico1_lsf_5[temp]; in D_plsf_5() 400 temp = in D_plsf_5() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | q_plsf_3.cpp | 285 Word16 temp; in Vq_subvec4() local 318 temp = lsf_r1_0 - (*p_dico++); in Vq_subvec4() 319 temp = (Word16)((((Word32) wf1_0) * temp) >> 15); in Vq_subvec4() 320 dist = ((Word32) temp) * temp; in Vq_subvec4() 322 temp = lsf_r1_1 - (*p_dico++); in Vq_subvec4() 323 temp = (Word16)((((Word32) wf1_1) * temp) >> 15); in Vq_subvec4() 324 dist += ((Word32) temp) * temp; in Vq_subvec4() 326 temp = lsf_r1_2 - (*p_dico++); in Vq_subvec4() 327 temp = (Word16)((((Word32) wf1_2) * temp) >> 15); in Vq_subvec4() 328 dist += ((Word32) temp) * temp; in Vq_subvec4() [all …]
|
D | int_lpc.cpp | 443 Word16 temp; in Int_lpc_1to3() local 450 temp = shr(lsp_old[i], 2, pOverflow); in Int_lpc_1to3() 451 temp = sub(lsp_old[i], temp, pOverflow); in Int_lpc_1to3() 454 lsp[i] = add(temp2, temp, pOverflow); in Int_lpc_1to3() 467 temp = shr(lsp_new[i], 1, pOverflow); in Int_lpc_1to3() 469 lsp[i] = add(temp, temp2, pOverflow); in Int_lpc_1to3() 481 temp = shr(lsp_new[i], 2, pOverflow); in Int_lpc_1to3() 482 temp = sub(lsp_new[i], temp, pOverflow); in Int_lpc_1to3() 485 lsp[i] = add(temp2, temp, pOverflow); in Int_lpc_1to3() 580 Word16 temp; in Int_lpc_1to3_2() local [all …]
|
D | syn_filt.cpp | 270 Word16 temp; in Syn_filt() local 306 temp = (Word16)(s1 >> 12); in Syn_filt() 310 temp = MAX_16; in Syn_filt() 314 temp = MIN_16; in Syn_filt() 317 s2 = amrnb_fxp_msu_16_by_16bb((Word32)a[1], (Word32)temp, s2); in Syn_filt() 319 *(yy++) = temp; in Syn_filt() 320 *(p_y++) = temp; in Syn_filt() 327 temp = (Word16)(s2 >> 12); in Syn_filt() 331 temp = MAX_16; in Syn_filt() 335 temp = MIN_16; in Syn_filt() [all …]
|
/frameworks/av/media/libeffects/testlibs/ |
D | EffectReverb.c | 762 int32_t temp; in Reverb_getParameter() local 825 temp = (pReverb->m_nRoomLpfFwd << 15) in Reverb_getParameter() 827 *pValue16 = Effects_Linear16ToMillibels(temp); in Reverb_getParameter() 829 …M_ROOM_LEVEL %d, gain %d, m_nRoomLpfFwd %d, m_nRoomLpfFbk %d", *pValue16, temp, pReverb->m_nRoomLp… in Reverb_getParameter() 843 temp = MULT_EG1_EG1(pReverb->m_nRoomLpfFbk, pReverb->m_nRoomLpfFbk); in Reverb_getParameter() 844 ALOGV("get REVERB_PARAM_ROOM_HF_LEVEL, a1^2 %d", temp); in Reverb_getParameter() 848 temp = 32767 + temp - temp2; in Reverb_getParameter() 849 ALOGV("get REVERB_PARAM_ROOM_HF_LEVEL, a1^2 + 2 Cos a1 + 1 %d", temp); in Reverb_getParameter() 850 temp = Effects_Sqrt(temp) * 181; in Reverb_getParameter() 851 ALOGV("get REVERB_PARAM_ROOM_HF_LEVEL, SQRT(a1^2 + 2 Cos a1 + 1) %d", temp); in Reverb_getParameter() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | agc2_amr_wb.cpp | 128 int16 temp; in agc2_amr_wb() local 132 temp = sig_out[0] >> 2; in agc2_amr_wb() 133 s = fxp_mul_16by16(temp, temp) << 1; in agc2_amr_wb() 136 temp = sig_out[i] >> 2; in agc2_amr_wb() 137 s = mac_16by16_to_int32(s, temp, temp); in agc2_amr_wb() 150 temp = sig_in[0] >> 2; in agc2_amr_wb() 151 s = mul_16by16_to_int32(temp, temp); in agc2_amr_wb() 154 temp = sig_in[i] >> 2; in agc2_amr_wb() 155 s = mac_16by16_to_int32(s, temp, temp); in agc2_amr_wb()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | motion_comp.cpp | 1455 #define PAD_CORNER { temp = *src; \ 1456 temp |= (temp<<8); \ 1457 temp |= (temp<<16); \ 1458 *((ULong*)dst) = temp; \ 1459 *((ULong*)(dst+4)) = temp; \ 1460 *((ULong*)(dst+=lx)) = temp; \ 1461 *((ULong*)(dst+4)) = temp; \ 1462 *((ULong*)(dst+=lx)) = temp; \ 1463 *((ULong*)(dst+4)) = temp; \ 1464 *((ULong*)(dst+=lx)) = temp; \ [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | AverageFilter.java | 35 private float[] temp = new float[NUM_FRAMES]; field in AverageFilter 58 temp[counter] = ((Float)inFrameValue.getValue()).floatValue(); in onProcess() 63 float output = (temp[0] + temp[1] + temp[2] + temp[3] + temp[4]) / NUM_FRAMES; in onProcess() 64 if (mLogVerbose) Log.v(TAG, "Avg= " + output + "temp1= " + temp[0] + "temp2= " + in onProcess() 65 temp[1] + "temp3= " + temp[2] + "temp4=" + temp[3] + "temp5=" + temp[4]); in onProcess()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | autocorr.cpp | 321 Word16 temp; in Autocorr() local 343 temp = (amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_wind++), 0x04000)) >> 15; in Autocorr() 344 *(p_y++) = temp; in Autocorr() 346 sum += ((Word32)temp * temp) << 1; in Autocorr() 370 … temp = (amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_wind++), 0x04000)) >> 15; in Autocorr() 371 *(p_y++) = temp; in Autocorr() 396 temp = *p_y >> 2; in Autocorr() 397 *(p_y++) = temp; in Autocorr() 398 sum += ((Word32)temp * temp) << 1; in Autocorr() 399 temp = *p_y >> 2; in Autocorr() [all …]
|