Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8909/libcopybit/
Dsoftware_converter.cpp54 unsigned int y_size = stride * src->h; in convertYV12toYCrCb420SP() local
59 unsigned char* newChroma = (unsigned char *)(yv12_handle->base + y_size); in convertYV12toYCrCb420SP()
60 unsigned char* oldChroma = (unsigned char*)(hnd->base + y_size); in convertYV12toYCrCb420SP()
61 memcpy((char *)yv12_handle->base,(char *)hnd->base,y_size); in convertYV12toYCrCb420SP()
/hardware/qcom/display/msm8084/libcopybit/
Dsoftware_converter.cpp54 unsigned int y_size = stride * src->h; in convertYV12toYCrCb420SP() local
59 unsigned char* newChroma = (unsigned char *)(yv12_handle->base + y_size); in convertYV12toYCrCb420SP()
60 unsigned char* oldChroma = (unsigned char*)(hnd->base + y_size); in convertYV12toYCrCb420SP()
61 memcpy((char *)yv12_handle->base,(char *)hnd->base,y_size); in convertYV12toYCrCb420SP()
/hardware/qcom/display/msm8226/libcopybit/
Dsoftware_converter.cpp54 unsigned int y_size = stride * src->h; in convertYV12toYCrCb420SP() local
59 unsigned char* newChroma = (unsigned char *)(yv12_handle->base + y_size); in convertYV12toYCrCb420SP()
60 unsigned char* oldChroma = (unsigned char*)(hnd->base + y_size); in convertYV12toYCrCb420SP()
61 memcpy((char *)yv12_handle->base,(char *)hnd->base,y_size); in convertYV12toYCrCb420SP()
/hardware/qcom/display/msm8996/libcopybit/
Dsoftware_converter.cpp54 unsigned int y_size = stride * src->h; in convertYV12toYCrCb420SP() local
59 unsigned char* newChroma = (unsigned char *)(yv12_handle->base + y_size); in convertYV12toYCrCb420SP()
60 unsigned char* oldChroma = (unsigned char*)(hnd->base + y_size); in convertYV12toYCrCb420SP()
61 memcpy((char *)yv12_handle->base,(char *)hnd->base,y_size); in convertYV12toYCrCb420SP()
/hardware/qcom/display/msm8994/libcopybit/
Dsoftware_converter.cpp55 unsigned int y_size = stride * src->h; in convertYV12toYCrCb420SP() local
60 unsigned char* newChroma = (unsigned char *)(yv12_handle->base + y_size); in convertYV12toYCrCb420SP()
61 unsigned char* oldChroma = (unsigned char*)(hnd->base + y_size); in convertYV12toYCrCb420SP()
62 memcpy((char *)yv12_handle->base,(char *)hnd->base,y_size); in convertYV12toYCrCb420SP()
/hardware/qcom/display/msm8960/libcopybit/
Dsoftware_converter.cpp54 unsigned int y_size = stride * src->h; in convertYV12toYCrCb420SP() local
59 unsigned char* newChroma = (unsigned char *)(yv12_handle->base + y_size); in convertYV12toYCrCb420SP()
60 unsigned char* oldChroma = (unsigned char*)(hnd->base + y_size); in convertYV12toYCrCb420SP()
61 memcpy((char *)yv12_handle->base,(char *)hnd->base,y_size); in convertYV12toYCrCb420SP()
/hardware/qcom/sm8150/display/libcopybit/
Dsoftware_converter.cpp54 unsigned int y_size = stride * src->h; in convertYV12toYCrCb420SP() local
59 unsigned char* newChroma = (unsigned char *)(yv12_handle->base + y_size); in convertYV12toYCrCb420SP()
60 unsigned char* oldChroma = (unsigned char*)(hnd->base + y_size); in convertYV12toYCrCb420SP()
61 memcpy((char *)yv12_handle->base,(char *)hnd->base,y_size); in convertYV12toYCrCb420SP()
/hardware/qcom/display/msm8998/libcopybit/
Dsoftware_converter.cpp56 unsigned int y_size = stride * src->h; in convertYV12toYCrCb420SP() local
61 unsigned char* newChroma = (unsigned char *)(yv12_handle->base + y_size); in convertYV12toYCrCb420SP()
62 unsigned char* oldChroma = (unsigned char*)(hnd->base + y_size); in convertYV12toYCrCb420SP()
63 memcpy((char *)yv12_handle->base,(char *)hnd->base,y_size); in convertYV12toYCrCb420SP()
/hardware/qcom/sdm845/display/libcopybit/
Dsoftware_converter.cpp54 unsigned int y_size = stride * src->h; in convertYV12toYCrCb420SP() local
59 unsigned char* newChroma = (unsigned char *)(yv12_handle->base + y_size); in convertYV12toYCrCb420SP()
60 unsigned char* oldChroma = (unsigned char*)(hnd->base + y_size); in convertYV12toYCrCb420SP()
61 memcpy((char *)yv12_handle->base,(char *)hnd->base,y_size); in convertYV12toYCrCb420SP()
/hardware/qcom/sm8150/display/gralloc/
Dgr_utils.cpp394 unsigned int y_stride, y_height, y_size; in GetYuvUbwcSPPlaneInfo() local
406 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
418 cMetaOffset = y_meta_size + y_size; in GetYuvUbwcSPPlaneInfo()
419 cOffset = y_meta_size + y_size + c_meta_size; in GetYuvUbwcSPPlaneInfo()
426 plane_info[0].size = static_cast<uint32_t>(y_size); in GetYuvUbwcSPPlaneInfo()
473 unsigned int y_stride = 0, y_height = 0, y_size = 0; in GetYuvSPPlaneInfo() local
479 y_size = y_stride * y_height; in GetYuvSPPlaneInfo()
505 y_size = ALIGN(width * height, 4096); in GetYuvSPPlaneInfo()
538 cOffset = y_size; in GetYuvSPPlaneInfo()
546 plane_info[0].size = static_cast<uint32_t>(y_size); in GetYuvSPPlaneInfo()
[all …]
/hardware/qcom/display/msm8909/gralloc/
Dgr_utils.cpp291 unsigned int y_stride, y_height, y_size; in GetYuvUbwcSPPlaneInfo() local
301 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
308 ycbcr->cb = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size); in GetYuvUbwcSPPlaneInfo()
309 ycbcr->cr = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size + 1); in GetYuvUbwcSPPlaneInfo()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_utils.cpp291 unsigned int y_stride, y_height, y_size; in GetYuvUbwcSPPlaneInfo() local
301 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
308 ycbcr->cb = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size); in GetYuvUbwcSPPlaneInfo()
309 ycbcr->cr = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size + 1); in GetYuvUbwcSPPlaneInfo()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_allocator.cpp334 unsigned int y_stride, y_height, y_size; in GetYuvUbwcSPPlaneInfo() local
344 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
351 ycbcr->cb = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size); in GetYuvUbwcSPPlaneInfo()
352 ycbcr->cr = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size + 1); in GetYuvUbwcSPPlaneInfo()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_allocator.cpp333 unsigned int y_stride, y_height, y_size; in GetYuvUbwcSPPlaneInfo() local
343 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
350 ycbcr->cb = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size); in GetYuvUbwcSPPlaneInfo()
351 ycbcr->cr = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size + 1); in GetYuvUbwcSPPlaneInfo()
/hardware/qcom/display/msm8996/libgralloc/
Dalloc_controller.cpp739 unsigned int y_stride, y_height, y_size; in getYuvUbwcSPPlaneInfo() local
749 y_size = ALIGN((y_stride * y_height), alignment); in getYuvUbwcSPPlaneInfo()
756 ycbcr->cb = (void*)(base + y_meta_size + y_size + c_meta_size); in getYuvUbwcSPPlaneInfo()
757 ycbcr->cr = (void*)(base + y_meta_size + y_size + in getYuvUbwcSPPlaneInfo()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dalloc_controller.cpp718 unsigned int y_stride, y_height, y_size; in getYuvUbwcSPPlaneInfo() local
728 y_size = ALIGN((y_stride * y_height), alignment); in getYuvUbwcSPPlaneInfo()
735 ycbcr->cb = (void*)(base + y_meta_size + y_size + c_meta_size); in getYuvUbwcSPPlaneInfo()
736 ycbcr->cr = (void*)(base + y_meta_size + y_size + in getYuvUbwcSPPlaneInfo()
/hardware/qcom/sdm845/display/gralloc/
Dgr_utils.cpp363 unsigned int y_stride, y_height, y_size; in GetYuvUbwcSPPlaneInfo() local
373 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
380 ycbcr->cb = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size); in GetYuvUbwcSPPlaneInfo()
381 ycbcr->cr = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size + 1); in GetYuvUbwcSPPlaneInfo()
/hardware/qcom/display/msm8909/libgralloc/
Dalloc_controller.cpp718 unsigned int y_stride, y_height, y_size; in getYuvUbwcSPPlaneInfo() local
728 y_size = ALIGN((y_stride * y_height), alignment); in getYuvUbwcSPPlaneInfo()
735 ycbcr->cb = (void*)(base + y_meta_size + y_size + c_meta_size); in getYuvUbwcSPPlaneInfo()
736 ycbcr->cr = (void*)(base + y_meta_size + y_size + in getYuvUbwcSPPlaneInfo()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-lib2d-interface/test/
Dmm_lib2d_test.c215 int32_t y_size, int32_t crcb_size, int32_t crcb_offset, in lib2d_test_load_input_yuv_data() argument
230 i = fread(y_ptr, 1, y_size, fp); in lib2d_test_load_input_yuv_data()
/hardware/interfaces/graphics/common/1.1/
Dtypes.hal94 * y_size = stride_in_bytes * height
96 * cb_offset = y_size
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device_copper.cpp1636 int y_size = 0; in venc_empty_buf() local
1639 y_size = m_sVenc_cfg.input_width * m_sVenc_cfg.input_height; in venc_empty_buf()
1641 c_offset= (y_size + 2047) & (~(2047)); in venc_empty_buf()
1645 fwrite((const char *)frameinfo.ptrbuffer, y_size, 1,inputBufferFile1); in venc_empty_buf()
1646 fwrite((const char *)(frameinfo.ptrbuffer + c_offset), (y_size>>1), 1,inputBufferFile1); in venc_empty_buf()
Dvideo_encoder_device.cpp1678 int y_size = 0; in venc_empty_buf() local
1682 y_size = m_sVenc_cfg.input_width * m_sVenc_cfg.input_height; in venc_empty_buf()
1684 c_offset= (y_size + 2047) & (~(2047)); in venc_empty_buf()
1702 fwrite((const char *)buf_addr, y_size, 1,inputBufferFile1); in venc_empty_buf()
1703 fwrite((const char *)(buf_addr + c_offset), (y_size>>1), 1,inputBufferFile1); in venc_empty_buf()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp264 int y_size = 0; in venc_input_log_buffers() local
268 y_size = m_sVenc_cfg.input_width * m_sVenc_cfg.input_height; in venc_input_log_buffers()
270 c_offset= (y_size + 2047) & (~(2047)); in venc_input_log_buffers()
284 fwrite((const char *)buf_addr, y_size, 1, m_debug.infile); in venc_input_log_buffers()
285 fwrite((const char *)(buf_addr + c_offset), (y_size>>1), 1, m_debug.infile); in venc_input_log_buffers()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp263 int y_size = 0; in venc_input_log_buffers() local
267 y_size = m_sVenc_cfg.input_width * m_sVenc_cfg.input_height; in venc_input_log_buffers()
269 c_offset= (y_size + 2047) & (~(2047)); in venc_input_log_buffers()
283 fwrite((const char *)buf_addr, y_size, 1, m_debug.infile); in venc_input_log_buffers()
284 fwrite((const char *)(buf_addr + c_offset), (y_size>>1), 1, m_debug.infile); in venc_input_log_buffers()
/hardware/interfaces/graphics/common/1.0/
Dtypes.hal398 * y_size = stride * height
401 * size = y_size + c_size * 2
402 * cr_offset = y_size
403 * cb_offset = y_size + c_size