/external/libgav1/libgav1/src/tile/bitstream/ |
D | palette.cc | 64 const uint8_t palette_size = bp.palette_mode_info.size[plane_type]; in ReadPaletteColors() local 68 for (int i = 0; i < n && index < palette_size; ++i) { in ReadPaletteColors() 74 if (index < palette_size) { in ReadPaletteColors() 79 if (index < palette_size) { in ReadPaletteColors() 91 Memset(&palette_color[index + 1], max_value, palette_size - index - 1); in ReadPaletteColors() 97 } while (++index < palette_size); in ReadPaletteColors() 102 palette_color + palette_size); in ReadPaletteColors() 108 for (int i = 1; i < palette_size; ++i) { in ReadPaletteColors() 123 for (int i = 0; i < palette_size; ++i) { in ReadPaletteColors() 253 const int palette_size = palette_mode_info.size[plane_type]; in ReadPaletteTokens() local [all …]
|
/external/mesa3d/src/mesa/main/ |
D | texcompress_cpal.c | 47 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/ |
D | vp8l_enc.c | 126 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 …]
|
D | alpha_enc.c | 276 stats->palette_size = best.stats.palette_size; in ApplyFiltersAndEncode()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_image.cpp | 222 size_t palette_size = pBitmap->GetPaletteSize(); in SetImage() local 223 if (palette_size > 0) { in SetImage() 224 ASSERT(palette_size <= 256); in SetImage() 228 pCS->AddNew<CPDF_Number>(static_cast<int>(palette_size - 1)); in SetImage() 230 FX_Alloc2D(uint8_t, palette_size, 3)); in SetImage() 232 for (size_t i = 0; i < palette_size; i++) { in SetImage() 241 std::move(pColorTable), palette_size * 3, std::move(pNewDict)); in SetImage()
|
/external/libaom/libaom/av1/encoder/ |
D | palette.c | 101 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()
|
D | intra_mode_search.c | 315 const int use_palette = mbmi->palette_mode_info.palette_size[0] > 0; in intra_mode_info_cost_y() 333 const int plt_size = mbmi->palette_mode_info.palette_size[0]; in intra_mode_info_cost_y() 371 const int use_palette = mbmi->palette_mode_info.palette_size[1] > 0; in intra_mode_info_cost_uv() 381 x->palette_uv_mode_cost[pmi->palette_size[0] > 0][use_palette]; in intra_mode_info_cost_uv() 384 const int plt_size = pmi->palette_size[1]; in intra_mode_info_cost_uv() 427 mbmi->palette_mode_info.palette_size[0] = 0; in rd_pick_filter_intra_sby() 588 pmi->palette_size[0] = num_unique_colors; in palette_rd_y() 999 if (best_mbmi->palette_mode_info.palette_size[0] > 0) { in rd_pick_palette_intra_sby() 1118 pmi->palette_size[1] = n; in rd_pick_palette_intra_sbuv() 1148 if (best_mbmi->palette_mode_info.palette_size[1] > 0) { in rd_pick_palette_intra_sbuv() [all …]
|
D | rdopt_utils.h | 573 mbmi->palette_mode_info.palette_size[1] = 0; in init_sbuv_mode() 584 int is_palette_mode = mbmi->palette_mode_info.palette_size[PLANE_TYPE_Y] > 0; in store_winner_mode_stats()
|
D | tokenize.c | 88 params->n_colors = pmi->palette_size[plane]; in get_palette_params()
|
D | bitstream.c | 671 const int n = pmi->palette_size[0]; in write_palette_colors_y() 695 const int n = pmi->palette_size[1]; in write_palette_colors_uv() 762 const int n = pmi->palette_size[0]; in write_palette_mode_info() 778 const int n = pmi->palette_size[1]; in write_palette_mode_info() 779 const int palette_uv_mode_ctx = (pmi->palette_size[0] > 0); in write_palette_mode_info() 1515 mbmi->palette_mode_info.palette_size[plane]; in write_modes_b()
|
D | encodeframe.c | 944 const int n = pmi->palette_size[0]; in update_palette_cdf() 962 const int n = pmi->palette_size[1]; in update_palette_cdf() 963 const int palette_uv_mode_ctx = (pmi->palette_size[0] > 0); in update_palette_cdf() 3100 if (pmi->palette_size[0] == 0 && pmi->palette_size[1] == 0) { in rd_pick_partition() 3194 if (pmi->palette_size[0] == 0 && pmi->palette_size[1] == 0) { in rd_pick_partition() 3284 if (pmi->palette_size[0] == 0 && pmi->palette_size[1] == 0) { in rd_pick_partition() 6341 if (mbmi->palette_mode_info.palette_size[plane] > 0) { in encode_superblock()
|
/external/u-boot/drivers/video/ |
D | pxa_lcd.c | 366 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/include/ |
D | pxa_lcd.h | 41 u_int palette_size; member
|
/external/libaom/libaom/av1/decoder/ |
D | inspection.c | 89 mi->palette = (int16_t)mbmi->palette_mode_info.palette_size[0]; in ifd_inspect() 90 mi->uv_palette = (int16_t)mbmi->palette_mode_info.palette_size[1]; in ifd_inspect()
|
D | decodemv.c | 478 const int n = pmi->palette_size[0]; in read_palette_colors_y() 507 const int n = pmi->palette_size[1]; in read_palette_colors_uv() 577 pmi->palette_size[0] = in read_palette_mode_info() 585 const int palette_uv_mode_ctx = (pmi->palette_size[0] > 0); in read_palette_mode_info() 589 pmi->palette_size[1] = in read_palette_mode_info() 792 mbmi->palette_mode_info.palette_size[0] = 0; in read_intra_frame_mode_info() 793 mbmi->palette_mode_info.palette_size[1] = 0; in read_intra_frame_mode_info() 1093 mbmi->palette_mode_info.palette_size[0] = 0; in read_intra_block_mode_info() 1094 mbmi->palette_mode_info.palette_size[1] = 0; in read_intra_block_mode_info() 1278 mbmi->palette_mode_info.palette_size[0] = 0; in read_inter_block_mode_info() [all …]
|
D | detokenize.c | 74 params.n_colors = mbmi->palette_mode_info.palette_size[plane]; in av1_decode_palette_tokens()
|
D | decoder.c | 238 if (xd->mi[0]->palette_mode_info.palette_size[plane]) in av1_visit_palette() 241 assert(xd->mi[0]->palette_mode_info.palette_size[plane] == 0); in av1_visit_palette()
|
/external/libaom/libaom/av1/common/ |
D | reconintra.h | 71 mbmi->palette_mode_info.palette_size[0] == 0 && in av1_filter_intra_allowed()
|
D | pred_common.h | 198 if (above_mi) ctx += (above_mi->palette_mode_info.palette_size[0] > 0); in av1_get_palette_mode_ctx() 199 if (left_mi) ctx += (left_mi->palette_mode_info.palette_size[0] > 0); in av1_get_palette_mode_ctx()
|
D | pred_common.c | 81 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()
|
D | entropymode.c | 901 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()
|
D | entropymode.h | 205 int r, int c, int palette_size,
|
/external/pdfium/core/fxcodec/gif/ |
D | cfx_gifcontext.cpp | 387 uint32_t palette_size = palette_count * sizeof(CFX_GifPalette); in ReadLogicalScreenDescriptor() local 390 palette_size)) { in ReadLogicalScreenDescriptor()
|
/external/webp/src/webp/ |
D | encode.h | 225 int palette_size; // number of color in palette, if used member
|
/external/webp/include/webp/ |
D | encode.h | 225 int palette_size; // number of color in palette, if used member
|