| /third_party/ffmpeg/libavcodec/ |
| H A D | dvbsubdec.c | 98 int clut; member 226 DVBSubCLUT *clut = ctx->clut_list; in delete_cluts() local 228 ctx->clut_list = clut->next; in delete_cluts() 230 av_freep(&clut); in delete_cluts() 663 static void compute_default_clut(DVBSubContext *ctx, uint8_t *clut, AVSubtitleRect *rect, int w, int h) in compute_default_clut() argument 724 AV_WN32(clut + 4*list_inv[i], RGBA(v/2,v,v/2,v)); in compute_default_clut() 736 const DVBSubCLUT *clut; in save_subtitle_set() local 802 clut = get_clut(ctx, region->clut); in save_subtitle_set() 804 if (!clut) in save_subtitle_set() 1053 DVBSubCLUT *clut; dvbsub_parse_clut_segment() local [all...] |
| H A D | pgssubdec.c | 86 uint32_t clut[256]; member 373 palette->clut[color_id] = RGBA(r,g,b,alpha); in parse_palette_segment() 587 memcpy(rect->data[1], palette->clut, rect->nb_colors * sizeof(uint32_t)); in display_end_segment()
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/ |
| H A D | cg14.c | 171 /* Color look up table (clut) */ 179 * I currently use the clut instead of the Xlut 193 struct cg14_clut __iomem *clut; member 248 struct cg14_clut __iomem *clut = par->clut; in cg14_setcolreg() local 261 sbus_writel(val, &clut->c_clut[regno]); in cg14_setcolreg() 454 if (par->clut) in cg14_unmap_regs() 456 par->clut, sizeof(struct cg14_clut)); in cg14_unmap_regs() 501 par->clut = of_ioremap(&op->resource[0], CG14_CLUT1, in cg14_probe() 502 sizeof(struct cg14_clut), "cg14 clut"); in cg14_probe() [all...] |
| H A D | grvga.c | 37 u32 clut; /* 0x20 */ member 215 &par->regs->clut); in grvga_setcolreg()
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/ |
| H A D | cg14.c | 172 /* Color look up table (clut) */ 180 * I currently use the clut instead of the Xlut 194 struct cg14_clut __iomem *clut; member 249 struct cg14_clut __iomem *clut = par->clut; in cg14_setcolreg() local 262 sbus_writel(val, &clut->c_clut[regno]); in cg14_setcolreg() 455 if (par->clut) in cg14_unmap_regs() 457 par->clut, sizeof(struct cg14_clut)); in cg14_unmap_regs() 502 par->clut = of_ioremap(&op->resource[0], CG14_CLUT1, in cg14_probe() 503 sizeof(struct cg14_clut), "cg14 clut"); in cg14_probe() [all...] |
| H A D | grvga.c | 36 u32 clut; /* 0x20 */ member 214 &par->regs->clut); in grvga_setcolreg()
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/core/ |
| H A D | fbmem.c | 202 const unsigned char *clut = logo->clut; in fb_set_logocmap() local 219 palette_cmap.red[j] = clut[0] << 8 | clut[0]; in fb_set_logocmap() 220 palette_cmap.green[j] = clut[1] << 8 | clut[1]; in fb_set_logocmap() 221 palette_cmap.blue[j] = clut[2] << 8 | clut[2]; in fb_set_logocmap() 222 clut += 3; in fb_set_logocmap() 236 const unsigned char *clut in fb_set_logo_truepalette() local [all...] |
| /kernel/linux/linux-5.10/drivers/gpu/drm/sti/ |
| H A D | sti_cursor.c | 58 * @clut: color look up table 68 unsigned short *clut; member 103 seq_printf(s, "\tVirt @: %p", cursor->clut); in cursor_dbg_cml() 169 unsigned short *base = cursor->clut; in sti_cursor_init() 375 /* Allocate clut buffer */ in sti_cursor_create() 377 cursor->clut = dma_alloc_wc(dev, size, &cursor->clut_paddr, in sti_cursor_create() 380 if (!cursor->clut) { in sti_cursor_create() 381 DRM_ERROR("Failed to allocate memory for cursor clut\n"); in sti_cursor_create() 411 dma_free_wc(dev, size, cursor->clut, cursor->clut_paddr); in sti_cursor_create()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/sti/ |
| H A D | sti_cursor.c | 59 * @clut: color look up table 69 unsigned short *clut; member 104 seq_printf(s, "\tVirt @: %p", cursor->clut); in cursor_dbg_cml() 170 unsigned short *base = cursor->clut; in sti_cursor_init() 376 /* Allocate clut buffer */ in sti_cursor_create() 378 cursor->clut = dma_alloc_wc(dev, size, &cursor->clut_paddr, in sti_cursor_create() 381 if (!cursor->clut) { in sti_cursor_create() 382 DRM_ERROR("Failed to allocate memory for cursor clut\n"); in sti_cursor_create() 412 dma_free_wc(dev, size, cursor->clut, cursor->clut_paddr); in sti_cursor_create()
|
| /kernel/linux/linux-5.10/include/media/davinci/ |
| H A D | vpbe_osd.h | 243 * @clut: the CLUT selector (ROM or RAM) for the cursor color 258 enum osd_clut clut; member 299 enum osd_clut clut; member
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
| H A D | fbmem.c | 202 const unsigned char *clut = logo->clut; in fb_set_logocmap() local 219 palette_cmap.red[j] = clut[0] << 8 | clut[0]; in fb_set_logocmap() 220 palette_cmap.green[j] = clut[1] << 8 | clut[1]; in fb_set_logocmap() 221 palette_cmap.blue[j] = clut[2] << 8 | clut[2]; in fb_set_logocmap() 222 clut += 3; in fb_set_logocmap() 236 const unsigned char *clut in fb_set_logo_truepalette() local [all...] |
| /kernel/linux/linux-5.10/drivers/video/console/ |
| H A D | newport_con.c | 100 const unsigned char *clut; in newport_show_logo() local 106 clut = logo->clut; in newport_show_logo() 112 newport_cmap_setrgb(npregs, clut[0], clut[1], clut[2]); in newport_show_logo() 113 clut += 3; in newport_show_logo()
|
| /kernel/linux/linux-6.6/drivers/video/console/ |
| H A D | newport_con.c | 100 const unsigned char *clut; in newport_show_logo() local 106 clut = logo->clut; in newport_show_logo() 112 newport_cmap_setrgb(npregs, clut[0], clut[1], clut[2]); in newport_show_logo() 113 clut += 3; in newport_show_logo()
|
| /kernel/linux/linux-5.10/include/linux/ |
| H A D | linux_logo.h | 32 const unsigned char *clut; /* LINUX_LOGO_CLUT224 only */ member
|
| /kernel/linux/linux-6.6/include/linux/ |
| H A D | linux_logo.h | 32 const unsigned char *clut; /* LINUX_LOGO_CLUT224 only */ member
|
| /third_party/ffmpeg/libavfilter/ |
| H A D | lut3d.h | 69 int clut; member
|
| /third_party/skia/third_party/skcms/ |
| H A D | skcms.cc | 889 const CLUT_Layout* clut = (const CLUT_Layout*)(tag->buf + clut_offset); 891 if (clut->grid_byte_width[0] == 1) { 892 a2b->grid_8 = clut->variable; 894 } else if (clut->grid_byte_width[0] == 2) { 896 a2b->grid_16 = clut->variable; 901 uint64_t grid_size = a2b->output_channels * clut->grid_byte_width[0]; // the payload 903 a2b->grid_points[i] = clut->grid_points[i]; 1016 const CLUT_Layout* clut = (const CLUT_Layout*)(tag->buf + clut_offset); 1018 if (clut->grid_byte_width[0] == 1) { 1019 b2a->grid_8 = clut [all...] |
| /kernel/linux/linux-5.10/arch/powerpc/kernel/ |
| H A D | prom_init.c | 2368 const unsigned char *clut; in prom_check_displays() local 2402 clut = default_colors; in prom_check_displays() 2403 for (i = 0; i < 16; i++, clut += 3) in prom_check_displays() 2404 if (prom_set_color(ih, i, clut[0], clut[1], in prom_check_displays() 2405 clut[2]) != 0) in prom_check_displays() 2409 clut = PTRRELOC(logo_linux_clut224.clut); in prom_check_displays() 2410 for (i = 0; i < logo_linux_clut224.clutsize; i++, clut += 3) in prom_check_displays() 2411 if (prom_set_color(ih, i + 32, clut[ in prom_check_displays() [all...] |
| /kernel/linux/linux-6.6/arch/powerpc/kernel/ |
| H A D | prom_init.c | 2398 const unsigned char *clut; in prom_check_displays() local 2432 clut = default_colors; in prom_check_displays() 2433 for (i = 0; i < 16; i++, clut += 3) in prom_check_displays() 2434 if (prom_set_color(ih, i, clut[0], clut[1], in prom_check_displays() 2435 clut[2]) != 0) in prom_check_displays() 2439 clut = PTRRELOC(logo_linux_clut224.clut); in prom_check_displays() 2440 for (i = 0; i < logo_linux_clut224.clutsize; i++, clut += 3) in prom_check_displays() 2441 if (prom_set_color(ih, i + 32, clut[ in prom_check_displays() [all...] |
| /kernel/linux/linux-5.10/drivers/media/platform/davinci/ |
| H A D | vpbe_osd.c | 391 enum osd_clut clut) in _osd_set_osd_clut() 397 if (clut == RAM_CLUT) in _osd_set_osd_clut() 402 if (clut == RAM_CLUT) in _osd_set_osd_clut() 1271 osdwin_state->clut); in osd_set_layer_config() 1325 * The default palette map maps the pixel value to the clut in osd_set_layer_config() 1326 * index, i.e. pixel value 0 maps to clut entry 0, pixel value in osd_set_layer_config() 1327 * 1 maps to clut entry 1, etc. in osd_set_layer_config() 1399 osdwin_state->clut = RAM_CLUT; in osd_init_layer() 1400 _osd_set_osd_clut(sd, osdwin, osdwin_state->clut); in osd_init_layer() 389 _osd_set_osd_clut(struct osd_state *sd, enum osd_win_layer osdwin, enum osd_clut clut) _osd_set_osd_clut() argument
|
| /device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/drv/hi3516cv500/ |
| H A D | hifb_blit.c | 372 option->color_key_value.clut_color_key.clut.is_component_out = opt->ckey.key_mode;
in drv_blit_option_init() 373 option->color_key_value.clut_color_key.clut.component_max = opt->ckey.blue_max;
in drv_blit_option_init() 374 option->color_key_value.clut_color_key.clut.component_min = opt->ckey.blue_min;
in drv_blit_option_init()
|
| /third_party/skia/third_party/skcms/src/ |
| H A D | Transform_inl.h | 712 static void clut(uint32_t input_channels, uint32_t output_channels, in clut() function 793 static void clut(const skcms_A2B* a2b, F* r, F* g, F* b, F a) { in clut() function 794 clut(a2b->input_channels, a2b->output_channels, in clut() 798 static void clut(const skcms_B2A* b2a, F* r, F* g, F* b, F* a) { in clut() function 799 clut(b2a->input_channels, b2a->output_channels, in clut() 1232 clut(a2b, &r,&g,&b,a); in exec_ops() 1242 clut(b2a, &r,&g,&b,&a); in exec_ops()
|
| /device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/adp/tde_v2_0/ |
| H A D | tde_hal_k.c | 140 static hi_u32 tde_hal_get_clut_key_mask(hi_u8 clut, hi_u8 alpha); 1984 hi_tde_color_key_comp clut = color_key->color_key_value.clut_color_key.clut; in tde_hal_node_set_clutcolor_key_para() local 1987 hw_node->cbmkeymin.all = tde_hal_get_clut_key_mask(clut.component_min, alpha.component_min); in tde_hal_node_set_clutcolor_key_para() 1988 hw_node->cbmkeymax.all = tde_hal_get_clut_key_mask(clut.component_max, alpha.component_max); in tde_hal_node_set_clutcolor_key_para() 1989 hw_node->cbmkeymask.all = tde_hal_get_clut_key_mask(clut.component_mask, alpha.component_mask); in tde_hal_node_set_clutcolor_key_para() 1991 hw_node->cbmkeypara.bits.keybmode = tde_hal_get_color_key_mode(&clut); in tde_hal_node_set_clutcolor_key_para() 2030 static hi_u32 tde_hal_get_clut_key_mask(hi_u8 clut, hi_u8 alpha) in tde_hal_get_clut_key_mask() argument 2032 return (hi_u32)(clut | (alpha << TDE_TWENTYFOUR_BITS_SHIFT)); in tde_hal_get_clut_key_mask()
|
| /device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/include/ |
| H A D | drv_tde_type.h | 304 hi_tde_color_key_comp clut; /* <Palette component */ member
|
| /device/soc/hisilicon/hi3516dv300/sdk_liteos/include/adapt/ |
| H A D | hi_comm_sns_adapt.h | 425 const hi_isp_cmos_clut *clut;
member
|