/frameworks/base/startop/scripts/app_startup/ |
D | app_startup_runner_test.py | 134 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/ |
D | rate_control.cpp | 247 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()
|
D | mp4lib_int.h | 257 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/ |
D | nbody.rs | 62 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/ |
D | fisheye_approx.rsh | 48 const float2 coord = mad(inCoord, inv_dimensions, neg_center); 54 const float2 new_coord = mad(coord, scalar, center);
|
D | fisheye.rsh | 48 const float2 coord = mad(inCoord, inv_dimensions, neg_center); 54 const float2 new_coord = mad(coord, scalar, center);
|
D | vignette_approx.rsh | 51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
|
D | vignette.rsh | 51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | fisheye.rsh | 48 const float2 coord = mad(inCoord, inv_dimensions, neg_center); 54 const float2 new_coord = mad(coord, scalar, center);
|
D | fisheye_approx.rsh | 48 const float2 coord = mad(inCoord, inv_dimensions, neg_center); 54 const float2 new_coord = mad(coord, scalar, center);
|
D | vignette_approx.rsh | 51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
|
D | vignette.rsh | 51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | fisheye_approx.rsh | 48 const float2 coord = mad(inCoord, inv_dimensions, neg_center); 54 const float2 new_coord = mad(coord, scalar, center);
|
D | fisheye.rsh | 48 const float2 coord = mad(inCoord, inv_dimensions, neg_center); 54 const float2 new_coord = mad(coord, scalar, center);
|
D | vignette_approx.rsh | 51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
|
D | vignette.rsh | 51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
|
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | fisheye_approx_f.rsh | 50 const float2 coord = mad(inCoord, inv_dimensions, neg_center); 56 const float2 new_coord = mad(coord, scalar, center);
|
D | vignette_f.rsh | 50 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
|
D | vignette_approx_f.rsh | 50 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
|
/frameworks/compile/slang/tests/P_math_fp/ |
D | math_fp.rs | 120 TEST_FUNC_3(mad);
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | apitest.rs | 788 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/ |
D | apitest.rs | 808 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/ |
D | apitest.rs | 806 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/ |
D | rs_math.spec | 921 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/ |
D | math_fp16.rs | 172 TEST_HN_FUNC_HN_HN_HN(mad);
|