HomeSort by relevance Sort by last modified time
    Searched defs:VENUS_Y_STRIDE (Results 1 - 5 of 5) sorted by null

  /hardware/qcom/msm8x74/kernel-headers/media/
msm_media_info.h 30 #define VENUS_Y_STRIDE(__color_fmt, __width) ({ unsigned int __alignment, __stride = 0; if (__width) { switch (__color_fmt) { case COLOR_FMT_NV12: __alignment = 128; __stride = MSM_MEDIA_ALIGN(__width, __alignment); break; default: break; } } __stride; })
35 #define VENUS_BUFFER_SIZE( __color_fmt, __width, __height) ({ unsigned int __uv_alignment; unsigned int __size = 0; unsigned int __y_plane, __uv_plane, __y_stride, __uv_stride, __y_sclines, __uv_sclines; if (__width && __height) { __y_stride = VENUS_Y_STRIDE(__color_fmt, __width); __uv_stride = VENUS_UV_STRIDE(__color_fmt, __width); __y_sclines = VENUS_Y_SCANLINES(__color_fmt, __height); __uv_sclines = VENUS_UV_SCANLINES(__color_fmt, __height); switch (__color_fmt) { case COLOR_FMT_NV12: __uv_alignment = 4096; __y_plane = __y_stride * __y_sclines; __uv_plane = __uv_stride * __uv_sclines + __uv_alignment; __size = __y_plane + __uv_plane; __size = MSM_MEDIA_ALIGN(__size, 4096); break; default: break; } } __size; })
  /hardware/qcom/msm8x74/original-kernel-headers/media/
msm_media_info.h 13 #define VENUS_Y_STRIDE(__color_fmt, __width) ({\
80 __y_stride = VENUS_Y_STRIDE(__color_fmt, __width); \
  /hardware/qcom/display/msm8960/libgralloc/
alloc_controller.cpp 43 #define VENUS_Y_STRIDE(args...) 0
148 stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width);
  /hardware/qcom/display/msm8974/libgralloc/
alloc_controller.cpp 43 #define VENUS_Y_STRIDE(args...) 0
157 stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width);
  /hardware/qcom/display/msm8x26/libgralloc/
alloc_controller.cpp 43 #define VENUS_Y_STRIDE(args...) 0
148 stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width);

Completed in 27 milliseconds