diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-06-23 14:52:50 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 01:05:24 -0400 |
commit | 0ccac4af1a8f22e2e96d89b9bf8766dc7286a972 (patch) | |
tree | b9ad80d1c0dcb78a4655a9524c98e1a750f69b7d /include/linux/videodev2.h | |
parent | 45ad9f8b44b06bf1e91b4b3c338406c2233f0482 (diff) |
V4L/DVB (4203): Explicitly set the enum values.
It's better to use explicit enums. It reduces the chance of someone
inserting new enums in the middle which would break things.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r-- | include/linux/videodev2.h | 182 |
1 files changed, 91 insertions, 91 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 260ff6787ad4..4f428547ec09 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h | |||
@@ -808,12 +808,12 @@ struct v4l2_querymenu | |||
808 | /* MPEG streams */ | 808 | /* MPEG streams */ |
809 | #define V4L2_CID_MPEG_STREAM_TYPE (V4L2_CID_MPEG_BASE+0) | 809 | #define V4L2_CID_MPEG_STREAM_TYPE (V4L2_CID_MPEG_BASE+0) |
810 | enum v4l2_mpeg_stream_type { | 810 | enum v4l2_mpeg_stream_type { |
811 | V4L2_MPEG_STREAM_TYPE_MPEG2_PS, /* MPEG-2 program stream */ | 811 | V4L2_MPEG_STREAM_TYPE_MPEG2_PS = 0, /* MPEG-2 program stream */ |
812 | V4L2_MPEG_STREAM_TYPE_MPEG2_TS, /* MPEG-2 transport stream */ | 812 | V4L2_MPEG_STREAM_TYPE_MPEG2_TS = 1, /* MPEG-2 transport stream */ |
813 | V4L2_MPEG_STREAM_TYPE_MPEG1_SS, /* MPEG-1 system stream */ | 813 | V4L2_MPEG_STREAM_TYPE_MPEG1_SS = 2, /* MPEG-1 system stream */ |
814 | V4L2_MPEG_STREAM_TYPE_MPEG2_DVD, /* MPEG-2 DVD-compatible stream */ | 814 | V4L2_MPEG_STREAM_TYPE_MPEG2_DVD = 3, /* MPEG-2 DVD-compatible stream */ |
815 | V4L2_MPEG_STREAM_TYPE_MPEG1_VCD, /* MPEG-1 VCD-compatible stream */ | 815 | V4L2_MPEG_STREAM_TYPE_MPEG1_VCD = 4, /* MPEG-1 VCD-compatible stream */ |
816 | V4L2_MPEG_STREAM_TYPE_MPEG2_SVCD, /* MPEG-2 SVCD-compatible stream */ | 816 | V4L2_MPEG_STREAM_TYPE_MPEG2_SVCD = 5, /* MPEG-2 SVCD-compatible stream */ |
817 | }; | 817 | }; |
818 | #define V4L2_CID_MPEG_STREAM_PID_PMT (V4L2_CID_MPEG_BASE+1) | 818 | #define V4L2_CID_MPEG_STREAM_PID_PMT (V4L2_CID_MPEG_BASE+1) |
819 | #define V4L2_CID_MPEG_STREAM_PID_AUDIO (V4L2_CID_MPEG_BASE+2) | 819 | #define V4L2_CID_MPEG_STREAM_PID_AUDIO (V4L2_CID_MPEG_BASE+2) |
@@ -825,105 +825,105 @@ enum v4l2_mpeg_stream_type { | |||
825 | /* MPEG audio */ | 825 | /* MPEG audio */ |
826 | #define V4L2_CID_MPEG_AUDIO_SAMPLING_FREQ (V4L2_CID_MPEG_BASE+100) | 826 | #define V4L2_CID_MPEG_AUDIO_SAMPLING_FREQ (V4L2_CID_MPEG_BASE+100) |
827 | enum v4l2_mpeg_audio_sampling_freq { | 827 | enum v4l2_mpeg_audio_sampling_freq { |
828 | V4L2_MPEG_AUDIO_SAMPLING_FREQ_44100, | 828 | V4L2_MPEG_AUDIO_SAMPLING_FREQ_44100 = 0, |
829 | V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000, | 829 | V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000 = 1, |
830 | V4L2_MPEG_AUDIO_SAMPLING_FREQ_32000, | 830 | V4L2_MPEG_AUDIO_SAMPLING_FREQ_32000 = 2, |
831 | }; | 831 | }; |
832 | #define V4L2_CID_MPEG_AUDIO_ENCODING (V4L2_CID_MPEG_BASE+101) | 832 | #define V4L2_CID_MPEG_AUDIO_ENCODING (V4L2_CID_MPEG_BASE+101) |
833 | enum v4l2_mpeg_audio_encoding { | 833 | enum v4l2_mpeg_audio_encoding { |
834 | V4L2_MPEG_AUDIO_ENCODING_LAYER_1, | 834 | V4L2_MPEG_AUDIO_ENCODING_LAYER_1 = 0, |
835 | V4L2_MPEG_AUDIO_ENCODING_LAYER_2, | 835 | V4L2_MPEG_AUDIO_ENCODING_LAYER_2 = 1, |
836 | V4L2_MPEG_AUDIO_ENCODING_LAYER_3, | 836 | V4L2_MPEG_AUDIO_ENCODING_LAYER_3 = 2, |
837 | }; | 837 | }; |
838 | #define V4L2_CID_MPEG_AUDIO_L1_BITRATE (V4L2_CID_MPEG_BASE+102) | 838 | #define V4L2_CID_MPEG_AUDIO_L1_BITRATE (V4L2_CID_MPEG_BASE+102) |
839 | enum v4l2_mpeg_audio_l1_bitrate { | 839 | enum v4l2_mpeg_audio_l1_bitrate { |
840 | V4L2_MPEG_AUDIO_L1_BITRATE_32K, | 840 | V4L2_MPEG_AUDIO_L1_BITRATE_32K = 0, |
841 | V4L2_MPEG_AUDIO_L1_BITRATE_64K, | 841 | V4L2_MPEG_AUDIO_L1_BITRATE_64K = 1, |
842 | V4L2_MPEG_AUDIO_L1_BITRATE_96K, | 842 | V4L2_MPEG_AUDIO_L1_BITRATE_96K = 2, |
843 | V4L2_MPEG_AUDIO_L1_BITRATE_128K, | 843 | V4L2_MPEG_AUDIO_L1_BITRATE_128K = 3, |
844 | V4L2_MPEG_AUDIO_L1_BITRATE_160K, | 844 | V4L2_MPEG_AUDIO_L1_BITRATE_160K = 4, |
845 | V4L2_MPEG_AUDIO_L1_BITRATE_192K, | 845 | V4L2_MPEG_AUDIO_L1_BITRATE_192K = 5, |
846 | V4L2_MPEG_AUDIO_L1_BITRATE_224K, | 846 | V4L2_MPEG_AUDIO_L1_BITRATE_224K = 6, |
847 | V4L2_MPEG_AUDIO_L1_BITRATE_256K, | 847 | V4L2_MPEG_AUDIO_L1_BITRATE_256K = 7, |
848 | V4L2_MPEG_AUDIO_L1_BITRATE_288K, | 848 | V4L2_MPEG_AUDIO_L1_BITRATE_288K = 8, |
849 | V4L2_MPEG_AUDIO_L1_BITRATE_320K, | 849 | V4L2_MPEG_AUDIO_L1_BITRATE_320K = 9, |
850 | V4L2_MPEG_AUDIO_L1_BITRATE_352K, | 850 | V4L2_MPEG_AUDIO_L1_BITRATE_352K = 10, |
851 | V4L2_MPEG_AUDIO_L1_BITRATE_384K, | 851 | V4L2_MPEG_AUDIO_L1_BITRATE_384K = 11, |
852 | V4L2_MPEG_AUDIO_L1_BITRATE_416K, | 852 | V4L2_MPEG_AUDIO_L1_BITRATE_416K = 12, |
853 | V4L2_MPEG_AUDIO_L1_BITRATE_448K, | 853 | V4L2_MPEG_AUDIO_L1_BITRATE_448K = 13, |
854 | }; | 854 | }; |
855 | #define V4L2_CID_MPEG_AUDIO_L2_BITRATE (V4L2_CID_MPEG_BASE+103) | 855 | #define V4L2_CID_MPEG_AUDIO_L2_BITRATE (V4L2_CID_MPEG_BASE+103) |
856 | enum v4l2_mpeg_audio_l2_bitrate { | 856 | enum v4l2_mpeg_audio_l2_bitrate { |
857 | V4L2_MPEG_AUDIO_L2_BITRATE_32K, | 857 | V4L2_MPEG_AUDIO_L2_BITRATE_32K = 0, |
858 | V4L2_MPEG_AUDIO_L2_BITRATE_48K, | 858 | V4L2_MPEG_AUDIO_L2_BITRATE_48K = 1, |
859 | V4L2_MPEG_AUDIO_L2_BITRATE_56K, | 859 | V4L2_MPEG_AUDIO_L2_BITRATE_56K = 2, |
860 | V4L2_MPEG_AUDIO_L2_BITRATE_64K, | 860 | V4L2_MPEG_AUDIO_L2_BITRATE_64K = 3, |
861 | V4L2_MPEG_AUDIO_L2_BITRATE_80K, | 861 | V4L2_MPEG_AUDIO_L2_BITRATE_80K = 4, |
862 | V4L2_MPEG_AUDIO_L2_BITRATE_96K, | 862 | V4L2_MPEG_AUDIO_L2_BITRATE_96K = 5, |
863 | V4L2_MPEG_AUDIO_L2_BITRATE_112K, | 863 | V4L2_MPEG_AUDIO_L2_BITRATE_112K = 6, |
864 | V4L2_MPEG_AUDIO_L2_BITRATE_128K, | 864 | V4L2_MPEG_AUDIO_L2_BITRATE_128K = 7, |
865 | V4L2_MPEG_AUDIO_L2_BITRATE_160K, | 865 | V4L2_MPEG_AUDIO_L2_BITRATE_160K = 8, |
866 | V4L2_MPEG_AUDIO_L2_BITRATE_192K, | 866 | V4L2_MPEG_AUDIO_L2_BITRATE_192K = 9, |
867 | V4L2_MPEG_AUDIO_L2_BITRATE_224K, | 867 | V4L2_MPEG_AUDIO_L2_BITRATE_224K = 10, |
868 | V4L2_MPEG_AUDIO_L2_BITRATE_256K, | 868 | V4L2_MPEG_AUDIO_L2_BITRATE_256K = 11, |
869 | V4L2_MPEG_AUDIO_L2_BITRATE_320K, | 869 | V4L2_MPEG_AUDIO_L2_BITRATE_320K = 12, |
870 | V4L2_MPEG_AUDIO_L2_BITRATE_384K, | 870 | V4L2_MPEG_AUDIO_L2_BITRATE_384K = 13, |
871 | }; | 871 | }; |
872 | #define V4L2_CID_MPEG_AUDIO_L3_BITRATE (V4L2_CID_MPEG_BASE+104) | 872 | #define V4L2_CID_MPEG_AUDIO_L3_BITRATE (V4L2_CID_MPEG_BASE+104) |
873 | enum v4l2_mpeg_audio_l3_bitrate { | 873 | enum v4l2_mpeg_audio_l3_bitrate { |
874 | V4L2_MPEG_AUDIO_L3_BITRATE_32K, | 874 | V4L2_MPEG_AUDIO_L3_BITRATE_32K = 0, |
875 | V4L2_MPEG_AUDIO_L3_BITRATE_40K, | 875 | V4L2_MPEG_AUDIO_L3_BITRATE_40K = 1, |
876 | V4L2_MPEG_AUDIO_L3_BITRATE_48K, | 876 | V4L2_MPEG_AUDIO_L3_BITRATE_48K = 2, |
877 | V4L2_MPEG_AUDIO_L3_BITRATE_56K, | 877 | V4L2_MPEG_AUDIO_L3_BITRATE_56K = 3, |
878 | V4L2_MPEG_AUDIO_L3_BITRATE_64K, | 878 | V4L2_MPEG_AUDIO_L3_BITRATE_64K = 4, |
879 | V4L2_MPEG_AUDIO_L3_BITRATE_80K, | 879 | V4L2_MPEG_AUDIO_L3_BITRATE_80K = 5, |
880 | V4L2_MPEG_AUDIO_L3_BITRATE_96K, | 880 | V4L2_MPEG_AUDIO_L3_BITRATE_96K = 6, |
881 | V4L2_MPEG_AUDIO_L3_BITRATE_112K, | 881 | V4L2_MPEG_AUDIO_L3_BITRATE_112K = 7, |
882 | V4L2_MPEG_AUDIO_L3_BITRATE_128K, | 882 | V4L2_MPEG_AUDIO_L3_BITRATE_128K = 8, |
883 | V4L2_MPEG_AUDIO_L3_BITRATE_160K, | 883 | V4L2_MPEG_AUDIO_L3_BITRATE_160K = 9, |
884 | V4L2_MPEG_AUDIO_L3_BITRATE_192K, | 884 | V4L2_MPEG_AUDIO_L3_BITRATE_192K = 10, |
885 | V4L2_MPEG_AUDIO_L3_BITRATE_224K, | 885 | V4L2_MPEG_AUDIO_L3_BITRATE_224K = 11, |
886 | V4L2_MPEG_AUDIO_L3_BITRATE_256K, | 886 | V4L2_MPEG_AUDIO_L3_BITRATE_256K = 12, |
887 | V4L2_MPEG_AUDIO_L3_BITRATE_320K, | 887 | V4L2_MPEG_AUDIO_L3_BITRATE_320K = 13, |
888 | }; | 888 | }; |
889 | #define V4L2_CID_MPEG_AUDIO_MODE (V4L2_CID_MPEG_BASE+105) | 889 | #define V4L2_CID_MPEG_AUDIO_MODE (V4L2_CID_MPEG_BASE+105) |
890 | enum v4l2_mpeg_audio_mode { | 890 | enum v4l2_mpeg_audio_mode { |
891 | V4L2_MPEG_AUDIO_MODE_STEREO, | 891 | V4L2_MPEG_AUDIO_MODE_STEREO = 0, |
892 | V4L2_MPEG_AUDIO_MODE_JOINT_STEREO, | 892 | V4L2_MPEG_AUDIO_MODE_JOINT_STEREO = 1, |
893 | V4L2_MPEG_AUDIO_MODE_DUAL, | 893 | V4L2_MPEG_AUDIO_MODE_DUAL = 2, |
894 | V4L2_MPEG_AUDIO_MODE_MONO, | 894 | V4L2_MPEG_AUDIO_MODE_MONO = 3, |
895 | }; | 895 | }; |
896 | #define V4L2_CID_MPEG_AUDIO_MODE_EXTENSION (V4L2_CID_MPEG_BASE+106) | 896 | #define V4L2_CID_MPEG_AUDIO_MODE_EXTENSION (V4L2_CID_MPEG_BASE+106) |
897 | enum v4l2_mpeg_audio_mode_extension { | 897 | enum v4l2_mpeg_audio_mode_extension { |
898 | V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_4, | 898 | V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_4 = 0, |
899 | V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_8, | 899 | V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_8 = 1, |
900 | V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_12, | 900 | V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_12 = 2, |
901 | V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_16, | 901 | V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_16 = 3, |
902 | }; | 902 | }; |
903 | #define V4L2_CID_MPEG_AUDIO_EMPHASIS (V4L2_CID_MPEG_BASE+107) | 903 | #define V4L2_CID_MPEG_AUDIO_EMPHASIS (V4L2_CID_MPEG_BASE+107) |
904 | enum v4l2_mpeg_audio_emphasis { | 904 | enum v4l2_mpeg_audio_emphasis { |
905 | V4L2_MPEG_AUDIO_EMPHASIS_NONE, | 905 | V4L2_MPEG_AUDIO_EMPHASIS_NONE = 0, |
906 | V4L2_MPEG_AUDIO_EMPHASIS_50_DIV_15_uS, | 906 | V4L2_MPEG_AUDIO_EMPHASIS_50_DIV_15_uS = 1, |
907 | V4L2_MPEG_AUDIO_EMPHASIS_CCITT_J17, | 907 | V4L2_MPEG_AUDIO_EMPHASIS_CCITT_J17 = 2, |
908 | }; | 908 | }; |
909 | #define V4L2_CID_MPEG_AUDIO_CRC (V4L2_CID_MPEG_BASE+108) | 909 | #define V4L2_CID_MPEG_AUDIO_CRC (V4L2_CID_MPEG_BASE+108) |
910 | enum v4l2_mpeg_audio_crc { | 910 | enum v4l2_mpeg_audio_crc { |
911 | V4L2_MPEG_AUDIO_CRC_NONE, | 911 | V4L2_MPEG_AUDIO_CRC_NONE = 0, |
912 | V4L2_MPEG_AUDIO_CRC_CRC16, | 912 | V4L2_MPEG_AUDIO_CRC_CRC16 = 1, |
913 | }; | 913 | }; |
914 | 914 | ||
915 | /* MPEG video */ | 915 | /* MPEG video */ |
916 | #define V4L2_CID_MPEG_VIDEO_ENCODING (V4L2_CID_MPEG_BASE+200) | 916 | #define V4L2_CID_MPEG_VIDEO_ENCODING (V4L2_CID_MPEG_BASE+200) |
917 | enum v4l2_mpeg_video_encoding { | 917 | enum v4l2_mpeg_video_encoding { |
918 | V4L2_MPEG_VIDEO_ENCODING_MPEG_1, | 918 | V4L2_MPEG_VIDEO_ENCODING_MPEG_1 = 0, |
919 | V4L2_MPEG_VIDEO_ENCODING_MPEG_2, | 919 | V4L2_MPEG_VIDEO_ENCODING_MPEG_2 = 1, |
920 | }; | 920 | }; |
921 | #define V4L2_CID_MPEG_VIDEO_ASPECT (V4L2_CID_MPEG_BASE+201) | 921 | #define V4L2_CID_MPEG_VIDEO_ASPECT (V4L2_CID_MPEG_BASE+201) |
922 | enum v4l2_mpeg_video_aspect { | 922 | enum v4l2_mpeg_video_aspect { |
923 | V4L2_MPEG_VIDEO_ASPECT_1x1, | 923 | V4L2_MPEG_VIDEO_ASPECT_1x1 = 0, |
924 | V4L2_MPEG_VIDEO_ASPECT_4x3, | 924 | V4L2_MPEG_VIDEO_ASPECT_4x3 = 1, |
925 | V4L2_MPEG_VIDEO_ASPECT_16x9, | 925 | V4L2_MPEG_VIDEO_ASPECT_16x9 = 2, |
926 | V4L2_MPEG_VIDEO_ASPECT_221x100, | 926 | V4L2_MPEG_VIDEO_ASPECT_221x100 = 3, |
927 | }; | 927 | }; |
928 | #define V4L2_CID_MPEG_VIDEO_B_FRAMES (V4L2_CID_MPEG_BASE+202) | 928 | #define V4L2_CID_MPEG_VIDEO_B_FRAMES (V4L2_CID_MPEG_BASE+202) |
929 | #define V4L2_CID_MPEG_VIDEO_GOP_SIZE (V4L2_CID_MPEG_BASE+203) | 929 | #define V4L2_CID_MPEG_VIDEO_GOP_SIZE (V4L2_CID_MPEG_BASE+203) |
@@ -931,8 +931,8 @@ enum v4l2_mpeg_video_aspect { | |||
931 | #define V4L2_CID_MPEG_VIDEO_PULLDOWN (V4L2_CID_MPEG_BASE+205) | 931 | #define V4L2_CID_MPEG_VIDEO_PULLDOWN (V4L2_CID_MPEG_BASE+205) |
932 | #define V4L2_CID_MPEG_VIDEO_BITRATE_MODE (V4L2_CID_MPEG_BASE+206) | 932 | #define V4L2_CID_MPEG_VIDEO_BITRATE_MODE (V4L2_CID_MPEG_BASE+206) |
933 | enum v4l2_mpeg_video_bitrate_mode { | 933 | enum v4l2_mpeg_video_bitrate_mode { |
934 | V4L2_MPEG_VIDEO_BITRATE_MODE_VBR, | 934 | V4L2_MPEG_VIDEO_BITRATE_MODE_VBR = 0, |
935 | V4L2_MPEG_VIDEO_BITRATE_MODE_CBR, | 935 | V4L2_MPEG_VIDEO_BITRATE_MODE_CBR = 1, |
936 | }; | 936 | }; |
937 | #define V4L2_CID_MPEG_VIDEO_BITRATE (V4L2_CID_MPEG_BASE+207) | 937 | #define V4L2_CID_MPEG_VIDEO_BITRATE (V4L2_CID_MPEG_BASE+207) |
938 | #define V4L2_CID_MPEG_VIDEO_BITRATE_PEAK (V4L2_CID_MPEG_BASE+208) | 938 | #define V4L2_CID_MPEG_VIDEO_BITRATE_PEAK (V4L2_CID_MPEG_BASE+208) |
@@ -942,36 +942,36 @@ enum v4l2_mpeg_video_bitrate_mode { | |||
942 | #define V4L2_CID_MPEG_CX2341X_BASE (V4L2_CTRL_CLASS_MPEG | 0x1000) | 942 | #define V4L2_CID_MPEG_CX2341X_BASE (V4L2_CTRL_CLASS_MPEG | 0x1000) |
943 | #define V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE (V4L2_CID_MPEG_CX2341X_BASE+0) | 943 | #define V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE (V4L2_CID_MPEG_CX2341X_BASE+0) |
944 | enum v4l2_mpeg_cx2341x_video_spatial_filter_mode { | 944 | enum v4l2_mpeg_cx2341x_video_spatial_filter_mode { |
945 | V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_MANUAL, | 945 | V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_MANUAL = 0, |
946 | V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_AUTO, | 946 | V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_AUTO = 1, |
947 | }; | 947 | }; |
948 | #define V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER (V4L2_CID_MPEG_CX2341X_BASE+1) | 948 | #define V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER (V4L2_CID_MPEG_CX2341X_BASE+1) |
949 | #define V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE (V4L2_CID_MPEG_CX2341X_BASE+2) | 949 | #define V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE (V4L2_CID_MPEG_CX2341X_BASE+2) |
950 | enum v4l2_mpeg_cx2341x_video_luma_spatial_filter_type { | 950 | enum v4l2_mpeg_cx2341x_video_luma_spatial_filter_type { |
951 | V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_OFF, | 951 | V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_OFF = 0, |
952 | V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_1D_HOR, | 952 | V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_1D_HOR = 1, |
953 | V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_1D_VERT, | 953 | V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_1D_VERT = 2, |
954 | V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_2D_HV_SEPARABLE, | 954 | V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_2D_HV_SEPARABLE = 3, |
955 | V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_2D_SYM_NON_SEPARABLE, | 955 | V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_2D_SYM_NON_SEPARABLE = 4, |
956 | }; | 956 | }; |
957 | #define V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE (V4L2_CID_MPEG_CX2341X_BASE+3) | 957 | #define V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE (V4L2_CID_MPEG_CX2341X_BASE+3) |
958 | enum v4l2_mpeg_cx2341x_video_chroma_spatial_filter_type { | 958 | enum v4l2_mpeg_cx2341x_video_chroma_spatial_filter_type { |
959 | V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_OFF, | 959 | V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_OFF = 0, |
960 | V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_1D_HOR, | 960 | V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_1D_HOR = 1, |
961 | }; | 961 | }; |
962 | #define V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE (V4L2_CID_MPEG_CX2341X_BASE+4) | 962 | #define V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE (V4L2_CID_MPEG_CX2341X_BASE+4) |
963 | enum v4l2_mpeg_cx2341x_video_temporal_filter_mode { | 963 | enum v4l2_mpeg_cx2341x_video_temporal_filter_mode { |
964 | V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_MANUAL, | 964 | V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_MANUAL = 0, |
965 | V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_AUTO, | 965 | V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_AUTO = 1, |
966 | }; | 966 | }; |
967 | #define V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER (V4L2_CID_MPEG_CX2341X_BASE+5) | 967 | #define V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER (V4L2_CID_MPEG_CX2341X_BASE+5) |
968 | #define V4L2_CID_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE (V4L2_CID_MPEG_CX2341X_BASE+6) | 968 | #define V4L2_CID_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE (V4L2_CID_MPEG_CX2341X_BASE+6) |
969 | enum v4l2_mpeg_cx2341x_video_median_filter_type { | 969 | enum v4l2_mpeg_cx2341x_video_median_filter_type { |
970 | V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_OFF, | 970 | V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_OFF = 0, |
971 | V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_HOR, | 971 | V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_HOR = 1, |
972 | V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_VERT, | 972 | V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_VERT = 2, |
973 | V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_HOR_VERT, | 973 | V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_HOR_VERT = 3, |
974 | V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_DIAG, | 974 | V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_DIAG = 4, |
975 | }; | 975 | }; |
976 | #define V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_BOTTOM (V4L2_CID_MPEG_CX2341X_BASE+7) | 976 | #define V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_BOTTOM (V4L2_CID_MPEG_CX2341X_BASE+7) |
977 | #define V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_TOP (V4L2_CID_MPEG_CX2341X_BASE+8) | 977 | #define V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_TOP (V4L2_CID_MPEG_CX2341X_BASE+8) |