Home
last modified time | relevance | path

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

1234

/hardware/google/gchips/gralloc3/src/
Dgralloc_buffer_priv.h147 attr_region *region = (attr_region *)hnd->attr_base; in gralloc_buffer_attr_write() local
152 memcpy(&region->crop_top, val, sizeof(int) * 4); in gralloc_buffer_attr_write()
157 region->use_yuv_transform = *val; in gralloc_buffer_attr_write()
162 region->use_sparse_alloc = *val; in gralloc_buffer_attr_write()
167 memcpy(&region->hdr_info, val, sizeof(mali_hdr_info)); in gralloc_buffer_attr_write()
172 region->dataspace = *((android_dataspace_t *)val); in gralloc_buffer_attr_write()
177 region->force_dataspace = *((android_dataspace_t *)val); in gralloc_buffer_attr_write()
198 attr_region *region = (attr_region *)hnd->attr_base; in gralloc_buffer_attr_read() local
203 memcpy(val, &region->crop_top, sizeof(int) * 4); in gralloc_buffer_attr_read()
208 *val = region->use_yuv_transform; in gralloc_buffer_attr_read()
[all …]
/hardware/google/gchips/libvendorgraphicbuffer/gralloc3/
Dvendor_graphicbuffer_meta.cpp100 attr_region* region; in get_dataspace() local
101 region = (attr_region *) mmap(NULL, sizeof(attr_region), PROT_READ, MAP_SHARED, attr_fd, 0); in get_dataspace()
102 if (region == NULL) in get_dataspace()
104 else if (region == MAP_FAILED) in get_dataspace()
107 int dataspace = region->force_dataspace == -1 ? region->dataspace : region->force_dataspace; in get_dataspace()
109 munmap(region, sizeof(attr_region)); in get_dataspace()
126 …attr_region* region = (attr_region*)mmap(NULL, sizeof(attr_region), PROT_READ | PROT_WRITE, MAP_SH… in set_dataspace() local
127 if (region == NULL) in set_dataspace()
129 else if (region == MAP_FAILED) in set_dataspace()
132 region->dataspace = dataspace; in set_dataspace()
[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/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/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/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/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/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/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/sdm845/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/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/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/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/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()
/hardware/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp281 const IMapper::Rect region{0, 0, static_cast<int32_t>(info.width), in TEST_P() local
288 data = static_cast<uint8_t*>(mGralloc->lock(bufferHandle, info.usage, region, fence, in TEST_P()
311 data = static_cast<uint8_t*>(mGralloc->lock(bufferHandle, info.usage, region, fence, in TEST_P()
342 const IMapper::Rect region{0, 0, static_cast<int32_t>(info.width), in TEST_P() local
346 ASSERT_NO_FATAL_FAILURE(layout = mGralloc->lockYCbCr(bufferHandle, info.usage, region, fence)); in TEST_P()
366 ASSERT_NO_FATAL_FAILURE(layout = mGralloc->lockYCbCr(bufferHandle, info.usage, region, fence)); in TEST_P()
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerCommandEngine.h534 auto region = readRegion(length / 4); in executeSetLayerVisibleRegion() local
535 auto err = mHal->setLayerVisibleRegion(mCurrentDisplay, mCurrentLayer, region); in executeSetLayerVisibleRegion()
563 std::vector<hwc_rect_t> region; in readRegion() local
564 region.reserve(count); in readRegion()
566 region.emplace_back(readRect()); in readRegion()
570 return region; in readRegion()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_device_impl.h109 const gralloc1_rect_t *region, void **out_data,
114 const gralloc1_rect_t *region,
/hardware/qcom/display/msm8909/gralloc/
Dgr_device_impl.h109 const gralloc1_rect_t *region, void **out_data,
114 const gralloc1_rect_t *region,
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_device_impl.h109 const gralloc1_rect_t *region, void **out_data,
114 const gralloc1_rect_t *region,
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_device_impl.h109 const gralloc1_rect_t *region, void **out_data,
114 const gralloc1_rect_t *region,
/hardware/qcom/sm8150/display/gralloc/
Dgr_device_impl.h109 const gralloc1_rect_t *region, void **out_data,
114 const gralloc1_rect_t *region,
/hardware/qcom/sm7250/display/gralloc/
Dgr_device_impl.h109 const gralloc1_rect_t *region, void **out_data,
114 const gralloc1_rect_t *region,
/hardware/qcom/sdm845/display/gralloc/
Dgr_device_impl.h109 const gralloc1_rect_t *region, void **out_data,
114 const gralloc1_rect_t *region,

1234