Home
last modified time | relevance | path

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

12

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Drate_control.cpp375 …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 …]
Davcenc_int.h157 OsclFloat mad; member
169 OsclFloat mad; /* mad for current frame, = video->avgMAD*/ member
/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()
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()
Dmp4lib_int.h256 float mad; member
268 float mad; /* mad for current frame, = video->avgMAD*/ member
/frameworks/rs/java/tests/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/rs/java/tests/ImageProcessing2/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/rs/java/tests/ImageProcessing_jb/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/rs/java/tests/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/java/tests/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/java/tests/RSTest_CompatLib/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/api/
Drs_math.spec637 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/
Dmath.rs160 TEST_FN_FUNC_FN_FN_FN(mad);
/frameworks/rs/driver/runtime/
Drs_cl.c487 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

12