Home
last modified time | relevance | path

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

12

/aosp12/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
H A DTaskJpegEncode.java110 final int y_size = y_buffer.capacity(); in convertYUV420ImageToPackedNV21() local
114 for (int i = 0; i < y_size; i++) { in convertYUV420ImageToPackedNV21()
135 final int y_size = w * h; in stubConvertYUV420ImageToPackedNV21() local
138 for (int i = 0; i < y_size; i++) { in stubConvertYUV420ImageToPackedNV21()
/aosp12/hardware/qcom/sm7250/display/gralloc/
H A Dgr_utils.cpp457 cMetaOffset = y_meta_size + y_size; in GetYuvUbwcSPPlaneInfo()
458 cOffset = y_meta_size + y_size + c_meta_size; in GetYuvUbwcSPPlaneInfo()
522 y_size = y_stride * y_height; in GetYuvSPPlaneInfo()
549 y_size = ALIGN(width * height, 4096); in GetYuvSPPlaneInfo()
575 cOffset = y_size; in GetYuvSPPlaneInfo()
1577 y_size = y_stride * y_height; in GetYUVPlaneInfo()
1579 cOffset = y_size; in GetYUVPlaneInfo()
1616 y_size = (y_stride * y_height); in GetYUVPlaneInfo()
1621 crOffset = y_size; in GetYUVPlaneInfo()
1622 cbOffset = (y_size + c_size); in GetYUVPlaneInfo()
[all …]
/aosp12/hardware/qcom/sm8150/display/gralloc/
H A Dgr_utils.cpp401 unsigned int y_stride, y_height, y_size; in GetYuvUbwcSPPlaneInfo() local
425 cMetaOffset = y_meta_size + y_size; in GetYuvUbwcSPPlaneInfo()
486 y_size = y_stride * y_height; in GetYuvSPPlaneInfo()
512 y_size = ALIGN(width * height, 4096); in GetYuvSPPlaneInfo()
540 cOffset = y_size; in GetYuvSPPlaneInfo()
1498 y_size = y_stride * y_height; in GetYUVPlaneInfo()
1500 cOffset = y_size; in GetYUVPlaneInfo()
1537 y_size = (y_stride * y_height); in GetYUVPlaneInfo()
1542 crOffset = y_size; in GetYUVPlaneInfo()
1543 cbOffset = (y_size + c_size); in GetYUVPlaneInfo()
[all …]
/aosp12/hardware/qcom/display/msm8909w_3100/libcopybit/
H A 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()
/aosp12/hardware/qcom/display/msm8960/libcopybit/
H A 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()
/aosp12/hardware/qcom/display/msm8994/libcopybit/
H A 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()
/aosp12/hardware/qcom/display/msm8996/libcopybit/
H A 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()
/aosp12/hardware/qcom/display/msm8998/libcopybit/
H A 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()
/aosp12/hardware/qcom/display/msm8084/libcopybit/
H A 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()
/aosp12/hardware/qcom/display/msm8226/libcopybit/
H A 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()
/aosp12/hardware/qcom/display/msm8909/libcopybit/
H A 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()
/aosp12/hardware/qcom/sdm845/display/libcopybit/
H A 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()
/aosp12/hardware/qcom/sm7250/display/libcopybit/
H A 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()
/aosp12/hardware/qcom/sm8150/display/libcopybit/
H A 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()
/aosp12/hardware/qcom/display/msm8909w_3100/libgralloc1/
H A 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()
/aosp12/hardware/qcom/display/msm8909/gralloc/
H A 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()
/aosp12/hardware/qcom/display/msm8996/libgralloc1/
H A 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()
/aosp12/hardware/qcom/display/msm8998/libgralloc1/
H A 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()
/aosp12/hardware/google/graphics/common/libscaler/
H A 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()
/aosp12/hardware/qcom/display/msm8996/libgralloc/
H A 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()
/aosp12/hardware/qcom/display/msm8909w_3100/libgralloc/
H A 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()
/aosp12/hardware/qcom/display/msm8909/libgralloc/
H A 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()
/aosp12/hardware/qcom/sdm845/display/gralloc/
H A 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()
/aosp12/hardware/qcom/camera/msm8998/QCamera2/stack/mm-lib2d-interface/test/
H A 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()
/aosp12/hardware/interfaces/graphics/common/1.1/
H A Dtypes.hal94 * y_size = stride_in_bytes * height
96 * cb_offset = y_size

12