mtk_jpeg_formats 30 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c static struct mtk_jpeg_fmt mtk_jpeg_formats[] = { mtk_jpeg_formats 56 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c #define MTK_JPEG_NUM_FORMATS ARRAY_SIZE(mtk_jpeg_formats) mtk_jpeg_formats 97 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c static int mtk_jpeg_enum_fmt(struct mtk_jpeg_fmt *mtk_jpeg_formats, int n, mtk_jpeg_formats 103 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c if (mtk_jpeg_formats[i].flags & type) { mtk_jpeg_formats 113 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c f->pixelformat = mtk_jpeg_formats[i].fourcc; mtk_jpeg_formats 121 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c return mtk_jpeg_enum_fmt(mtk_jpeg_formats, MTK_JPEG_NUM_FORMATS, f, mtk_jpeg_formats 128 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c return mtk_jpeg_enum_fmt(mtk_jpeg_formats, MTK_JPEG_NUM_FORMATS, f, mtk_jpeg_formats 151 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c struct mtk_jpeg_fmt *fmt = &mtk_jpeg_formats[k];