/aosp12/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
H A D | TaskJpegEncode.java | 110 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 D | gr_utils.cpp | 457 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 D | gr_utils.cpp | 401 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 D | software_converter.cpp | 54 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 D | software_converter.cpp | 54 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 D | software_converter.cpp | 55 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 D | software_converter.cpp | 54 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 D | software_converter.cpp | 56 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 D | software_converter.cpp | 54 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 D | software_converter.cpp | 54 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 D | software_converter.cpp | 54 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 D | software_converter.cpp | 54 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 D | software_converter.cpp | 54 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 D | software_converter.cpp | 54 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 D | gr_utils.cpp | 291 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 D | gr_utils.cpp | 291 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 D | gr_allocator.cpp | 333 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 D | gr_allocator.cpp | 334 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 D | libscaler-m2m1shot.cpp | 156 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 D | alloc_controller.cpp | 739 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 D | alloc_controller.cpp | 718 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 D | alloc_controller.cpp | 718 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 D | gr_utils.cpp | 363 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 D | mm_lib2d_test.c | 215 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 D | types.hal | 94 * y_size = stride_in_bytes * height 96 * cb_offset = y_size
|