Lines Matching refs:pixel_stride
103 static void get_rgb_stride_and_size(int width, int height, int pixel_size, int *pixel_stride, int *… in get_rgb_stride_and_size() argument
124 if (pixel_stride != NULL) in get_rgb_stride_and_size()
126 *pixel_stride = stride / pixel_size; in get_rgb_stride_and_size()
170 if (pixel_stride != NULL) in get_rgb_stride_and_size()
172 *pixel_stride = stride / pixel_size; in get_rgb_stride_and_size()
197 static bool get_afbc_yuv420_8bit_stride_and_size(int width, int height, int *pixel_stride, int *byt… in get_afbc_yuv420_8bit_stride_and_size() argument
268 if (pixel_stride != NULL) in get_afbc_yuv420_8bit_stride_and_size()
270 *pixel_stride = yuv420_afbc_luma_stride; in get_afbc_yuv420_8bit_stride_and_size()
289 static bool get_yv12_stride_and_size(int width, int height, int *pixel_stride, int *byte_stride, si… in get_yv12_stride_and_size() argument
296 return get_afbc_yuv420_8bit_stride_and_size(width, height, pixel_stride, byte_stride, size, type, in get_yv12_stride_and_size()
318 if (pixel_stride != NULL) in get_yv12_stride_and_size()
320 *pixel_stride = luma_stride; in get_yv12_stride_and_size()
336 static bool get_yuv422_8bit_stride_and_size(int width, int height, int *pixel_stride, int *byte_str… in get_yuv422_8bit_stride_and_size() argument
356 if (pixel_stride != NULL) in get_yuv422_8bit_stride_and_size()
358 *pixel_stride = local_pixel_stride; in get_yuv422_8bit_stride_and_size()
375 static bool get_afbc_yuv422_8bit_stride_and_size(int width, int height, int *pixel_stride, int *byt… in get_afbc_yuv422_8bit_stride_and_size() argument
429 if (pixel_stride != NULL) in get_afbc_yuv422_8bit_stride_and_size()
431 *pixel_stride = yuv422_afbc_luma_stride; in get_afbc_yuv422_8bit_stride_and_size()
454 static bool get_yuv_pX10_stride_and_size(int width, int height, int vss, int *pixel_stride, int *by… in get_yuv_pX10_stride_and_size() argument
487 if (pixel_stride != NULL) in get_yuv_pX10_stride_and_size()
489 *pixel_stride = luma_pixel_stride; in get_yuv_pX10_stride_and_size()
510 static bool get_yuv_y210_stride_and_size(int width, int height, int *pixel_stride, int *byte_stride… in get_yuv_y210_stride_and_size() argument
531 if (pixel_stride != NULL) in get_yuv_y210_stride_and_size()
533 *pixel_stride = y210_pixel_stride; in get_yuv_y210_stride_and_size()
557 static bool get_yuv_y0l2_stride_and_size(int width, int height, int *pixel_stride, int *byte_stride… in get_yuv_y0l2_stride_and_size() argument
578 if (pixel_stride != NULL) in get_yuv_y0l2_stride_and_size()
580 *pixel_stride = y0l2_pixel_stride; in get_yuv_y0l2_stride_and_size()
601 static bool get_yuv_y410_stride_and_size(int width, int height, int *pixel_stride, int *byte_stride… in get_yuv_y410_stride_and_size() argument
619 if (pixel_stride != NULL) in get_yuv_y410_stride_and_size()
621 *pixel_stride = y410_pixel_stride; in get_yuv_y410_stride_and_size()
645 static bool get_yuv420_10bit_afbc_stride_and_size(int width, int height, int *pixel_stride, int *by… in get_yuv420_10bit_afbc_stride_and_size() argument
714 if (pixel_stride != NULL) in get_yuv420_10bit_afbc_stride_and_size()
716 *pixel_stride = yuv420_afbc_pixel_stride; in get_yuv420_10bit_afbc_stride_and_size()
738 static bool get_yuv422_10bit_afbc_stride_and_size(int width, int height, int *pixel_stride, int *by… in get_yuv422_10bit_afbc_stride_and_size() argument
798 if (pixel_stride != NULL) in get_yuv422_10bit_afbc_stride_and_size()
800 *pixel_stride = yuv422_afbc_pixel_stride; in get_yuv422_10bit_afbc_stride_and_size()
955 …t_rgb_stride_and_size(bufDescriptor->width, bufDescriptor->height, 4, &bufDescriptor->pixel_stride, in mali_gralloc_buffer_allocate()
960 …t_rgb_stride_and_size(bufDescriptor->width, bufDescriptor->height, 3, &bufDescriptor->pixel_stride, in mali_gralloc_buffer_allocate()
965 …t_rgb_stride_and_size(bufDescriptor->width, bufDescriptor->height, 2, &bufDescriptor->pixel_stride, in mali_gralloc_buffer_allocate()
984 …get_yv12_stride_and_size(bufDescriptor->width, bufDescriptor->height, &bufDescriptor->pixel_stride, in mali_gralloc_buffer_allocate()
999 &bufDescriptor->pixel_stride, &bufDescriptor->byte_stride, in mali_gralloc_buffer_allocate()
1018 &bufDescriptor->pixel_stride, &bufDescriptor->size); in mali_gralloc_buffer_allocate()
1020 bufDescriptor->byte_stride = bufDescriptor->pixel_stride; in mali_gralloc_buffer_allocate()
1029 bufDescriptor->width, bufDescriptor->height, &bufDescriptor->pixel_stride, in mali_gralloc_buffer_allocate()
1038 &bufDescriptor->pixel_stride, &bufDescriptor->byte_stride, in mali_gralloc_buffer_allocate()
1052 &bufDescriptor->pixel_stride, &bufDescriptor->byte_stride, in mali_gralloc_buffer_allocate()
1065 &bufDescriptor->pixel_stride, &bufDescriptor->byte_stride, in mali_gralloc_buffer_allocate()
1079 … &bufDescriptor->pixel_stride, &bufDescriptor->byte_stride, in mali_gralloc_buffer_allocate()
1088 &bufDescriptor->pixel_stride, &bufDescriptor->byte_stride, in mali_gralloc_buffer_allocate()
1101 …yuv_y410_stride_and_size(bufDescriptor->width, bufDescriptor->height, &bufDescriptor->pixel_stride, in mali_gralloc_buffer_allocate()
1117 … &bufDescriptor->pixel_stride, &bufDescriptor->byte_stride, in mali_gralloc_buffer_allocate()