Lines Matching refs:a
1118 const struct v4l2_framebuffer *a) in vidioc_s_fbuf() argument
1132 if ((a->flags & V4L2_FBUF_FLAG_SRC_CHROMAKEY) && in vidioc_s_fbuf()
1133 (a->flags & V4L2_FBUF_FLAG_CHROMAKEY)) in vidioc_s_fbuf()
1137 if ((a->flags & V4L2_FBUF_FLAG_CHROMAKEY) && in vidioc_s_fbuf()
1138 (a->flags & V4L2_FBUF_FLAG_LOCAL_ALPHA)) in vidioc_s_fbuf()
1141 if ((a->flags & V4L2_FBUF_FLAG_SRC_CHROMAKEY)) { in vidioc_s_fbuf()
1147 if ((a->flags & V4L2_FBUF_FLAG_CHROMAKEY)) { in vidioc_s_fbuf()
1153 if (a->flags & (V4L2_FBUF_FLAG_CHROMAKEY | in vidioc_s_fbuf()
1169 if (a->flags & V4L2_FBUF_FLAG_LOCAL_ALPHA) { in vidioc_s_fbuf()
1190 struct v4l2_framebuffer *a) in vidioc_g_fbuf() argument
1211 a->fmt.field = V4L2_FIELD_NONE; in vidioc_g_fbuf()
1212 a->fmt.colorspace = V4L2_COLORSPACE_SRGB; in vidioc_g_fbuf()
1213 a->fmt.pixelformat = V4L2_PIX_FMT_RGBA32; in vidioc_g_fbuf()
1214 a->fmt.height = vout->fbuf.fmt.height; in vidioc_g_fbuf()
1215 a->fmt.width = vout->fbuf.fmt.width; in vidioc_g_fbuf()
1216 a->fmt.bytesperline = vout->fbuf.fmt.width * 4; in vidioc_g_fbuf()
1217 a->fmt.sizeimage = a->fmt.height * a->fmt.bytesperline; in vidioc_g_fbuf()
1218 a->base = vout->fbuf.base; in vidioc_g_fbuf()
1220 a->flags = vout->fbuf.flags; in vidioc_g_fbuf()
1221 a->capability = vout->fbuf.capability; in vidioc_g_fbuf()
1222 a->flags &= ~(V4L2_FBUF_FLAG_SRC_CHROMAKEY | V4L2_FBUF_FLAG_CHROMAKEY | in vidioc_g_fbuf()
1228 a->flags |= V4L2_FBUF_FLAG_SRC_CHROMAKEY; in vidioc_g_fbuf()
1230 a->flags |= V4L2_FBUF_FLAG_CHROMAKEY; in vidioc_g_fbuf()
1232 a->flags |= V4L2_FBUF_FLAG_LOCAL_ALPHA; in vidioc_g_fbuf()