Home
last modified time | relevance | path

Searched refs:mad (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/av/media/module/codecs/m4v_h263/enc/src/
Drate_control.cpp247 pMP->mad = video->sumMAD / (float)currVol->nTotalMB; in RC_VopQPSetting()
248 if (pMP->mad < MAD_MIN) pMP->mad = MAD_MIN; /* MAD_MIN is defined as 1 in mp4def.h */ in RC_VopQPSetting()
276 pMP->pRDSamples[pMP->framePos][counter_samples].mad = pMP->mad; in SaveRDSamples()
277 …pMP->pRDSamples[pMP->framePos][counter_samples].R_D = (float)(pMP->actual_bits / (pMP->mad + 0.000… in SaveRDSamples()
734 prev_mad = pMP->pRDSamples[0][0].mad; in calculateQuantizer_Multipass()
738 if (pMP->pRDSamples[i][0].mad != 0 && prev_mad != 0 && in calculateQuantizer_Multipass()
739 PV_ABS(prev_mad - curr_mad) > PV_ABS(pMP->pRDSamples[i][0].mad - curr_mad)) in calculateQuantizer_Multipass()
741 prev_mad = pMP->pRDSamples[i][0].mad; in calculateQuantizer_Multipass()
873 pMP->sum_mad -= pMP->mad; in updateRC_PostProc()
874 …pMP->aver_mad = (pMP->aver_mad * pMP->encoded_frames - pMP->mad) / (float)(pMP->encoded_frames - 1… in updateRC_PostProc()
Dmp4lib_int.h257 float mad; member
269 float mad; /* mad for current frame, = video->avgMAD*/ member
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
Dnbody.rscript62 dist = mad(dist * dist, dist, espSqr);
72 out.xyz = mad(acc, half_dt, mad(v.xyz, dt, in.xyz));
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dfisheye_approx.rsh48 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
54 const float2 new_coord = mad(coord, scalar, center);
Dfisheye.rsh48 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
54 const float2 new_coord = mad(coord, scalar, center);
Dvignette.rsh51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
Dvignette_approx.rsh51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dfisheye_approx_f.rsh50 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
56 const float2 new_coord = mad(coord, scalar, center);
Dvignette_approx_f.rsh50 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
Dvignette_f.rsh50 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dfisheye_approx.rsh48 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
54 const float2 new_coord = mad(coord, scalar, center);
Dfisheye.rsh48 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
54 const float2 new_coord = mad(coord, scalar, center);
Dvignette.rsh51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
Dvignette_approx.rsh51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dfisheye.rsh48 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
54 const float2 new_coord = mad(coord, scalar, center);
Dfisheye_approx.rsh48 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
54 const float2 new_coord = mad(coord, scalar, center);
Dvignette.rsh51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
Dvignette_approx.rsh51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rscript120 TEST_FUNC_3(mad);
/frameworks/rs/script_api/
Drs_math.spec921 This function is similar to @mad(). fma() retains full precision of the multiplied result
922 and rounds only after the addition. @mad() rounds after the multiplication and the addition.
1445 function: mad
1459 and rounds only after the addition. mad() rounds after the multiplication and the addition. function
1460 In rs_fp_relaxed mode, mad() may not do the rounding after multiplicaiton. function
1463 function: mad
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dapitest.rscript806 f = mad(f, f, f);
807 f2 = mad(f2, f2, f2);
808 f3 = mad(f3, f3, f3);
809 f4 = mad(f4, f4, f4);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dapitest.rscript808 f = mad(f, f, f);
809 f2 = mad(f2, f2, f2);
810 f3 = mad(f3, f3, f3);
811 f4 = mad(f4, f4, f4);
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Dmath.rscript160 TEST_FN_FUNC_FN_FN_FN(mad);
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Dmath.rs.bak280 TEST_FN_FUNC_FN_FN_FN(mad);
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Dmath.rscript294 TEST_FN_FUNC_FN_FN_FN(mad);

12