Searched defs:kYScale (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/libwebp/dsp/
H A Dyuv.h75 #define kYScale 19077 // 1.164 = 255 / 219 macro
80 #define kRCst (-kYScale * 16 - kVToR * 128 + YUV_HALF2)
81 #define kGCst (-kYScale * 16 + kUToG * 128 + kVToG * 128 + YUV_HALF2)
82 #define kBCst (-kYScale * 16 - kUToB * 128 + YUV_HALF2)
95 return VP8Clip8(kYScale * y + kVToR * v + kRCst);
99 return VP8Clip8(kYScale * y - kUToG * u - kVToG * v + kGCst);
103 return VP8Clip8(kYScale * y + kUToB * u + kBCst);
/external/webp/src/dsp/
H A Dyuv.h75 #define kYScale 19077 // 1.164 = 255 / 219 macro
80 #define kRCst (-kYScale * 16 - kVToR * 128 + YUV_HALF2)
81 #define kGCst (-kYScale * 16 + kUToG * 128 + kVToG * 128 + YUV_HALF2)
82 #define kBCst (-kYScale * 16 - kUToB * 128 + YUV_HALF2)
95 return VP8Clip8(kYScale * y + kVToR * v + kRCst);
99 return VP8Clip8(kYScale * y - kUToG * u - kVToG * v + kGCst);
103 return VP8Clip8(kYScale * y + kUToB * u + kBCst);

Completed in 67 milliseconds