mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
V4L/DVB (4223): Add V4L2_CID_MPEG_STREAM_VBI_FMT control
V4L2_CID_MPEG_STREAM_VBI_FMT controls if and how VBI data is embedded in an MPEG stream. Currently only one format is supported: the format designed for the ivtv driver. This should be extended with new standard formats (such as defined for DVB) in the future. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
4f725cb3fa
commit
8cbde94be3
4 changed files with 42 additions and 0 deletions
|
|
@ -25,8 +25,13 @@ enum cx2341x_port {
|
|||
CX2341X_PORT_SERIAL = 2
|
||||
};
|
||||
|
||||
enum cx2341x_cap {
|
||||
CX2341X_CAP_HAS_SLICED_VBI = 1 << 0,
|
||||
};
|
||||
|
||||
struct cx2341x_mpeg_params {
|
||||
/* misc */
|
||||
u32 capabilities;
|
||||
enum cx2341x_port port;
|
||||
u16 width;
|
||||
u16 height;
|
||||
|
|
@ -34,6 +39,7 @@ struct cx2341x_mpeg_params {
|
|||
|
||||
/* stream */
|
||||
enum v4l2_mpeg_stream_type stream_type;
|
||||
enum v4l2_mpeg_stream_vbi_fmt stream_vbi_fmt;
|
||||
|
||||
/* audio */
|
||||
enum v4l2_mpeg_audio_sampling_freq audio_sampling_freq;
|
||||
|
|
|
|||
Loading…
Reference in a new issue