Home
last modified time | relevance | path

Searched refs:palette_size (Results 1 – 25 of 27) sorted by relevance

12

/external/mesa3d/src/mesa/main/
Dtexcompress_cpal.c47 GLuint palette_size; member
85 if (info->palette_size == 16) { in paletted_to_color()
124 expect_size = info->palette_size * info->size; in _mesa_cpal_compressed_size()
133 if (info->palette_size == 16) in _mesa_cpal_compressed_size()
169 indices = (const GLubyte *) palette + info->palette_size * info->size; in _mesa_cpal_compressed_teximage2d()
202 if (info->palette_size == 16) in _mesa_cpal_compressed_teximage2d()
/external/webp/src/enc/
Dvp8l_enc.c126 int* const palette_size) { in AnalyzeAndCreatePalette() argument
129 *palette_size = 0; in AnalyzeAndCreatePalette()
132 *palette_size = num_colors; in AnalyzeAndCreatePalette()
191 int palette_size, int transform_bits, in AnalyzeEntropy() argument
197 if (use_palette && palette_size <= 16) { in AnalyzeEntropy()
295 entropy[kPalette] += palette_size * 8; in AnalyzeEntropy()
1294 int palette_size, in SearchColorGreedy() argument
1296 (void)palette_size; in SearchColorGreedy()
1297 assert(palette_size < APPLY_PALETTE_GREEDY_MAX); in SearchColorGreedy()
1361 const uint32_t* palette, int palette_size, in ApplyPalette() argument
[all …]
Dalpha_enc.c276 stats->palette_size = best.stats.palette_size; in ApplyFiltersAndEncode()
/external/libaom/libaom/av1/encoder/
Dpalette.c101 const int n = pmi->palette_size[1]; in av1_get_palette_delta_bits_v()
120 const int n = pmi->palette_size[0]; in av1_palette_color_cost_y()
134 const int n = pmi->palette_size[1]; in av1_palette_color_cost_uv()
Dtokenize.c88 params->n_colors = pmi->palette_size[plane]; in get_palette_params()
Drdopt.c4076 const int use_palette = mbmi->palette_mode_info.palette_size[0] > 0; in intra_mode_info_cost_y()
4094 const int plt_size = mbmi->palette_mode_info.palette_size[0]; in intra_mode_info_cost_y()
4132 const int use_palette = mbmi->palette_mode_info.palette_size[1] > 0; in intra_mode_info_cost_uv()
4142 x->palette_uv_mode_cost[pmi->palette_size[0] > 0][use_palette]; in intra_mode_info_cost_uv()
4145 const int plt_size = pmi->palette_size[1]; in intra_mode_info_cost_uv()
4304 pmi->palette_size[0] = k; in palette_rd_y()
4461 if (best_mbmi->palette_mode_info.palette_size[0] > 0) { in rd_pick_palette_intra_sby()
4488 mbmi->palette_mode_info.palette_size[0] = 0; in rd_pick_filter_intra_sby()
4831 pmi->palette_size[0] = 0; in rd_pick_intra_sby_mode()
6198 pmi->palette_size[1] = n; in rd_pick_palette_intra_sbuv()
[all …]
Dbitstream.c682 const int n = pmi->palette_size[0]; in write_palette_colors_y()
706 const int n = pmi->palette_size[1]; in write_palette_colors_uv()
772 const int n = pmi->palette_size[0]; in write_palette_mode_info()
790 const int n = pmi->palette_size[1]; in write_palette_mode_info()
791 const int palette_uv_mode_ctx = (pmi->palette_size[0] > 0); in write_palette_mode_info()
1506 mbmi->palette_mode_info.palette_size[plane]; in write_modes_b()
Dencodeframe.c745 const int n = pmi->palette_size[0]; in update_palette_cdf()
766 const int n = pmi->palette_size[1]; in update_palette_cdf()
767 const int palette_uv_mode_ctx = (pmi->palette_size[0] > 0); in update_palette_cdf()
3535 if (pmi->palette_size[0] == 0 && pmi->palette_size[1] == 0) { in rd_pick_partition()
3618 if (pmi->palette_size[0] == 0 && pmi->palette_size[1] == 0) { in rd_pick_partition()
3707 if (pmi->palette_size[0] == 0 && pmi->palette_size[1] == 0) { in rd_pick_partition()
5986 if (mbmi->palette_mode_info.palette_size[plane] > 0) { in encode_superblock()
/external/u-boot/drivers/video/
Dpxa_lcd.c366 if (regno < fbi->palette_size) { in lcd_setcolreg()
417 fbi->palette_size = NBITS(vid->vl_bpix) == 8 ? 256 : 16; in pxafb_init_mem()
418 palette_mem_size = fbi->palette_size * sizeof(u16); in pxafb_init_mem()
575 fbi->dmadesc_palette->ldcmd = (fbi->palette_size * 2) | LDCMD_PAL; in pxafb_init()
/external/u-boot/tools/easylogo/
Deasylogo.c53 int width, height, pixels, bpp, pixel_size, size, palette_size, yuyv; member
176 image->palette_size = 0; in image_load_tga()
259 yuyv_image->palette_size = 0; in image_rgb_to_yuyv()
295 rgb565_image->palette_size = 0; in image_rgb888_to_rgb565()
/external/libaom/libaom/av1/decoder/
Dinspection.c86 mi->palette = (int16_t)mbmi->palette_mode_info.palette_size[0]; in ifd_inspect()
87 mi->uv_palette = (int16_t)mbmi->palette_mode_info.palette_size[1]; in ifd_inspect()
Ddecodemv.c456 const int n = pmi->palette_size[0]; in read_palette_colors_y()
485 const int n = pmi->palette_size[1]; in read_palette_colors_uv()
555 pmi->palette_size[0] = in read_palette_mode_info()
565 const int palette_uv_mode_ctx = (pmi->palette_size[0] > 0); in read_palette_mode_info()
569 pmi->palette_size[1] = in read_palette_mode_info()
775 mbmi->palette_mode_info.palette_size[0] = 0; in read_intra_frame_mode_info()
776 mbmi->palette_mode_info.palette_size[1] = 0; in read_intra_frame_mode_info()
1081 mbmi->palette_mode_info.palette_size[0] = 0; in read_intra_block_mode_info()
1082 mbmi->palette_mode_info.palette_size[1] = 0; in read_intra_block_mode_info()
1264 mbmi->palette_mode_info.palette_size[0] = 0; in read_inter_block_mode_info()
[all …]
Ddetokenize.c74 params.n_colors = mbmi->palette_mode_info.palette_size[plane]; in av1_decode_palette_tokens()
Ddecoder.c221 if (xd->mi[0]->palette_mode_info.palette_size[plane]) in av1_visit_palette()
224 assert(xd->mi[0]->palette_mode_info.palette_size[plane] == 0); in av1_visit_palette()
/external/u-boot/include/
Dpxa_lcd.h41 u_int palette_size; member
/external/pdfium/core/fxcodec/gif/
Dcfx_gifcontext.cpp397 uint32_t palette_size = palette_count * 3u; in ReadLogicalScreenDescriptor() local
399 if (!ReadData(&palette, palette_size)) { in ReadLogicalScreenDescriptor()
408 memcpy(global_palette_.data(), palette, palette_size); in ReadLogicalScreenDescriptor()
/external/libaom/libaom/av1/common/
Dreconintra.h73 mbmi->palette_mode_info.palette_size[0] == 0 && in av1_filter_intra_allowed()
Dpred_common.h192 if (above_mi) ctx += (above_mi->palette_mode_info.palette_size[0] > 0); in av1_get_palette_mode_ctx()
193 if (left_mi) ctx += (left_mi->palette_mode_info.palette_size[0] > 0); in av1_get_palette_mode_ctx()
Dpred_common.c81 if (above_mi) above_n = above_mi->palette_mode_info.palette_size[plane != 0]; in av1_get_palette_cache()
82 if (left_mi) left_n = left_mi->palette_mode_info.palette_size[plane != 0]; in av1_get_palette_cache()
Dentropymode.c901 int r, int c, int palette_size, in av1_get_palette_color_index_context() argument
903 assert(palette_size <= PALETTE_MAX_SIZE); in av1_get_palette_color_index_context()
935 for (int j = i + 1; j < palette_size; ++j) { in av1_get_palette_color_index_context()
Dentropymode.h206 int r, int c, int palette_size,
/external/webp/include/webp/
Dencode.h224 int palette_size; // number of color in palette, if used member
/external/webp/src/webp/
Dencode.h224 int palette_size; // number of color in palette, if used member
/external/pdfium/third_party/libpng16/
Dpngwutil.c1179 png_size_t palette_size = entry_size * spalette->nentries; in png_write_sPLT() local
1194 (png_uint_32)(name_len + 2 + palette_size)); in png_write_sPLT()
/external/libpng/
Dpngwutil.c1186 png_size_t palette_size = entry_size * (png_size_t)spalette->nentries; in png_write_sPLT() local
1201 (png_uint_32)(name_len + 2 + palette_size)); in png_write_sPLT()

12