Home
last modified time | relevance | path

Searched refs:res2 (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/media/module/codecs/m4v_h263/enc/src/
Dfastidct.cpp341 int res, res2; in idct_row1Inter() local
355 res2 = tmp + ((pred_word >> 8) & 0xFF); in idct_row1Inter()
356 CLIP_RESULT(res2); in idct_row1Inter()
357 dst_word = (res2 << 8) | res; in idct_row1Inter()
369 res2 = tmp + ((pred_word >> 8) & 0xFF); in idct_row1Inter()
370 CLIP_RESULT(res2); in idct_row1Inter()
371 dst_word = (res2 << 8) | res; in idct_row1Inter()
390 int res, res2; in idct_row2Inter() local
416 res2 = (x0 + x2) >> 14; in idct_row2Inter()
417 ADD_AND_CLIP2(res2); in idct_row2Inter()
[all …]
/frameworks/av/media/module/codecs/m4v_h263/dec/src/
Didct_vca.cpp47 int res, res2; in idctrow1() local
63 res2 = tmp + ((pred_word >> 8) & 0xFF); in idctrow1()
64 CLIP_RESULT(res2); in idctrow1()
65 dst_word = (res2 << 8) | res; in idctrow1()
77 res2 = tmp + ((pred_word >> 8) & 0xFF); in idctrow1()
78 CLIP_RESULT(res2); in idctrow1()
79 dst_word = (res2 << 8) | res; in idctrow1()
104 int res, res2; in idctrow2() local
132 res2 = (x0 + x2) >> 14; in idctrow2()
133 ADD_AND_CLIP2(res2); in idctrow2()
[all …]
Dblock_idct.cpp520 int res, res2; in idctrow() local
589 res2 = (x3 + x2) >> 14; in idctrow()
590 ADD_AND_CLIP2(res2); in idctrow()
591 dst_word = (res2 << 8) | res; in idctrow()
604 res2 = (x0 - x4) >> 14; in idctrow()
605 ADD_AND_CLIP2(res2); in idctrow()
606 dst_word = (res2 << 8) | res; in idctrow()
/frameworks/libs/binary_translation/tests/inline_asm_tests/
Dmain_arm64.cc101 __uint128_t res2 = ASM_INSN_WRAP_FUNC_W_RES("fmov s0, #3.8750e+00")(); in TEST() local
102 ASSERT_EQ(res2, MakeUInt128(0x40780000U, 0U)); in TEST()
208 __uint128_t res2 = ASM_INSN_WRAP_FUNC_W_RES("fmov %d0, #3.8750e+00")(); in TEST() local
209 ASSERT_EQ(res2, MakeUInt128(0x400f000000000000ULL, 0U)); in TEST()
290 __uint128_t res2 = ASM_INSN_WRAP_FUNC_W_RES("fmov %0.4s, #3.8750e+00")(); in TEST() local
291 ASSERT_EQ(res2, MakeUInt128(0x4078000040780000ULL, 0x4078000040780000ULL)); in TEST()
372 __uint128_t res2 = ASM_INSN_WRAP_FUNC_W_RES("fmov %0.2d, #3.8750e+00")(); in TEST() local
373 ASSERT_EQ(res2, MakeUInt128(0x400f000000000000ULL, 0x400f000000000000ULL)); in TEST()
2568 __uint128_t res2 = AsmFrecps(bit_cast<uint32_t>(2.00f), bit_cast<uint32_t>(0.50f)); in TEST() local
2569 ASSERT_EQ(res2, bit_cast<uint32_t>(1.00f)); in TEST()
[all …]
/frameworks/av/media/module/codecs/amrnb/enc/src/
Dspreproc.cpp186 Word16 res2[], /* o : long term prediction residual */ in subframePreProc() argument
221 Residu(Aq, speech, res2, L_SUBFR); in subframePreProc()
223 memcpy(exc, res2, L_SUBFR*sizeof(Word16)); in subframePreProc()
Dcbsearch.cpp191 Word16 res2[], /* i : Long term prediction residual, Q0 */ in cbsearch() argument
305 res2, in cbsearch()
364 res2, in cbsearch()
Dcl_ltp.cpp627 Word16 res2[], /* i/o : Long term prediction residual Q0 */ in cl_ltp() argument
760 res2[i] -= (Word16)L_temp; in cl_ltp()
Dcbsearch.h117 Word16 res2[], /* i : Long term prediction residual, Q0 */
Dspreproc.h123 Word16 res2[], /* o : long term prediction residual */
Dcl_ltp.h141 Word16 res2[], /* i/o : Long term prediction residual Q0 */
Dcod_amr.cpp1238 Word16 res2[L_SUBFR]; /* Long term (LTP) prediction residual */ in cod_amr() local
1481 memcpy(res2, res, L_SUBFR*sizeof(Word16)); in cod_amr()
1487 &st->exc[i_subfr], res2, xn, lsp_flag, xn2, y1, in cod_amr()
1507 cbsearch(xn2, st->h1, T0, st->sharp, gain_pit, res2, in cod_amr()
/frameworks/av/media/module/codecs/amrnb/dec/src/
Dpstfilt.cpp247 memset(state->res2, 0, sizeof(Word16)*L_SUBFR); in Post_Filter_reset()
487 Residu(Ap3, &syn_work[i_subfr], st->res2, L_SUBFR); in Post_Filter()
559 preemphasis(&(st->preemph_state), st->res2, temp2, L_SUBFR, pOverflow); in Post_Filter()
563 Syn_filt(Ap4, st->res2, &syn[i_subfr], L_SUBFR, st->mem_syn_pst, 1); in Post_Filter()
Dpstfilt.h104 Word16 res2[L_SUBFR]; member
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dclamp.rscript26 float2 res2 = clamp(src2, min2, max2);
27 _RS_ASSERT(res2.x == 1.0f);
28 _RS_ASSERT(res2.y == 2.0f);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dclamp.rscript28 float2 res2 = clamp(src2, min2, max2);
29 _RS_ASSERT(res2.x == 1.0f);
30 _RS_ASSERT(res2.y == 2.0f);
/frameworks/av/media/libstagefright/
DSimpleDecodingSource.cpp176 status_t res2 = mSource->stop(); in stop() local
177 if (res1 == OK && res2 == OK) { in stop()
182 return res1 != OK ? res1 : res2; in stop()
/frameworks/libs/binary_translation/assembler/
Dassembler_test.cc377 uint8_t res2[16]; in ReadGlobalTest() local
378 exec.get<TestFunc>()(res1, res2); in ReadGlobalTest()
380 return (memcmp(res1, kData, 8) == 0) && (memcmp(res2, kData, 16) == 0); in ReadGlobalTest()
779 uint8_t res2[16]; in ReadGlobalTest() local
780 exec.get<TestFunc>()(res1, res2); in ReadGlobalTest()
784 return (memcmp(res1, kData, 8) == 0) && (memcmp(res2, kData, 16) == 0); in ReadGlobalTest()
/frameworks/minikin/libs/minikin/
DGreedyLineBreaker.cpp581 LineBreakResult res2 = phLineBreaker.getResult(); in breakLineGreedy() local
583 if (res2.breakPoints.size() < LBW_AUTO_HEURISTICS_LINE_COUNT) { in breakLineGreedy()
584 return res2; in breakLineGreedy()
DOptimalLineBreaker.cpp557 LineBreakResult res2 = optimizer.computeBreaks(phContext, textBuf, measured, lineWidth, in breakLineOptimal() local
559 if (res2.breakPoints.size() < LBW_AUTO_HEURISTICS_LINE_COUNT) { in breakLineOptimal()
560 return res2; in breakLineOptimal()
/frameworks/av/media/module/foundation/
DColorUtils.cpp238 status_t res2 = unwrapColorAspectsFromColorStandard( in convertPlatformColorAspectsToCodecAspects() local
241 return res1 != OK ? res1 : (res2 != OK ? res2 : res3); in convertPlatformColorAspectsToCodecAspects()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogDelegateControllerTest.java892 Resources res2 = mock(Resources.class); in getMobileNetworkSummary() local
893 doReturn("LTE").when(res2).getString(anyInt()); in getMobileNetworkSummary()
895 when(SubscriptionManager.getResourcesForSubId(any(), eq(SUB_ID2))).thenReturn(res2); in getMobileNetworkSummary()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DPhoneSwitcherTest.java1710 AsyncResult res2 = new AsyncResult(0, null, in testRetry_DDS_switch_Failure() local
1712 Message.obtain(mPhoneSwitcherUT, EVENT_MODEM_COMMAND_DONE, res2).sendToTarget(); in testRetry_DDS_switch_Failure()