Home
last modified time | relevance | path

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

12

/frameworks/base/startop/scripts/app_startup/
Dapp_startup_runner_test.py134 mad = default_mock_dict_for_parsed_args # mock assert dict
135 assert parse_optional_args("--output filename.csv") == mad(output='filename.csv')
136 assert parse_optional_args("-o filename.csv") == mad(output='filename.csv')
138 assert parse_optional_args("--timeout 123") == mad(timeout=123)
139 assert parse_optional_args("-t 456") == mad(timeout=456)
141 assert parse_optional_args("--loop-count 123") == mad(loop_count=123)
142 assert parse_optional_args("-lc 456") == mad(loop_count=456)
144 assert parse_optional_args("--inodes bar") == mad(inodes="bar")
145 assert parse_optional_args("-in baz") == mad(inodes="baz")
/frameworks/av/media/libstagefright/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.rs62 dist = mad(dist * dist, dist, espSqr);
72 out.xyz = mad(acc, half_dt, mad(v.xyz, dt, in.xyz));
/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_approx.rsh51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
Dvignette.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_approx.rsh51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
Dvignette.rsh51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
/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_approx.rsh51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
Dvignette.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_f.rsh50 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
Dvignette_approx_f.rsh50 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs120 TEST_FUNC_3(mad);
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rs788 f = mad(f, f, f);
789 f2 = mad(f2, f2, f2);
790 f3 = mad(f3, f3, f3);
791 f4 = mad(f4, f4, f4);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dapitest.rs808 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/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dapitest.rs806 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/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/src/com/android/rs/unittest/
Dmath_fp16.rs172 TEST_HN_FUNC_HN_HN_HN(mad);

12