Lines Matching refs:format
78 static int zx_vl_get_fmt(uint32_t format)
80 switch (format) {
96 WARN_ONCE(1, "invalid pixel format %d\n", format);
113 static int zx_vl_rsz_get_fmt(uint32_t format)
115 switch (format) {
127 WARN_ONCE(1, "invalid pixel format %d\n", format);
147 static void zx_vl_rsz_setup(struct zx_plane *zplane, uint32_t format,
159 /* Configure data format for VL RSZ */
160 fmt = zx_vl_rsz_get_fmt(format);
196 uint32_t format;
203 format = fb->format->format;
217 for (i = 0; i < fb->format->num_planes; i++) {
221 paddr += src_x * fb->format->cpp[i];
240 /* Set up video layer data format */
241 fmt = zx_vl_get_fmt(format);
249 zx_vl_rsz_setup(zplane, format, src_w, src_h, dst_w, dst_h);
306 static int zx_gl_get_fmt(uint32_t format)
308 switch (format) {
321 WARN_ONCE(1, "invalid pixel format %d\n", format);
361 uint32_t format;
369 format = fb->format->format;
382 bpp = fb->format->cpp[0];
402 /* Set up graphic layer data format */
403 fmt = zx_gl_get_fmt(format);