Lines Matching refs:format
427 int format;
443 static int packed_depth_bytes(u32 format)
445 switch (format & I915_OVERLAY_DEPTH_MASK) {
455 static int packed_width_bytes(u32 format, short width)
457 switch (format & I915_OVERLAY_DEPTH_MASK) {
465 static int uv_hsubsampling(u32 format)
467 switch (format & I915_OVERLAY_DEPTH_MASK) {
479 static int uv_vsubsampling(u32 format)
481 switch (format & I915_OVERLAY_DEPTH_MASK) {
557 int uv_hscale = uv_hsubsampling(params->format);
558 int uv_vscale = uv_vsubsampling(params->format);
572 /*if (params->format & I915_OVERLAY_YUV_PLANAR) {*/
638 if (params->format & I915_OVERLAY_YUV_PLANAR) {
639 switch (params->format & I915_OVERLAY_DEPTH_MASK) {
652 switch (params->format & I915_OVERLAY_DEPTH_MASK) {
661 switch (params->format & I915_OVERLAY_SWAP_MASK) {
735 if (params->format & I915_OVERLAY_YUV_PACKED)
736 tmp_width = packed_width_bytes(params->format, params->src_w);
746 if (params->format & I915_OVERLAY_YUV_PLANAR) {
747 int uv_hscale = uv_hsubsampling(params->format);
748 int uv_vscale = uv_vsubsampling(params->format);
1142 params->format = put_image_rec->flags & ~I915_OVERLAY_FLAGS_MASK;