/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
D | rate_control.cpp | 375 …pMP->mad = (OsclFloat)rateCtrl->totalSAD / video->PicSizeInMbs; //ComputeFrameMAD(video, rateCtrl); in RCInitFrameQP() 376 if (pMP->mad < MAD_MIN) pMP->mad = MAD_MIN; /* MAD_MIN is defined as 1 in mp4def.h */ in RCInitFrameQP() 432 prev_mad = pMP->pRDSamples[i][0].mad; in calculateQuantizer_Multipass() 443 prev_mad = pMP->pRDSamples[i][0].mad; in calculateQuantizer_Multipass() 453 if (pMP->pRDSamples[i][0].mad != 0 && in calculateQuantizer_Multipass() 454 … AVC_ABS(prev_mad - curr_mad) > AVC_ABS(pMP->pRDSamples[i][0].mad - curr_mad)) in calculateQuantizer_Multipass() 456 prev_mad = pMP->pRDSamples[i][0].mad; in calculateQuantizer_Multipass() 676 pMP->sum_mad -= pMP->mad; in updateRC_PostProc() 677 …pMP->aver_mad = (pMP->aver_mad * pMP->encoded_frames - pMP->mad) / (pMP->encoded_frames - 1 + 0.00… in updateRC_PostProc() 806 …pMP->mad = (OsclFloat)rateCtrl->totalSAD / video->PicSizeInMbs; //ComputeFrameMAD(video, rateCtrl); in RCUpdateFrame() [all …]
|
D | avcenc_int.h | 157 OsclFloat mad; member 169 OsclFloat mad; /* mad for current frame, = video->avgMAD*/ member
|
/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() 732 prev_mad = pMP->pRDSamples[0][0].mad; in calculateQuantizer_Multipass() 736 if (pMP->pRDSamples[i][0].mad != 0 && prev_mad != 0 && in calculateQuantizer_Multipass() 737 PV_ABS(prev_mad - curr_mad) > PV_ABS(pMP->pRDSamples[i][0].mad - curr_mad)) in calculateQuantizer_Multipass() 739 prev_mad = pMP->pRDSamples[i][0].mad; in calculateQuantizer_Multipass() 871 pMP->sum_mad -= pMP->mad; in updateRC_PostProc() 872 …pMP->aver_mad = (pMP->aver_mad * pMP->encoded_frames - pMP->mad) / (float)(pMP->encoded_frames - 1… in updateRC_PostProc()
|
D | mp4lib_int.h | 256 float mad; member 268 float mad; /* mad for current frame, = video->avgMAD*/ member
|
/frameworks/rs/java/tests/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.rsh | 51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
|
D | vignette_approx.rsh | 51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
|
/frameworks/rs/java/tests/ImageProcessing2/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.rsh | 51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
|
D | vignette_approx.rsh | 51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
|
/frameworks/rs/java/tests/ImageProcessing_jb/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.rsh | 51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
|
D | vignette_approx.rsh | 51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
|
/frameworks/rs/java/tests/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/java/tests/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/java/tests/RSTest_CompatLib/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/api/ |
D | rs_math.spec | 637 This function is similar to @mad(). fma() retains full precision of the multiplied result 638 and rounds only after the addition. @mad() rounds after the multiplication and the addition. 960 function: mad 974 and rounds only after the addition. mad() rounds after the multiplication and the addition. function 975 In rs_fp_relaxed mode, mad() may not do the rounding after multiplicaiton. function
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
D | math.rs | 160 TEST_FN_FUNC_FN_FN_FN(mad);
|
/frameworks/rs/driver/runtime/ |
D | rs_cl.c | 487 extern float __attribute__((overloadable)) mad(float a, float b, float c) { in FN_FUNC_FN() 490 extern float2 __attribute__((overloadable)) mad(float2 a, float2 b, float2 c) { in mad() function 493 extern float3 __attribute__((overloadable)) mad(float3 a, float3 b, float3 c) { in mad() function 496 extern float4 __attribute__((overloadable)) mad(float4 a, float4 b, float4 c) { in mad() function
|