Home
last modified time | relevance | path

Searched refs:color (Results 1 - 25 of 70) sorted by relevance

123

/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/include/
H A Dhifb.h114 static inline HI_U8 hifb_rgb(const struct fb_bitfield *pBit, HI_S32 color) in hifb_rgb() argument
116 return ((HI_U8)((((HI_U32)color) >> pBit->offset) << (8 - pBit->length)) + /* 8 Digits to flip */ in hifb_rgb()
117 ((HI_U8)(((HI_U32)(color) >> pBit->offset) << (8 - pBit->length)) >> pBit->length)); /* 8 Digits to flip */ in hifb_rgb()
120 static inline HI_S32 hifb_color2key(const struct fb_var_screeninfo *pVar, HI_S32 color) in hifb_color2key() argument
123 return color; in hifb_color2key()
126 r = hifb_rgb(&pVar->red, color); in hifb_color2key()
127 g = hifb_rgb(&pVar->green, color); in hifb_color2key()
128 b = hifb_rgb(&pVar->blue, color); in hifb_color2key()
224 HI_BOOL bCmap; /* whether support color map */
225 HI_BOOL bHasCmapReg; /* whether has color ma
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
H A Dhifb.h89 static inline HI_U8 hifb_rgb(const struct fb_bitfield *pBit, HI_S32 color) in hifb_rgb() argument
91 return ((HI_U8)((((HI_U32)color) >> pBit->offset) << (8 - pBit->length)) + /* 8 Digits to flip */ in hifb_rgb()
92 ((HI_U8)(((HI_U32)(color) >> pBit->offset) << (8 - pBit->length)) >> pBit->length)); /* 8 Digits to flip */ in hifb_rgb()
95 static inline HI_S32 hifb_color2key(const struct fb_var_screeninfo *pVar, HI_S32 color) in hifb_color2key() argument
98 return color; in hifb_color2key()
101 r = hifb_rgb(&pVar->red, color); in hifb_color2key()
102 g = hifb_rgb(&pVar->green, color); in hifb_color2key()
103 b = hifb_rgb(&pVar->blue, color); in hifb_color2key()
199 HI_BOOL bCmap; /* whether support color map */
200 HI_BOOL bHasCmapReg; /* whether has color ma
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dhifb.h94 static inline HI_U8 hifb_rgb(const struct fb_bitfield *pBit, HI_S32 color) in hifb_rgb() argument
96 return ((HI_U8)((((HI_U32)color) >> pBit->offset) << (8 - pBit->length)) + /* 8 Digits to flip */ in hifb_rgb()
97 ((HI_U8)(((HI_U32)(color) >> pBit->offset) << (8 - pBit->length)) >> pBit->length)); /* 8 Digits to flip */ in hifb_rgb()
100 static inline HI_S32 hifb_color2key(const struct fb_var_screeninfo *pVar, HI_S32 color) in hifb_color2key() argument
103 return color; in hifb_color2key()
106 r = hifb_rgb(&pVar->red, color); in hifb_color2key()
107 g = hifb_rgb(&pVar->green, color); in hifb_color2key()
108 b = hifb_rgb(&pVar->blue, color); in hifb_color2key()
204 HI_BOOL bCmap; /* whether support color map */
205 HI_BOOL bHasCmapReg; /* whether has color ma
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/higv/include/
H A Dhi_go_bliter.h200 * \param[in] Color Color Fill color. For the RGB format, 32-bit color is filled in; for the palette, color index(0-255)
223 * \brief Transfers bit blocks. During the transfer, color space conversion (CSC), scaling, and rotation are supported.
298 * \param[in] color Line segment color.
311 HI_S32 HI_GO_DrawLine(HI_HANDLE Surface, HI_S32 x0, HI_S32 y0, HI_S32 x1, HI_S32 y1, HI_COLOR color);
324 * \param[in] color Ellipse color.
334 HI_S32 HI_GO_DrawEllipse(HI_HANDLE Surface, HI_S32 sx, HI_S32 sy, HI_S32 rx, HI_S32 ry, HI_COLOR color);
[all...]
H A Dhi_gv_charts.h51 HI_COLOR borderColor; // Border color.[CN]:߿ɫ
54 HI_COLOR titleColor; // Title color,[CN]:ɫ
56 HI_COLOR legendColor; // Legend color, [CN]:ͼɫ
68 HI_COLOR axisColor; // Axis color: [CN]:ɫ
71 HI_COLOR axisLabelColor; // Axis font labels color, [CN]:ǩɫ
86 HI_COLOR stLineMinColor; // Standard line minimum color, [CN]:С ׼ɫ
88 HI_COLOR stLineMaxColor; // Standard line maximum color, [CN]:׼ɫ
98 HI_COLOR gridColor; // draw grid lines color, [CN]:ɫ
101 HI_COLOR textOnBarColor; // Font color of corresponding text drawn on bar chart, [CN]:ͼʾɫ
110 HI_COLOR barColor; /* Sub-histogram color, [C
126 HI_COLOR color; /* Color value corresponding to the above data, [CN]:Ӧɫֵ */ global() member
[all...]
/device/soc/rockchip/common/hardware/rga/include/
H A Dim2d.h225 int max; /* The Maximum value of the color key */
226 int min; /* The minimum value of the color key */
249 int color; /* color, used by color fill */ member
251 im_colorkey_range colorkey_range; /* range value of color key */
559 * @param color
565 #define imfill(buf, rect, color, ...) \
571 ret = imfill_t(buf, rect, color, 1); \
573 ret = imfill_t(buf, rect, color, arg
[all...]
/device/soc/rockchip/rk3399/hardware/rga/include/
H A Dim2d.h225 int max; /* The Maximum value of the color key */
226 int min; /* The minimum value of the color key */
250 int color; /* color, used by color fill */ member
252 im_colorkey_range colorkey_range; /* range value of color key */
570 * @param color
576 #define imfill(buf, rect, color, ...) \
582 ret = imfill_t(buf, rect, color, 1); \
584 ret = imfill_t(buf, rect, color, arg
[all...]
/device/soc/rockchip/rk3568/hardware/rga/include/
H A Dim2d.h225 int max; /* The Maximum value of the color key */
226 int min; /* The minimum value of the color key */
250 int color; /* color, used by color fill */ member
252 im_colorkey_range colorkey_range; /* range value of color key */
570 * @param color
576 #define imfill(buf, rect, color, ...) \
582 ret = imfill_t(buf, rect, color, 1); \
584 ret = imfill_t(buf, rect, color, arg
[all...]
/device/soc/rockchip/rk3566/hardware/display/src/display_device/
H A Ddisplay_gfx.h45 * @brief Fills a rectangle with a given color on the canvas.
49 * @param color Indicates the color to fill.
55 int32_t (*FillRect)(ISurface *surface, IRect *rect, uint32_t color, GfxOpt *opt);
58 * @brief Draws a rectangle with a given color on the canvas.
62 * @param color Indicates the color to draw.
68 int32_t (*DrawRectangle)(ISurface *surface, Rectangle *rect, uint32_t color, GfxOpt *opt);
71 * @brief Draws a straight line with a given color on the canvas.
83 * @brief Draws a circle with a specified center and radius on the canvas using a given color
[all...]
H A Dhdi_layer.cpp240 void HdiLayer::SetPixel(const BufferHandle &handle, int x, int y, uint32_t color) in SetPixel() argument
255 *pixel = color; in SetPixel()
258 void HdiLayer::ClearColor(uint32_t color) in ClearColor() argument
264 SetPixel(handle, x, y, color); in ClearColor()
/device/soc/rockchip/rk3568/hardware/display/src/display_device/
H A Ddisplay_gfx.h45 * @brief Fills a rectangle with a given color on the canvas.
49 * @param color Indicates the color to fill.
55 int32_t (*FillRect)(ISurface *surface, IRect *rect, uint32_t color, GfxOpt *opt);
58 * @brief Draws a rectangle with a given color on the canvas.
62 * @param color Indicates the color to draw.
68 int32_t (*DrawRectangle)(ISurface *surface, Rectangle *rect, uint32_t color, GfxOpt *opt);
71 * @brief Draws a straight line with a given color on the canvas.
83 * @brief Draws a circle with a specified center and radius on the canvas using a given color
[all...]
H A Dhdi_layer.cpp240 void HdiLayer::SetPixel(const BufferHandle &handle, int x, int y, uint32_t color) in SetPixel() argument
255 *pixel = color; in SetPixel()
258 void HdiLayer::ClearColor(uint32_t color) in ClearColor() argument
264 SetPixel(handle, x, y, color); in ClearColor()
/device/soc/rockchip/rk3588/hardware/display/src/display_device/
H A Ddisplay_gfx.h45 * @brief Fills a rectangle with a given color on the canvas.
49 * @param color Indicates the color to fill.
55 int32_t (*FillRect)(ISurface *surface, IRect *rect, uint32_t color, GfxOpt *opt);
58 * @brief Draws a rectangle with a given color on the canvas.
62 * @param color Indicates the color to draw.
68 int32_t (*DrawRectangle)(ISurface *surface, Rectangle *rect, uint32_t color, GfxOpt *opt);
71 * @brief Draws a straight line with a given color on the canvas.
83 * @brief Draws a circle with a specified center and radius on the canvas using a given color
[all...]
H A Dhdi_layer.cpp240 void HdiLayer::SetPixel(const BufferHandle &handle, int x, int y, uint32_t color) in SetPixel() argument
255 *pixel = color; in SetPixel()
258 void HdiLayer::ClearColor(uint32_t color) in ClearColor() argument
264 SetPixel(handle, x, y, color); in ClearColor()
/device/soc/rockchip/rk3588/hardware/rga/include/
H A Dim2d.h378 * @param color
384 #define imfill(buf, rect, color, ...) \
390 __ret = imfill_t(buf, rect, color, 1); \
392 __ret = imfill_t(buf, rect, color, (int)__args[RGA_GET_MIN(__argc, 0)]); \
400 #define imreset(buf, rect, color, ...) \
406 __ret = imfill_t(buf, rect, color, 1); \
408 __ret = imfill_t(buf, rect, color, (int)__args[RGA_GET_MIN(__argc, 0)]); \
416 #define imdraw(buf, rect, color, ...) \
422 __ret = imfill_t(buf, rect, color, 1); \
424 __ret = imfill_t(buf, rect, color, (in
[all...]
/device/soc/hisilicon/common/hal/display/source/display_device/src/core/
H A Dhdi_layer.cpp183 void HdiLayer::SetPixel(const BufferHandle &handle, int x, int y, uint32_t color) in SetPixel() argument
199 *pixel = color; in SetPixel()
202 void HdiLayer::ClearColor(uint32_t color) in ClearColor() argument
208 SetPixel(handle, x, y, color); in ClearColor()
/device/soc/rockchip/common/hardware/display/src/display_device/
H A Dhdi_layer.cpp178 void HdiLayer::SetPixel(const BufferHandle &handle, int x, int y, uint32_t color) in SetPixel() argument
196 *pixel = color; in SetPixel()
199 void HdiLayer::ClearColor(uint32_t color) in ClearColor() argument
205 SetPixel(handle, x, y, color); in ClearColor()
H A Dhdi_layer.h138 void ClearColor(uint32_t color);
140 void SetPixel(const BufferHandle &handle, int x, int y, uint32_t color);
/device/soc/rockchip/rk3399/hardware/display/src/display_device/
H A Dhdi_layer.cpp175 void HdiLayer::SetPixel(const BufferHandle &handle, int x, int y, uint32_t color) in SetPixel() argument
190 *pixel = color; in SetPixel()
193 void HdiLayer::ClearColor(uint32_t color) in ClearColor() argument
199 SetPixel(handle, x, y, color); in ClearColor()
H A Dhdi_layer.h136 void ClearColor(uint32_t color);
138 void SetPixel(const BufferHandle &handle, int x, int y, uint32_t color);
/device/soc/rockchip/common/hardware/display/src/display_gfx/
H A Ddisplay_gfx.c38 RgaSURF_FORMAT colorSpaceModeChange(PixelFormat color, uint8_t *isYuv) in colorSpaceModeChange() argument
41 switch (color) { in colorSpaceModeChange()
152 int32_t rkFillRect(ISurface *iSurface, IRect *rect, uint32_t color, GfxOpt *opt) in rkFillRect() argument
188 dst.color = color; in rkFillRect()
192 ret = imfill(dst, imRect, color); in rkFillRect()
/device/soc/rockchip/rk3399/hardware/display/src/display_gfx/
H A Ddisplay_gfx.c38 RgaSURF_FORMAT colorSpaceModeChange(PixelFormat color, uint8_t *isYuv) in colorSpaceModeChange() argument
41 switch (color) { in colorSpaceModeChange()
152 int32_t rkFillRect(ISurface *iSurface, IRect *rect, uint32_t color, GfxOpt *opt) in rkFillRect() argument
188 dst.color = color; in rkFillRect()
191 ret = imfill(dst, imRect, color); in rkFillRect()
/device/soc/rockchip/rk3566/hardware/display/src/display_gfx/
H A Ddisplay_gfx.c36 RgaSURF_FORMAT colorSpaceModeChange(PixelFormat color, uint8_t *isYuv) in colorSpaceModeChange() argument
39 switch (color) { in colorSpaceModeChange()
150 int32_t rkFillRect(ISurface *iSurface, IRect *rect, uint32_t color, GfxOpt *opt) in rkFillRect() argument
186 dst.color = color; in rkFillRect()
189 ret = imfill(dst, imRect, color); in rkFillRect()
/device/soc/rockchip/rk3568/hardware/display/src/display_gfx/
H A Ddisplay_gfx.c36 RgaSURF_FORMAT colorSpaceModeChange(PixelFormat color, uint8_t *isYuv) in colorSpaceModeChange() argument
39 switch (color) { in colorSpaceModeChange()
150 int32_t rkFillRect(ISurface *iSurface, IRect *rect, uint32_t color, GfxOpt *opt) in rkFillRect() argument
186 dst.color = color; in rkFillRect()
189 ret = imfill(dst, imRect, color); in rkFillRect()
/device/soc/rockchip/rk3588/hardware/display/src/display_gfx/
H A Ddisplay_gfx.c36 RgaSURF_FORMAT colorSpaceModeChange(PixelFormat color, uint8_t *isYuv) in colorSpaceModeChange() argument
39 switch (color) { in colorSpaceModeChange()
150 int32_t rkFillRect(ISurface *iSurface, IRect *rect, uint32_t color, GfxOpt *opt) in rkFillRect() argument
186 dst.color = color; in rkFillRect()
189 ret = imfill(dst, imRect, color); in rkFillRect()

Completed in 18 milliseconds

123