Home
last modified time | relevance | path

Searched refs:private_handle (Results 1 – 10 of 10) sorted by relevance

/hardware/google/gchips/gralloc4/src/hidl_common/
DMapper.cpp195 auto private_handle = private_handle_t::dynamicCast(bufferHandle); in lockBuffer() local
196 …if (private_handle->cpu_write != 0 && (cpuUsage & static_cast<uint64_t>(BufferUsage::CPU_WRITE_MAS… in lockBuffer()
519 auto private_handle = static_cast<const private_handle_t *>(handle); in flushLockedBuffer() local
520 if (!private_handle->cpu_write && !private_handle->cpu_read) in flushLockedBuffer()
526 mali_gralloc_ion_sync_end(private_handle, false, true); in flushLockedBuffer()
538 auto private_handle = static_cast<const private_handle_t *>(handle); in rereadLockedBuffer() local
539 if (!private_handle->cpu_write && !private_handle->cpu_read) in rereadLockedBuffer()
545 mali_gralloc_ion_sync_start(private_handle, true, false); in rereadLockedBuffer()
/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/
DREADME.txt4 So vendor modules that need to allocate/map buffers or look into a gralloc buffer's private_handle
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h880 void set_histogram_metadata(private_handle_t *private_handle);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp9034 private_handle_t *private_handle = NULL; in fill_buffer_done() local
9040 private_handle = native_buffer[buf_index].privatehandle; in fill_buffer_done()
9041 if (private_handle) { in fill_buffer_done()
9044 setMetaData(private_handle, UPDATE_BUFFER_GEOMETRY, (void*)&dim); in fill_buffer_done()
11310 private_handle_t *private_handle = NULL; in set_colorspace_in_handle() local
11314 private_handle = native_buffer[buf_index].privatehandle; in set_colorspace_in_handle()
11316 if (private_handle) { in set_colorspace_in_handle()
11317 setMetaData(private_handle, UPDATE_COLOR_SPACE, (void*)&color_space); in set_colorspace_in_handle()
11439 private_handle_t *private_handle = NULL; in set_colormetadata_in_handle() local
11443 private_handle = native_buffer[buf_index].privatehandle; in set_colormetadata_in_handle()
[all …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp7983 void omx_vdec::set_histogram_metadata(private_handle_t *private_handle) in set_histogram_metadata() argument
7985 if (m_hist_metadata.stat_len != VIDEO_HISTOGRAM_STATS_SIZE || !private_handle) in set_histogram_metadata()
7993 if (setMetaData(private_handle, SET_VIDEO_HISTOGRAM_STATS, (void*)&m_hist_metadata)) in set_histogram_metadata()
8011 private_handle_t *private_handle = NULL; in handle_extradata() local
8025 private_handle = (private_handle_t *)native_buffer[buf_index].privatehandle; in handle_extradata()
8090 setMetaData(private_handle, PP_PARAM_INTERLACED, (void*)&enable); in handle_extradata()
8238 setMetaData(private_handle, COLOR_METADATA, (void*)&color_mdata); in handle_extradata()
8240 set_histogram_metadata(private_handle); in handle_extradata()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp8346 private_handle_t *private_handle = NULL; in fill_buffer_done() local
8352 private_handle = native_buffer[buf_index].privatehandle; in fill_buffer_done()
8353 if (private_handle) { in fill_buffer_done()
8356 setMetaData(private_handle, UPDATE_BUFFER_GEOMETRY, (void*)&dim); in fill_buffer_done()
10462 private_handle_t *private_handle = NULL; in set_colorspace_in_handle() local
10466 private_handle = native_buffer[buf_index].privatehandle; in set_colorspace_in_handle()
10468 if (private_handle) { in set_colorspace_in_handle()
10469 setMetaData(private_handle, UPDATE_COLOR_SPACE, (void*)&color_space); in set_colorspace_in_handle()
Domx_vdec_hevc_swvdec.cpp7373 private_handle_t *private_handle = NULL; in fill_buffer_done() local
7377 private_handle = native_buffer[buf_index].privatehandle; in fill_buffer_done()
7378 if (private_handle) { in fill_buffer_done()
7381 setMetaData(private_handle, UPDATE_BUFFER_GEOMETRY, (void*)&dim); in fill_buffer_done()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp8800 private_handle_t *private_handle = NULL; in fill_buffer_done() local
8806 private_handle = native_buffer[buf_index].privatehandle; in fill_buffer_done()
8807 if (private_handle) { in fill_buffer_done()
8810 setMetaData(private_handle, UPDATE_BUFFER_GEOMETRY, (void*)&dim); in fill_buffer_done()
11162 private_handle_t *private_handle = NULL; in set_colormetadata_in_handle() local
11166 private_handle = native_buffer[buf_index].privatehandle; in set_colormetadata_in_handle()
11168 if (private_handle) { in set_colormetadata_in_handle()
11169 setMetaData(private_handle, COLOR_METADATA, (void*)color_mdata); in set_colormetadata_in_handle()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp7159 private_handle_t *private_handle = NULL; in fill_buffer_done() local
7163 private_handle = native_buffer[buf_index].privatehandle; in fill_buffer_done()
7164 if (private_handle) { in fill_buffer_done()
7167 setMetaData(private_handle, UPDATE_BUFFER_GEOMETRY, (void*)&dim); in fill_buffer_done()
Domx_vdec_msm8974.cpp7465 private_handle_t *private_handle = NULL; in fill_buffer_done() local
7471 private_handle = native_buffer[buf_index].privatehandle; in fill_buffer_done()
7472 if (private_handle) { in fill_buffer_done()
7475 setMetaData(private_handle, UPDATE_BUFFER_GEOMETRY, (void*)&dim); in fill_buffer_done()