Home
last modified time | relevance | path

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

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_symbolic_physical.cpp210 write_bits(scb.color_formats[0] << 2, 6, 13 + PARTITION_INDEX_BITS, pcb.data); in symbolic_to_physical()
219 int class_of_format = scb.color_formats[i] >> 2; in symbolic_to_physical()
233 int classbit_of_format = (scb.color_formats[i] >> 2) - low_class; in symbolic_to_physical()
240 int lowbits_of_format = scb.color_formats[i] & 3; in symbolic_to_physical()
256 write_bits(scb.color_formats[0], 4, 13, pcb.data); in symbolic_to_physical()
270 int vals = 2 * (scb.color_formats[i] >> 2) + 2; in symbolic_to_physical()
421 int color_formats[BLOCK_MAX_PARTITIONS]; in physical_to_symbolic() local
425 color_formats[0] = read_bits(4, 13, pcb.data); in physical_to_symbolic()
438 color_formats[i] = (encoded_type >> 2) & 0xF; in physical_to_symbolic()
452 color_formats[i] = (((encoded_type >> bitpos) & 1) + baseclass) << 2; in physical_to_symbolic()
[all …]
Dastcenc_decompress_symbolic.cpp301 scb.color_formats[i], in decompress_symbolic_block()
364 scb.color_formats[0], in compute_symbolic_block_difference_2plane()
459 scb.color_formats[i], in compute_symbolic_block_difference_1plane()
548 scb.color_formats[0], in compute_symbolic_block_difference_1plane_1partition()
Dastcenc_compress_symbolic.cpp101 scb.color_formats[pa_idx], in realign_weights_undecimated()
227 scb.color_formats[pa_idx], in realign_weights_decimated()
551 workscb.color_formats[j] = pack_color_endpoints( in compress_symbolic_block_for_partition_1plane()
560 all_same = all_same && workscb.color_formats[j] == workscb.color_formats[0]; in compress_symbolic_block_for_partition_1plane()
601 workscb.color_formats[j] = color_formats_mod[j]; in compress_symbolic_block_for_partition_1plane()
931 workscb.color_formats[0] = pack_color_endpoints( in compress_symbolic_block_for_partition_2planes()
Dastcenc_entry.cpp1359 scb.color_formats[i], in astcenc_get_block_info()
1366 info->color_endpoint_modes[i] = scb.color_formats[i]; in astcenc_get_block_info()
Dastcenc_internal.h1074 uint8_t color_formats[BLOCK_MAX_PARTITIONS]; member
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c141 static const mm_jpeg_intf_test_colfmt_t color_formats[] = variable
596 p_test->col_fmt = color_formats[atoi(optarg)]; in mm_jpeg_test_get_input()
683 color_formats[0].str, color_formats[1].str, in mm_jpeg_test_print_usage()
684 color_formats[2].str, color_formats[3].str, in mm_jpeg_test_print_usage()
685 color_formats[4].str, color_formats[5].str, in mm_jpeg_test_print_usage()
686 color_formats[6].str, color_formats[7].str); in mm_jpeg_test_print_usage()
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_render_pass.c653 VkFormat *color_formats = NULL; in vk_common_CreateRenderPass2() local
657 color_formats = next_subpass_color_format; in vk_common_CreateRenderPass2()
662 color_formats[a] = VK_FORMAT_UNDEFINED; in vk_common_CreateRenderPass2()
668 color_formats[a] = att->format; in vk_common_CreateRenderPass2()
711 .pColorAttachmentFormats = color_formats, in vk_common_CreateRenderPass2()
723 .pColorAttachmentFormats = color_formats, in vk_common_CreateRenderPass2()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp8117 …ported = ((m_sVenc_cfg.inputformat == V4L2_PIX_FMT_NV12 && (m_pq.caps.color_formats & BIT(COLOR_FM… in venc_check_for_pq()
8118 …|| (m_sVenc_cfg.inputformat == V4L2_PIX_FMT_NV21 && (m_pq.caps.color_formats & BIT(COLOR_FMT_NV21)… in venc_check_for_pq()
8119 …|| (m_sVenc_cfg.inputformat == V4L2_PIX_FMT_NV12_UBWC && (m_pq.caps.color_formats & BIT(COLOR_FMT_… in venc_check_for_pq()
8294 DEBUG_PRINT_HIGH("GPU lib stats caps color_format = %u",caps.color_formats); in get_caps()
8324 support = (caps.color_formats & BIT(color_format)) ? true : false; in is_color_format_supported()