Searched refs:mad (Results 1 - 20 of 20) sorted by relevance

/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A Dfisheye.rsh48 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
54 const float2 new_coord = mad(coord, scalar, center);
H A Dfisheye_approx.rsh48 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
54 const float2 new_coord = mad(coord, scalar, center);
H A Dvignette.rsh51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
H A Dvignette_approx.rsh51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A Dfisheye.rsh48 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
54 const float2 new_coord = mad(coord, scalar, center);
H A Dfisheye_approx.rsh48 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
54 const float2 new_coord = mad(coord, scalar, center);
H A Dvignette.rsh51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
H A Dvignette_approx.rsh51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A Dfisheye.rsh48 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
54 const float2 new_coord = mad(coord, scalar, center);
H A Dfisheye_approx.rsh48 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
54 const float2 new_coord = mad(coord, scalar, center);
H A Dvignette.rsh51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
H A Dvignette_approx.rsh51 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
H A Dfisheye_approx_f.rsh50 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
56 const float2 new_coord = mad(coord, scalar, center);
H A Dvignette_approx_f.rsh50 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
H A Dvignette_f.rsh50 const float2 coord = mad(inCoord, inv_dimensions, neg_center);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Drate_control.cpp243 /* collect the necessary data: target bits, actual bits, mad and QP */
247 pMP->mad = video->sumMAD / (float)currVol->nTotalMB;
248 if (pMP->mad < MAD_MIN) pMP->mad = MAD_MIN; /* MAD_MIN is defined as 1 in mp4def.h */
264 /* Purpose : Save QP, actual_bits, mad and R_D of the current iteration */
276 pMP->pRDSamples[pMP->framePos][counter_samples].mad = pMP->mad;
277 pMP->pRDSamples[pMP->framePos][counter_samples].R_D = (float)(pMP->actual_bits / (pMP->mad + 0.0001));
497 /* Keep the current average mad */
522 /* Purpose : quadratic bit allocation model: T(n) = C*sqrt(mad(
[all...]
H A Dmp4lib_int.h257 float mad; member in struct:tagRDInfo
269 float mad; /* mad for current frame, = video->avgMAD*/ member in struct:tagMultiPass
299 float aver_mad; /* so-far average mad could replace sum_mad */
300 float aver_mad_prev; /* previous average mad */
/frameworks/rs/script_api/
H A 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.
1460 In rs_fp_relaxed mode, mad() may not do the rounding after multiplicaiton.
1463 function: mad
/frameworks/rs/driver/runtime/
H A Drs_cl.c590 extern float __attribute__((overloadable)) mad(float a, float b, float c) { function
593 extern float2 __attribute__((overloadable)) mad(float2 a, float2 b, float2 c) { function
596 extern float3 __attribute__((overloadable)) mad(float3 a, float3 b, float3 c) { function
599 extern float4 __attribute__((overloadable)) mad(float4 a, float4 b, float4 c) { function
2073 HN_FUNC_HN_HN_HN(mad); variable
/frameworks/rs/script_api/include/
H A Drs_math.rsh1706 * This function is similar to mad(). fma() retains full precision of the multiplied result
1707 * and rounds only after the addition. mad() rounds after the multiplication and the addition.
2584 * mad: Multiply and add
2589 * and rounds only after the addition. mad() rounds after the multiplication and the addition.
2590 * In rs_fp_relaxed mode, mad() may not do the rounding after multiplicaiton.
2593 mad(float multiplicand1, float multiplicand2, float offset);
2596 mad(float2 multiplicand1, float2 multiplicand2, float2 offset);
2599 mad(float3 multiplicand1, float3 multiplicand2, float3 offset);
2602 mad(float4 multiplicand1, float4 multiplicand2, float4 offset);
2606 mad(hal
[all...]

Completed in 399 milliseconds