How to set global alpha to V4L2_BUF_TYPE_CAPTURE ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

How to set global alpha to V4L2_BUF_TYPE_CAPTURE ?

Samsung SoC S5PC210 has Camera interface and Video post processor named FIMC
which can set the alpha value to V4L2_BUF_TYPE_CAPTURE. 
For example during color space conversion from YUV422 to ARGB8888, 
FIMC can set the alpha value to V4L2_BUF_TYPE_CAPTURE.

I tried to find an available command to set it but I couldn't found it.
But there is fmt.win.global_alpha for Video Overlay Interface.
So in my opinion VIDIOC_S_FMT is also suitable for V4L2_BUF_TYPE_CAPTURE*.
How about using fmt.pix.priv in struct v4l2_format 
and fmt.pix_mp.reserved[0] in struct v4l2_format ?

I welcome your opinion.

Best regards,


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux