Home
last modified time | relevance | path

Searched refs:Gx (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/libvideoeditor/vss/common/inc/
DM4VIFI_Defines.h51 #define DEMATRIX(Rx,Gx,Bx,Yx37,Ux,Vx) \ argument
53 Gx = CLIP(((Yx37 - ((Ux+(Vx<<1)) * 13) +16) >> 5) + 135); \
56 #define DEMATRIX(Rx,Gx,Bx,Yx2568,Ux,Vx) \ argument
58 Gx = CLIP(((Yx2568 - (Ux * 0x0c92) - (Vx * 0x1a1e) + (M4VIFI_Int32)0x00110180) >> 13)); \
71 #define PACK_BGR24(rgb_ptr,Rx,Gx,Bx) {rgb_ptr[0] = (M4VIFI_UInt8)Bx; rgb_ptr[1] =\ argument
72 (M4VIFI_UInt8)Gx; rgb_ptr[2] = (M4VIFI_UInt8)Rx;}
73 #define PACK_RGB24(rgb_ptr,Rx,Gx,Bx) {rgb_ptr[0] = (M4VIFI_UInt8)Rx; rgb_ptr[1] =\ argument
74 (M4VIFI_UInt8)Gx; rgb_ptr[2] = (M4VIFI_UInt8)Bx;}
77 #define PACK_RGB565(a, Rx, Gx, Bx) (((Rx >> 3) << (11 + (a)))\ argument
78 | ((Gx >> 2) << (5 + (a))) | ((Bx >> 3) << (a)))
[all …]