/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/inc/ |
D | omx_swvenc_mpeg4.h | 208 static inline unsigned int SWVENC_Y_STRIDE(int color_fmt, int width) in SWVENC_Y_STRIDE() argument 215 if(color_fmt == COLOR_FMT_NV12_ZSL) in SWVENC_Y_STRIDE() 216 color_fmt = COLOR_FMT_NV12; in SWVENC_Y_STRIDE() 217 switch (color_fmt) in SWVENC_Y_STRIDE() 234 static inline unsigned int SWVENC_Y_SCANLINES(int color_fmt, int height) in SWVENC_Y_SCANLINES() argument 241 if(color_fmt == COLOR_FMT_NV12_ZSL) in SWVENC_Y_SCANLINES() 242 color_fmt = COLOR_FMT_NV12; in SWVENC_Y_SCANLINES() 243 switch (color_fmt) in SWVENC_Y_SCANLINES() 260 static inline unsigned int SWVENC_UV_SCANLINES(int color_fmt, int height) in SWVENC_UV_SCANLINES() argument 267 if(color_fmt == COLOR_FMT_NV12_ZSL) in SWVENC_UV_SCANLINES() [all …]
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/inc/ |
D | omx_swvenc_mpeg4.h | 208 static inline unsigned int SWVENC_Y_STRIDE(int color_fmt, int width) in SWVENC_Y_STRIDE() argument 213 switch (color_fmt) in SWVENC_Y_STRIDE() 227 static inline unsigned int SWVENC_Y_SCANLINES(int color_fmt, int height) in SWVENC_Y_SCANLINES() argument 232 switch (color_fmt) in SWVENC_Y_SCANLINES() 248 static inline unsigned int SWVENC_UV_SCANLINES(int color_fmt, int height) in SWVENC_UV_SCANLINES() argument 253 switch (color_fmt) in SWVENC_UV_SCANLINES() 267 static inline unsigned int SWVENC_BUFFER_SIZE(int color_fmt, int width, int height) in SWVENC_BUFFER_SIZE() argument 273 y_stride = SWVENC_Y_STRIDE(color_fmt, width); in SWVENC_BUFFER_SIZE() 275 y_scanlines = SWVENC_Y_SCANLINES(color_fmt, height); in SWVENC_BUFFER_SIZE() 276 uv_scanlines = SWVENC_UV_SCANLINES(color_fmt, height); in SWVENC_BUFFER_SIZE() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 347 OMX_COLOR_FORMATTYPE color_fmt; variable 848 if (color_fmt == (OMX_COLOR_FORMATTYPE)QOMX_COLOR_FORMATYUV420PackedSemiPlanar32m || in fbd_thread() 849 … color_fmt == (OMX_COLOR_FORMATTYPE)QOMX_COLOR_FORMATYUV420PackedSemiPlanar32mMultiView) { in fbd_thread() 855 char *view2 = color_fmt == (OMX_COLOR_FORMATTYPE) in fbd_thread() 2171 color_fmt = OMX_COLOR_FormatYUV420SemiPlanar; in Play_Decoder() 2173 color_fmt = (OMX_COLOR_FORMATTYPE) in Play_Decoder() 2178 color_fmt = (OMX_COLOR_FORMATTYPE) in Play_Decoder() 2181 color_fmt = (OMX_COLOR_FORMATTYPE) in Play_Decoder() 2184 color_fmt = (OMX_COLOR_FORMATTYPE) in Play_Decoder() 2195 color_fmt)) { in Play_Decoder() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 220 OMX_COLOR_FORMATTYPE color_fmt; variable 1905 color_fmt = OMX_COLOR_FormatYUV420SemiPlanar; in Play_Decoder() 1909 color_fmt = (OMX_COLOR_FORMATTYPE) in Play_Decoder() 1913 color_fmt = OMX_COLOR_FormatYUV420SemiPlanar; in Play_Decoder() 1915 color_fmt = (OMX_COLOR_FORMATTYPE) in Play_Decoder() 1927 color_fmt)) in Play_Decoder() 1929 DEBUG_PRINT("\n Format[%u] supported by OMX Decoder", color_fmt); in Play_Decoder() 3350 if(color_fmt == (OMX_COLOR_FORMATTYPE)QOMX_COLOR_FormatYUV420PackedSemiPlanar64x32Tile2m8ka) in overlay_set()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg.h | 503 int map_jpeg_format(mm_jpeg_color_format color_fmt);
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg.c | 888 int map_jpeg_format(mm_jpeg_color_format color_fmt) in map_jpeg_format() argument 890 switch (color_fmt) { in map_jpeg_format() 910 LOGW("invalid format %d", color_fmt); in map_jpeg_format() 928 (mm_jpeg_color_format color_fmt) in mm_jpeg_get_imgfmt_from_colorfmt() argument 930 switch (color_fmt) { in mm_jpeg_get_imgfmt_from_colorfmt()
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 1934 int color_fmt = COLOR_FMT_NV12_UBWC; in log_output_buffers() local 1940 y_meta_stride = VENUS_Y_META_STRIDE(color_fmt, width); in log_output_buffers() 1941 y_meta_scanlines = VENUS_Y_META_SCANLINES(color_fmt, height); in log_output_buffers() 1942 y_stride = VENUS_Y_STRIDE(color_fmt, width); in log_output_buffers() 1943 y_sclines = VENUS_Y_SCANLINES(color_fmt, height); in log_output_buffers() 1944 uv_meta_stride = VENUS_UV_META_STRIDE(color_fmt, width); in log_output_buffers() 1945 uv_meta_scanlines = VENUS_UV_META_SCANLINES(color_fmt, height); in log_output_buffers() 12328 int color_fmt, rc; in prefetchNewBuffers() local 12350 color_fmt = COLOR_FMT_NV12; in prefetchNewBuffers() 12353 color_fmt = COLOR_FMT_NV12_UBWC; in prefetchNewBuffers() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 2138 …int color_fmt = (drv_ctx.output_format== VDEC_YUV_FORMAT_NV12_UBWC)? COLOR_FMT_NV12_UBWC: COLOR_FM… in log_output_buffers() local 2144 y_meta_stride = VENUS_Y_META_STRIDE(color_fmt, width); in log_output_buffers() 2145 y_meta_scanlines = VENUS_Y_META_SCANLINES(color_fmt, height); in log_output_buffers() 2146 y_stride = VENUS_Y_STRIDE(color_fmt, width); in log_output_buffers() 2147 y_sclines = VENUS_Y_SCANLINES(color_fmt, height); in log_output_buffers() 2148 uv_meta_stride = VENUS_UV_META_STRIDE(color_fmt, width); in log_output_buffers() 2149 uv_meta_scanlines = VENUS_UV_META_SCANLINES(color_fmt, height); in log_output_buffers() 13543 int color_fmt, rc; in prefetchNewBuffers() local 13565 color_fmt = COLOR_FMT_NV12; in prefetchNewBuffers() 13568 color_fmt = COLOR_FMT_NV12_UBWC; in prefetchNewBuffers() [all …]
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 1632 …int color_fmt = (drv_ctx.output_format== VDEC_YUV_FORMAT_NV12_UBWC)? COLOR_FMT_NV12_UBWC: COLOR_FM… in log_output_buffers() local 1638 y_meta_stride = VENUS_Y_META_STRIDE(color_fmt, width); in log_output_buffers() 1639 y_meta_scanlines = VENUS_Y_META_SCANLINES(color_fmt, height); in log_output_buffers() 1640 y_stride = VENUS_Y_STRIDE(color_fmt, width); in log_output_buffers() 1641 y_sclines = VENUS_Y_SCANLINES(color_fmt, height); in log_output_buffers() 1642 uv_meta_stride = VENUS_UV_META_STRIDE(color_fmt, width); in log_output_buffers() 1643 uv_meta_scanlines = VENUS_UV_META_SCANLINES(color_fmt, height); in log_output_buffers()
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 2189 …int color_fmt = (drv_ctx.output_format== VDEC_YUV_FORMAT_NV12_UBWC)? COLOR_FMT_NV12_UBWC: COLOR_FM… in log_output_buffers() local 2195 y_meta_stride = VENUS_Y_META_STRIDE(color_fmt, width); in log_output_buffers() 2196 y_meta_scanlines = VENUS_Y_META_SCANLINES(color_fmt, height); in log_output_buffers() 2197 y_stride = VENUS_Y_STRIDE(color_fmt, width); in log_output_buffers() 2198 y_sclines = VENUS_Y_SCANLINES(color_fmt, height); in log_output_buffers() 2199 uv_meta_stride = VENUS_UV_META_STRIDE(color_fmt, width); in log_output_buffers() 2200 uv_meta_scanlines = VENUS_UV_META_SCANLINES(color_fmt, height); in log_output_buffers()
|