Home
last modified time | relevance | path

Searched refs:region (Results 1 – 25 of 163) sorted by relevance

1234567

/hardware/google/gfxstream/host/vulkan/emulated_textures/
DCompressedImageInfo.cpp538 VkBufferImageCopy region = origRegion; in getBufferImageCopy() local
539 uint32_t mipLevel = region.imageSubresource.mipLevel; in getBufferImageCopy()
540 region.imageSubresource.mipLevel = 0; in getBufferImageCopy()
541 region.bufferRowLength /= mBlock.width; in getBufferImageCopy()
542 region.bufferImageHeight /= mBlock.height; in getBufferImageCopy()
543 region.imageOffset.x /= mBlock.width; in getBufferImageCopy()
544 region.imageOffset.y /= mBlock.height; in getBufferImageCopy()
545 region.imageExtent = compressedMipmapPortion(region.imageExtent, mipLevel); in getBufferImageCopy()
546 return region; in getBufferImageCopy()
551 VkBufferImageCopy2 region = origRegion; in getBufferImageCopy() local
[all …]
DAstcTexture.cpp44 bool isRegionValid(const VkBufferImageCopy& region, uint32_t width, uint32_t height) { in isRegionValid() argument
49 if (region.bufferRowLength != 0 || region.bufferImageHeight != 0) { in isRegionValid()
53 if (region.imageOffset.x != 0 || region.imageOffset.y != 0) { in isRegionValid()
57 if (region.imageExtent.width != width || region.imageExtent.height != height) { in isRegionValid()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_display_swapchain/
Ddisplay_swapchain_present.adoc20 * pname:srcRect is a rectangular region of pixels to present.
22 If sname:VkDisplayPresentInfoKHR is not specified, this region will be
24 * pname:dstRect is a rectangular region within the visible region of the
26 If sname:VkDisplayPresentInfoKHR is not specified, this region will be
27 assumed to be the entire visible region of the swapchain's mode.
29 region, content from display planes below the swapchain's plane will be
34 visible region, pixels mapping only to those portions of the rectangle
52 pname:srcRect must: specify a rectangular region that is a subset of the
55 pname:dstRect must: specify a rectangular region that is a subset of the
/hardware/google/gfxstream/host/apigen-codec-common/X11/extensions/
DXfixes.h166 XFixesDestroyRegion (Display *dpy, XserverRegion region);
169 XFixesSetRegion (Display *dpy, XserverRegion region,
192 XFixesTranslateRegion (Display *dpy, XserverRegion region, int dx, int dy);
198 XFixesFetchRegion (Display *dpy, XserverRegion region, int *nrectanglesRet);
201 XFixesFetchRegionAndBounds (Display *dpy, XserverRegion region,
208 XserverRegion region);
212 int x_off, int y_off, XserverRegion region);
217 XserverRegion region);
Dxfixesproto.h197 Region region B32;
207 Region region B32;
217 Region region B32;
230 Region region B32;
240 Region region B32;
250 Region region B32;
259 Region region B32;
308 Region region B32;
328 Region region B32;
353 Region region B32;
[all …]
/hardware/google/gfxstream/guest/mesa/include/android_stub/system/
Dradio.h124 radio_region_t region; member
224 radio_rds_t radio_rds_for_region(bool rds, radio_region_t region) { in radio_rds_for_region() argument
227 switch(region) { in radio_rds_for_region()
241 radio_deemphasis_t radio_demephasis_for_region(radio_region_t region) { in radio_demephasis_for_region() argument
242 switch(region) { in radio_demephasis_for_region()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_QCOM_filter_cubic_clamp.adoc18 Cubic filtering samples from a 4x4 region of texels and computes a cubic
19 weighted average of the region.
21 in the 4x4 region.
23 and can occur when there is a sharp discontinuity in the 4x4 region being
28 value to be within the max and min of texel values in the 4x4 region.
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dfragmentdensitymapops.adoc13 framebuffer region that the fragment occupies.
31 Each local framebuffer region at center coordinate [eq]#(x,y)# fetches a
41 Each local framebuffer region at center coordinate [eq]#(x,y)# fetches a
44 First, the local framebuffer region center coordinate [eq]#(x,y)# is offset
68 Where the size of each region in the framebuffer is:
75 This region is subject to the limits in
77 final region size is clamped:
117 Fragment area for the framebuffer region is undefined: if the density
119 Otherwise, the fetched fragment area for that region is derived as:
132 A single fetched fragment area for the framebuffer region is chosen by the
[all …]
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_image.c294 const VkBufferImageCopy2* region) in vk_image_buffer_copy_layout() argument
296 VkExtent3D extent = vk_image_sanitize_extent(image, region->imageExtent); in vk_image_buffer_copy_layout()
298 const uint32_t row_length = region->bufferRowLength ? in vk_image_buffer_copy_layout()
299 region->bufferRowLength : extent.width; in vk_image_buffer_copy_layout()
300 const uint32_t image_height = region->bufferImageHeight ? in vk_image_buffer_copy_layout()
301 region->bufferImageHeight : extent.height; in vk_image_buffer_copy_layout()
303 const VkImageAspectFlags aspect = region->imageSubresource.aspectMask; in vk_image_buffer_copy_layout()
326 const VkMemoryToImageCopyEXT* region) in vk_memory_to_image_copy_layout() argument
330 .bufferRowLength = region->memoryRowLength, in vk_memory_to_image_copy_layout()
331 .bufferImageHeight = region->memoryImageHeight, in vk_memory_to_image_copy_layout()
[all …]
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQCameraMjpegDecode.cpp88 jpeg_rectangle_t region; member
348 dest.region = p_args->region; in decoder_test()
354 if (p_args->region.right || p_args->region.bottom) in decoder_test()
359 (uint32_t)(dest.region.right - dest.region.left + 1)); in decoder_test()
361 (uint32_t)(dest.region.bottom - dest.region.top + 1)); in decoder_test()
367 (uint32_t)(dest.region.right - dest.region.left + 1)); in decoder_test()
369 (uint32_t)(dest.region.bottom - dest.region.top + 1)); in decoder_test()
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit.h158 int (*next)(struct copybit_region_t const *region, struct copybit_rect_t *rect);
211 struct copybit_region_t const *region);
230 struct copybit_region_t const *region);
/hardware/qcom/display/msm8909/libcopybit/
Dcopybit.h176 int (*next)(struct copybit_region_t const *region, struct copybit_rect_t *rect);
229 struct copybit_region_t const *region);
260 struct copybit_region_t const *region);
/hardware/qcom/display/msm8084/libcopybit/
Dcopybit.h159 int (*next)(struct copybit_region_t const *region, struct copybit_rect_t *rect);
212 struct copybit_region_t const *region);
243 struct copybit_region_t const *region);
/hardware/qcom/display/msm8994/libcopybit/
Dcopybit.h162 int (*next)(struct copybit_region_t const *region, struct copybit_rect_t *rect);
215 struct copybit_region_t const *region);
246 struct copybit_region_t const *region);
/hardware/qcom/display/msm8996/libcopybit/
Dcopybit.h176 int (*next)(struct copybit_region_t const *region, struct copybit_rect_t *rect);
229 struct copybit_region_t const *region);
260 struct copybit_region_t const *region);
/hardware/qcom/display/msm8909w_3100/libcopybit/
Dcopybit.h176 int (*next)(struct copybit_region_t const *region, struct copybit_rect_t *rect);
229 struct copybit_region_t const *region);
260 struct copybit_region_t const *region);
/hardware/qcom/sm8150/display/libcopybit/
Dcopybit.h176 int (*next)(struct copybit_region_t const *region, struct copybit_rect_t *rect);
229 struct copybit_region_t const *region);
260 struct copybit_region_t const *region);
/hardware/qcom/display/msm8998/libcopybit/
Dcopybit.h176 int (*next)(struct copybit_region_t const *region, struct copybit_rect_t *rect);
229 struct copybit_region_t const *region);
260 struct copybit_region_t const *region);
/hardware/qcom/sm7250/display/libcopybit/
Dcopybit.h176 int (*next)(struct copybit_region_t const *region, struct copybit_rect_t *rect);
229 struct copybit_region_t const *region);
260 struct copybit_region_t const *region);
/hardware/qcom/display/msm8226/libcopybit/
Dcopybit.h159 int (*next)(struct copybit_region_t const *region, struct copybit_rect_t *rect);
212 struct copybit_region_t const *region);
243 struct copybit_region_t const *region);
/hardware/interfaces/renderscript/1.0/
DIContext.hal205 * Copies data into a 1D region of this Allocation.
210 * The size of the region is: count * Element's size.
241 * Copies from an array into a rectangular region in this Allocation.
246 * The size of the region is: w * h * Element's size.
249 * @param xoff X offset of the region to update in this Allocation
250 * @param yoff Y offset of the region to update in this Allocation
253 * @param w Width of the region to update
254 * @param h Height of the region to update
266 * Copies from an array into a 3D region in this Allocation.
271 * The size of the region is: w * h * d * Element's size.
[all …]
/hardware/interfaces/neuralnetworks/1.3/
DIBuffer.hal26 * Retrieves the content of this buffer to a shared memory region.
31 * @param dst The destination shared memory region.
42 * Sets the content of this buffer from a shared memory region.
44 * @param src The source shared memory region.
/hardware/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp282 const IMapper::Rect region{0, 0, static_cast<int32_t>(info.width), in TEST_P() local
289 data = static_cast<uint8_t*>(mGralloc->lock(bufferHandle, info.usage, region, fence, in TEST_P()
312 data = static_cast<uint8_t*>(mGralloc->lock(bufferHandle, info.usage, region, fence, in TEST_P()
350 const IMapper::Rect region{0, 0, static_cast<int32_t>(info.width), in TEST_P() local
356 mGralloc->lockYCbCr(bufferHandle, info.usage, region, fence)); in TEST_P()
383 const IMapper::Rect region{0, 0, static_cast<int32_t>(info.width), in TEST_P() local
387 ASSERT_NO_FATAL_FAILURE(layout = mGralloc->lockYCbCr(bufferHandle, info.usage, region, fence)); in TEST_P()
407 ASSERT_NO_FATAL_FAILURE(layout = mGralloc->lockYCbCr(bufferHandle, info.usage, region, fence)); in TEST_P()
/hardware/interfaces/graphics/mapper/stable-c/vts/
DVtsHalGraphicsMapperStableC_TargetTest.cpp726 const ARect region{0, 0, info.width, info.height}; in TEST_P() local
730 mapper()->v5.lock(*handle, static_cast<int64_t>(usage), region, -1, (void**)&data)); in TEST_P()
739 ASSERT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.lock(*handle, static_cast<int64_t>(usage), region, in TEST_P()
773 const ARect region{0, 0, info.width, info.height}; in TEST_P() local
777 region, -1, (void**)&data)); in TEST_P()
800 region, releaseFence, (void**)&data)); in TEST_P()
828 const ARect region{0, 0, info.width, info.height}; in TEST_P() local
832 region, -1, (void**)&data)); in TEST_P()
887 const ARect region{0, 0, info.width, info.height}; in TEST_P() local
891 region, -1, (void**)&data)); in TEST_P()
[all …]
/hardware/interfaces/graphics/mapper/2.0/vts/functional/
DVtsHalGraphicsMapperV2_0TargetTest.cpp281 const IMapper::Rect region{0, 0, static_cast<int32_t>(info.width), in TEST_P() local
286 data = static_cast<uint8_t*>(mGralloc->lock(bufferHandle, info.usage, region, fence))); in TEST_P()
301 data = static_cast<uint8_t*>(mGralloc->lock(bufferHandle, info.usage, region, fence))); in TEST_P()
328 const IMapper::Rect region{0, 0, static_cast<int32_t>(info.width), in TEST_P() local
332 ASSERT_NO_FATAL_FAILURE(layout = mGralloc->lockYCbCr(bufferHandle, info.usage, region, fence)); in TEST_P()
352 ASSERT_NO_FATAL_FAILURE(layout = mGralloc->lockYCbCr(bufferHandle, info.usage, region, fence)); in TEST_P()

1234567