Home
last modified time | relevance | path

Searched refs:modifier (Results 1 – 25 of 47) sorted by relevance

12

/hardware/google/gchips/gralloc4/interfaces/libs/drmutils/src/
Ddrmutils.cpp125 uint64_t modifier = 0; in drm_modifier_from_handle() local
129 modifier |= AFBC_FORMAT_MOD_SPLIT; in drm_modifier_from_handle()
134 modifier |= AFBC_FORMAT_MOD_TILED; in drm_modifier_from_handle()
139 modifier |= AFBC_FORMAT_MOD_DB; in drm_modifier_from_handle()
144 modifier |= AFBC_FORMAT_MOD_BCH; in drm_modifier_from_handle()
149 modifier |= AFBC_FORMAT_MOD_YTR; in drm_modifier_from_handle()
154 modifier |= AFBC_FORMAT_MOD_SPARSE; in drm_modifier_from_handle()
160modifier |= (hnd->is_multi_plane() ? AFBC_FORMAT_MOD_BLOCK_SIZE_32x8_64x4 : AFBC_FORMAT_MOD_BLOCK_… in drm_modifier_from_handle()
164 modifier |= AFBC_FORMAT_MOD_BLOCK_SIZE_64x4; in drm_modifier_from_handle()
168 modifier |= AFBC_FORMAT_MOD_BLOCK_SIZE_16x16; in drm_modifier_from_handle()
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/format/
Dtexcompress_etc_tmp.h64 TAG(etc1_clamp)(UINT8_TYPE base, int modifier) in TAG()
66 int tmp = (int) base + modifier; in TAG()
120 int modifier, bit, idx, blk; in TAG() local
131 modifier = block->modifier_tables[blk][idx]; in TAG()
133 dst[0] = TAG(etc1_clamp)(base_color[0], modifier); in TAG()
134 dst[1] = TAG(etc1_clamp)(base_color[1], modifier); in TAG()
135 dst[2] = TAG(etc1_clamp)(base_color[2], modifier); in TAG()
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/
Dwsi_common_wayland.c77 uint64_t modifier; member
251 wsi_wl_format_add_modifier(struct wsi_wl_format *format, uint64_t modifier) in wsi_wl_format_add_modifier() argument
255 if (modifier == DRM_FORMAT_MOD_INVALID) in wsi_wl_format_add_modifier()
259 if (*mod == modifier) in wsi_wl_format_add_modifier()
264 *mod = modifier; in wsi_wl_format_add_modifier()
271 uint64_t modifier) in wsi_wl_display_add_vk_format_modifier() argument
277 wsi_wl_format_add_modifier(format, modifier); in wsi_wl_display_add_vk_format_modifier()
283 uint32_t drm_format, uint64_t modifier) in wsi_wl_display_add_drm_format_modifier() argument
292 WSI_WL_FMT_ALPHA, modifier); in wsi_wl_display_add_drm_format_modifier()
297 WSI_WL_FMT_OPAQUE, modifier); in wsi_wl_display_add_drm_format_modifier()
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/
Du_drm.h50 drm_find_modifier(uint64_t modifier, const uint64_t *modifiers, unsigned count) in drm_find_modifier() argument
52 return util_array_contains_u64(modifier, modifiers, count); in drm_find_modifier()
/hardware/google/gfxstream/guest/mesa/include/drm-uapi/
Ddrm_fourcc.h427 #define fourcc_mod_get_vendor(modifier) \ argument
428 (((modifier) >> 56) & 0xff)
430 #define fourcc_mod_is_vendor(modifier, vendor) \ argument
431 (fourcc_mod_get_vendor(modifier) == DRM_FORMAT_MOD_VENDOR_## vendor)
938 drm_fourcc_canonicalize_nvidia_format_mod(__u64 modifier) in drm_fourcc_canonicalize_nvidia_format_mod() argument
940 if (!(modifier & 0x10) || (modifier & (0xff << 12))) in drm_fourcc_canonicalize_nvidia_format_mod()
941 return modifier; in drm_fourcc_canonicalize_nvidia_format_mod()
943 return modifier | (0xfe << 12); in drm_fourcc_canonicalize_nvidia_format_mod()
Dvc4_drm.h344 __u64 modifier; member
350 __u64 modifier; member
Ddrm_mode.h732 __u64 modifier[4]; member
1173 __u64 modifier; member
/hardware/qcom/sm7250/display/sde-drm/
Ddrm_utils.cpp59 uint64_t modifier = 0; in ParseFormats() local
76 modifier = fourcc_mod_code(QCOM, fmt_modifier); in ParseFormats()
86 modifier)); in ParseFormats()
/hardware/google/gfxstream/guest/mesa/src/util/u_gralloc/
Du_gralloc_cros_api.c43 uint64_t modifier; member
60 out->modifier = info.modifier; in cros_get_buffer_info()
Du_gralloc.h35 uint64_t modifier; member
Du_gralloc_fallback.c209 out->modifier = DRM_FORMAT_MOD_INVALID; in fallback_gralloc_get_yuv_info()
298 out->modifier = DRM_FORMAT_MOD_INVALID; in fallback_gralloc_get_buffer_info()
/hardware/google/gfxstream/host/vulkan/emulated_textures/shaders/
DEtc2ShaderLib.comp131 // 3 bits intense modifier
153 // 3 bits intense modifier
300 uint modifier = (p[i] & 7);
301 int modifierValue = ((modifier >= 4) ? table1[modifier - 4] : table0[modifier]);
333 uint modifier = (p[i] & 7);
334 int modifierValue = ((modifier >= 4) ? table1[modifier - 4] : table0[modifier]);
/hardware/qcom/sm8150/display/libdrmutils/
Ddrm_master.cpp114 fill(begin(cmd2.modifier), begin(cmd2.modifier) + drm_buffer.num_planes, in CreateFbId()
/hardware/qcom/display/msm8909w_3100/libdrmutils/
Ddrm_master.cpp113 fill(begin(cmd2.modifier), begin(cmd2.modifier) + drm_buffer.num_planes, in CreateFbId()
/hardware/qcom/display/msm8909/libdrmutils/
Ddrm_master.cpp113 fill(begin(cmd2.modifier), begin(cmd2.modifier) + drm_buffer.num_planes, in CreateFbId()
/hardware/qcom/sm7250/display/libdrmutils/
Ddrm_master.cpp115 fill(begin(cmd2.modifier), begin(cmd2.modifier) + drm_buffer.num_planes, in CreateFbId()
/hardware/qcom/display/msm8998/libdrmutils/
Ddrm_master.cpp112 fill(begin(cmd2.modifier), begin(cmd2.modifier) + drm_buffer.num_planes, in CreateFbId()
/hardware/google/gfxstream/common/etc/
Detc.cpp460 int modifier = 0; in eac_decode_single_channel_block() local
462 modifier += p[0] << (-bitOffset); in eac_decode_single_channel_block()
466 modifier += p[0] >> bitOffset; in eac_decode_single_channel_block()
467 modifier &= 7; in eac_decode_single_channel_block()
473 int modifierValue = table[modifier]; in eac_decode_single_channel_block()
571 int modifier = pModifierTable[i]; in chooseModifier() local
572 int decodedG = clamp(g + modifier); in chooseModifier()
577 int decodedR = clamp(r + modifier); in chooseModifier()
582 int decodedB = clamp(b + modifier); in chooseModifier()
/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/
Dvendor_graphicbuffer_meta.cpp311 uint64_t modifier; in get_format_modifier() local
318 error = static_cast<Error>(decodePixelFormatModifier(tmpVec, &modifier)); in get_format_modifier()
327 return modifier; in get_format_modifier()
/hardware/google/gchips/libvendorgraphicbuffer/gralloc5/
Dvendor_graphicbuffer_meta.cpp329 uint64_t modifier; in get_format_modifier() local
331 hnd, modifier); in get_format_modifier()
338 return modifier; in get_format_modifier()
/hardware/google/gchips/include/libaudio/audiohal/
Daudio_proxy_interface.h123 bool proxy_set_route(void *proxy, int ausage, int device, int modifier, bool set);
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_EXT_external_memory_dma_buf.adoc34 modifier) of the slink:VkImage? In other words, how does the application
/hardware/qcom/audio/legacy/alsa_sound/
DAudioHardwareALSA.h547 void disableVoiceCall(char* verb, char* modifier, int mode, int device);
548 void enableVoiceCall(char* verb, char* modifier, int mode, int device);
/hardware/google/graphics/common/libhwc2.1/libhwchelper/
DExynosHWCHelper.cpp372 compressionInfo.modifier = getFormatModifier(handle); in getCompressionInfo()
378 compressionInfo.modifier = SBWC_FORMAT_MOD_BLOCK_SIZE_32x5; in getCompressionInfo()
380 compressionInfo.modifier = SBWC_FORMAT_MOD_BLOCK_SIZE_32x4; in getCompressionInfo()
393 result.appendFormat("AFBC(mod:0x%" PRIx64 ")", compression.modifier); in getCompressionStr()
395 result.appendFormat("SBWC(mod:0x%" PRIx64 ")", compression.modifier); in getCompressionStr()
403 ((compression.modifier & AFBC_FORMAT_MOD_BLOCK_SIZE_MASK) == in isAFBC32x8()
/hardware/google/gfxstream/guest/mesa/include/GL/internal/
Ddri_interface.h1620 uint64_t modifier,
1686 uint32_t fourcc, uint64_t modifier,
1714 uint64_t modifier,

12