Home
last modified time | relevance | path

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

12

/hardware/qcom/display/msm8909w_3100/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/sm7250/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/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/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/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/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/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/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/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/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.cpp401 unsigned int y_stride, y_height, y_size; in GetYuvUbwcSPPlaneInfo() local
413 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
425 cMetaOffset = y_meta_size + y_size; in GetYuvUbwcSPPlaneInfo()
426 cOffset = y_meta_size + y_size + c_meta_size; in GetYuvUbwcSPPlaneInfo()
433 plane_info[0].size = static_cast<uint32_t>(y_size); in GetYuvUbwcSPPlaneInfo()
480 unsigned int y_stride = 0, y_height = 0, y_size = 0; in GetYuvSPPlaneInfo() local
486 y_size = y_stride * y_height; in GetYuvSPPlaneInfo()
512 y_size = ALIGN(width * height, 4096); in GetYuvSPPlaneInfo()
540 cOffset = y_size; in GetYuvSPPlaneInfo()
548 plane_info[0].size = static_cast<uint32_t>(y_size); in GetYuvSPPlaneInfo()
[all …]
/hardware/qcom/sm7250/display/gralloc/
Dgr_utils.cpp432 unsigned int y_stride = 0, y_height = 0, y_size = 0; in GetYuvUbwcSPPlaneInfo() local
445 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
457 cMetaOffset = y_meta_size + y_size; in GetYuvUbwcSPPlaneInfo()
458 cOffset = y_meta_size + y_size + c_meta_size; in GetYuvUbwcSPPlaneInfo()
465 plane_info[0].size = static_cast<uint32_t>(y_size); in GetYuvUbwcSPPlaneInfo()
516 unsigned int y_stride = 0, y_height = 0, y_size = 0; in GetYuvSPPlaneInfo() local
522 y_size = y_stride * y_height; in GetYuvSPPlaneInfo()
549 y_size = ALIGN(width * height, 4096); in GetYuvSPPlaneInfo()
575 cOffset = y_size; in GetYuvSPPlaneInfo()
583 plane_info[0].size = static_cast<uint32_t>(y_size); in GetYuvSPPlaneInfo()
[all …]
/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/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/google/graphics/common/libscaler/
Dlibscaler-m2m1shot.cpp156 unsigned int y_size = width * height; in SetFormat() local
158 buf.plane[0].len = y_size + (c_span * height / 2) * 2; in SetFormat()
/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/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/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/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.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()
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()
/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()

12