Lines Matching refs:region
147 attr_region *region = (attr_region *)hnd->attr_base; in gralloc_buffer_attr_write() local
152 memcpy(®ion->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(®ion->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, ®ion->crop_top, sizeof(int) * 4); in gralloc_buffer_attr_read()
208 *val = region->use_yuv_transform; in gralloc_buffer_attr_read()
213 *val = region->use_sparse_alloc; in gralloc_buffer_attr_read()
218 memcpy(val, ®ion->hdr_info, sizeof(mali_hdr_info)); in gralloc_buffer_attr_read()
223 *val = region->dataspace; in gralloc_buffer_attr_read()
228 *val = region->force_dataspace; in gralloc_buffer_attr_read()