Home
last modified time | relevance | path

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

/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/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/msm8998/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/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/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/msm8994/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/intel/common/libva/test/videoprocess/
Dvideoprocess.cpp381 uint32_t y_size = surface_image.width * surface_image.height; in store_yuv_surface_to_yv12_frame() local
382 uint32_t u_size = y_size/4; in store_yuv_surface_to_yv12_frame()
384 newImageBuffer = (unsigned char*)malloc(y_size * 3 / 2); in store_yuv_surface_to_yv12_frame()
388 v_dst = newImageBuffer + y_size; in store_yuv_surface_to_yv12_frame()
389 u_dst = newImageBuffer + y_size + u_size; in store_yuv_surface_to_yv12_frame()
443 n_items = fwrite(newImageBuffer, y_size * 3 / 2, 1, fp); in store_yuv_surface_to_yv12_frame()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_allocator.cpp317 unsigned int y_stride, y_height, y_size; in GetYuvUbwcSPPlaneInfo() local
327 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
334 ycbcr->cb = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size); in GetYuvUbwcSPPlaneInfo()
335 ycbcr->cr = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size + 1); in GetYuvUbwcSPPlaneInfo()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_allocator.cpp305 unsigned int y_stride, y_height, y_size; in GetYuvUbwcSPPlaneInfo() local
315 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
322 ycbcr->cb = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size); in GetYuvUbwcSPPlaneInfo()
323 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/msm8998/libgralloc/
Dalloc_controller.cpp696 unsigned int y_stride, y_height, y_size; in getYuvUbwcSPPlaneInfo() local
706 y_size = ALIGN((y_stride * y_height), alignment); in getYuvUbwcSPPlaneInfo()
713 ycbcr->cb = (void*)(base + y_meta_size + y_size + c_meta_size); in getYuvUbwcSPPlaneInfo()
714 ycbcr->cr = (void*)(base + y_meta_size + y_size + in getYuvUbwcSPPlaneInfo()
/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/intel/common/libva/test/encode/
Dmpeg2enc.c440 int y_size = ctx->width * ctx->height; in upload_yuv_to_surface() local
456 u_src = ctx->frame_data_buffer + y_size; /* UV offset for NV12 */ in upload_yuv_to_surface()
457 v_src = ctx->frame_data_buffer + y_size + u_size; in upload_yuv_to_surface()
Dmpeg2vaenc.c440 int y_size = ctx->width * ctx->height; in upload_yuv_to_surface() local
456 u_src = ctx->frame_data_buffer + y_size; /* UV offset for NV12 */ in upload_yuv_to_surface()
457 v_src = ctx->frame_data_buffer + y_size + u_size; in upload_yuv_to_surface()
Davcenc.c361 int y_size = picture_width * picture_height; in upload_yuv_to_surface() local
377 u_src = newImageBuffer + y_size; /* UV offset for NV12 */ in upload_yuv_to_surface()
378 v_src = newImageBuffer + y_size + u_size; in upload_yuv_to_surface()
/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/msm8998/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/intel/common/libva/test/transcode/
Dmpeg2transcode.cpp2164 int y_size = picture_width * picture_height; in upload_yuv_to_surface() local
2181 u_src = newImageBuffer + y_size; /* UV offset for NV12 */ in upload_yuv_to_surface()
2182 v_src = newImageBuffer + y_size + u_size; in upload_yuv_to_surface()
/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