~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/media/drv-intf/cx2341x.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/media/drv-intf/cx2341x.h (Version linux-6.12-rc7) and /include/media/drv-intf/cx2341x.h (Version linux-5.0.21)


  1 /* SPDX-License-Identifier: GPL-2.0-or-later * << 
  2 /*                                                  1 /*
  3     cx23415/6/8 header containing common defin      2     cx23415/6/8 header containing common defines.
  4                                                     3 
                                                   >>   4     This program is free software; you can redistribute it and/or modify
                                                   >>   5     it under the terms of the GNU General Public License as published by
                                                   >>   6     the Free Software Foundation; either version 2 of the License, or
                                                   >>   7     (at your option) any later version.
                                                   >>   8 
                                                   >>   9     This program is distributed in the hope that it will be useful,
                                                   >>  10     but WITHOUT ANY WARRANTY; without even the implied warranty of
                                                   >>  11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                                                   >>  12     GNU General Public License for more details.
                                                   >>  13 
                                                   >>  14     You should have received a copy of the GNU General Public License
                                                   >>  15     along with this program; if not, write to the Free Software
                                                   >>  16     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  5  */                                                17  */
  6                                                    18 
  7 #ifndef CX2341X_H                                  19 #ifndef CX2341X_H
  8 #define CX2341X_H                                  20 #define CX2341X_H
  9                                                    21 
 10 #include <media/v4l2-ctrls.h>                      22 #include <media/v4l2-ctrls.h>
 11                                                    23 
 12 enum cx2341x_port {                                24 enum cx2341x_port {
 13         CX2341X_PORT_MEMORY    = 0,                25         CX2341X_PORT_MEMORY    = 0,
 14         CX2341X_PORT_STREAMING = 1,                26         CX2341X_PORT_STREAMING = 1,
 15         CX2341X_PORT_SERIAL    = 2                 27         CX2341X_PORT_SERIAL    = 2
 16 };                                                 28 };
 17                                                    29 
 18 enum cx2341x_cap {                                 30 enum cx2341x_cap {
 19         CX2341X_CAP_HAS_SLICED_VBI = 1 << 0,       31         CX2341X_CAP_HAS_SLICED_VBI = 1 << 0,
 20         CX2341X_CAP_HAS_TS         = 1 << 1,       32         CX2341X_CAP_HAS_TS         = 1 << 1,
 21         CX2341X_CAP_HAS_AC3        = 1 << 2,       33         CX2341X_CAP_HAS_AC3        = 1 << 2,
 22 };                                                 34 };
 23                                                    35 
 24 struct cx2341x_mpeg_params {                       36 struct cx2341x_mpeg_params {
 25         /* misc */                                 37         /* misc */
 26         u32 capabilities;                          38         u32 capabilities;
 27         enum cx2341x_port port;                    39         enum cx2341x_port port;
 28         u16 width;                                 40         u16 width;
 29         u16 height;                                41         u16 height;
 30         u16 is_50hz;                               42         u16 is_50hz;
 31                                                    43 
 32         /* stream */                               44         /* stream */
 33         enum v4l2_mpeg_stream_type stream_type     45         enum v4l2_mpeg_stream_type stream_type;
 34         enum v4l2_mpeg_stream_vbi_fmt stream_v     46         enum v4l2_mpeg_stream_vbi_fmt stream_vbi_fmt;
 35         u16 stream_insert_nav_packets;             47         u16 stream_insert_nav_packets;
 36                                                    48 
 37         /* audio */                                49         /* audio */
 38         enum v4l2_mpeg_audio_sampling_freq aud     50         enum v4l2_mpeg_audio_sampling_freq audio_sampling_freq;
 39         enum v4l2_mpeg_audio_encoding audio_en     51         enum v4l2_mpeg_audio_encoding audio_encoding;
 40         enum v4l2_mpeg_audio_l2_bitrate audio_     52         enum v4l2_mpeg_audio_l2_bitrate audio_l2_bitrate;
 41         enum v4l2_mpeg_audio_ac3_bitrate audio     53         enum v4l2_mpeg_audio_ac3_bitrate audio_ac3_bitrate;
 42         enum v4l2_mpeg_audio_mode audio_mode;      54         enum v4l2_mpeg_audio_mode audio_mode;
 43         enum v4l2_mpeg_audio_mode_extension au     55         enum v4l2_mpeg_audio_mode_extension audio_mode_extension;
 44         enum v4l2_mpeg_audio_emphasis audio_em     56         enum v4l2_mpeg_audio_emphasis audio_emphasis;
 45         enum v4l2_mpeg_audio_crc audio_crc;        57         enum v4l2_mpeg_audio_crc audio_crc;
 46         u32 audio_properties;                      58         u32 audio_properties;
 47         u16 audio_mute;                            59         u16 audio_mute;
 48                                                    60 
 49         /* video */                                61         /* video */
 50         enum v4l2_mpeg_video_encoding video_en     62         enum v4l2_mpeg_video_encoding video_encoding;
 51         enum v4l2_mpeg_video_aspect video_aspe     63         enum v4l2_mpeg_video_aspect video_aspect;
 52         u16 video_b_frames;                        64         u16 video_b_frames;
 53         u16 video_gop_size;                        65         u16 video_gop_size;
 54         u16 video_gop_closure;                     66         u16 video_gop_closure;
 55         enum v4l2_mpeg_video_bitrate_mode vide     67         enum v4l2_mpeg_video_bitrate_mode video_bitrate_mode;
 56         u32 video_bitrate;                         68         u32 video_bitrate;
 57         u32 video_bitrate_peak;                    69         u32 video_bitrate_peak;
 58         u16 video_temporal_decimation;             70         u16 video_temporal_decimation;
 59         u16 video_mute;                            71         u16 video_mute;
 60         u32 video_mute_yuv;                        72         u32 video_mute_yuv;
 61                                                    73 
 62         /* encoding filters */                     74         /* encoding filters */
 63         enum v4l2_mpeg_cx2341x_video_spatial_f     75         enum v4l2_mpeg_cx2341x_video_spatial_filter_mode video_spatial_filter_mode;
 64         u16 video_spatial_filter;                  76         u16 video_spatial_filter;
 65         enum v4l2_mpeg_cx2341x_video_luma_spat     77         enum v4l2_mpeg_cx2341x_video_luma_spatial_filter_type video_luma_spatial_filter_type;
 66         enum v4l2_mpeg_cx2341x_video_chroma_sp     78         enum v4l2_mpeg_cx2341x_video_chroma_spatial_filter_type video_chroma_spatial_filter_type;
 67         enum v4l2_mpeg_cx2341x_video_temporal_     79         enum v4l2_mpeg_cx2341x_video_temporal_filter_mode video_temporal_filter_mode;
 68         u16 video_temporal_filter;                 80         u16 video_temporal_filter;
 69         enum v4l2_mpeg_cx2341x_video_median_fi     81         enum v4l2_mpeg_cx2341x_video_median_filter_type video_median_filter_type;
 70         u16 video_luma_median_filter_top;          82         u16 video_luma_median_filter_top;
 71         u16 video_luma_median_filter_bottom;       83         u16 video_luma_median_filter_bottom;
 72         u16 video_chroma_median_filter_top;        84         u16 video_chroma_median_filter_top;
 73         u16 video_chroma_median_filter_bottom;     85         u16 video_chroma_median_filter_bottom;
 74 };                                                 86 };
 75                                                    87 
 76 #define CX2341X_MBOX_MAX_DATA 16                   88 #define CX2341X_MBOX_MAX_DATA 16
 77                                                    89 
 78 extern const u32 cx2341x_mpeg_ctrls[];             90 extern const u32 cx2341x_mpeg_ctrls[];
 79 typedef int (*cx2341x_mbox_func)(void *priv, u     91 typedef int (*cx2341x_mbox_func)(void *priv, u32 cmd, int in, int out,
 80                 u32 data[CX2341X_MBOX_MAX_DATA     92                 u32 data[CX2341X_MBOX_MAX_DATA]);
 81 int cx2341x_update(void *priv, cx2341x_mbox_fu     93 int cx2341x_update(void *priv, cx2341x_mbox_func func,
 82                 const struct cx2341x_mpeg_para     94                 const struct cx2341x_mpeg_params *old,
 83                 const struct cx2341x_mpeg_para     95                 const struct cx2341x_mpeg_params *new);
 84 int cx2341x_ctrl_query(const struct cx2341x_mp     96 int cx2341x_ctrl_query(const struct cx2341x_mpeg_params *params,
 85                 struct v4l2_queryctrl *qctrl);     97                 struct v4l2_queryctrl *qctrl);
 86 const char * const *cx2341x_ctrl_get_menu(cons     98 const char * const *cx2341x_ctrl_get_menu(const struct cx2341x_mpeg_params *p, u32 id);
 87 int cx2341x_ext_ctrls(struct cx2341x_mpeg_para     99 int cx2341x_ext_ctrls(struct cx2341x_mpeg_params *params, int busy,
 88                 struct v4l2_ext_controls *ctrl    100                 struct v4l2_ext_controls *ctrls, unsigned int cmd);
 89 void cx2341x_fill_defaults(struct cx2341x_mpeg    101 void cx2341x_fill_defaults(struct cx2341x_mpeg_params *p);
 90 void cx2341x_log_status(const struct cx2341x_m    102 void cx2341x_log_status(const struct cx2341x_mpeg_params *p, const char *prefix);
 91                                                   103 
 92 struct cx2341x_handler;                           104 struct cx2341x_handler;
 93                                                   105 
 94 struct cx2341x_handler_ops {                      106 struct cx2341x_handler_ops {
 95         /* needed for the video clock freq */     107         /* needed for the video clock freq */
 96         int (*s_audio_sampling_freq)(struct cx    108         int (*s_audio_sampling_freq)(struct cx2341x_handler *hdl, u32 val);
 97         /* needed for dualwatch */                109         /* needed for dualwatch */
 98         int (*s_audio_mode)(struct cx2341x_han    110         int (*s_audio_mode)(struct cx2341x_handler *hdl, u32 val);
 99         /* needed for setting up the video res    111         /* needed for setting up the video resolution */
100         int (*s_video_encoding)(struct cx2341x    112         int (*s_video_encoding)(struct cx2341x_handler *hdl, u32 val);
101         /* needed for setting up the sliced vb    113         /* needed for setting up the sliced vbi insertion data structures */
102         int (*s_stream_vbi_fmt)(struct cx2341x    114         int (*s_stream_vbi_fmt)(struct cx2341x_handler *hdl, u32 val);
103 };                                                115 };
104                                                   116 
105 struct cx2341x_handler {                          117 struct cx2341x_handler {
106         u32 capabilities;                         118         u32 capabilities;
107         enum cx2341x_port port;                   119         enum cx2341x_port port;
108         u16 width;                                120         u16 width;
109         u16 height;                               121         u16 height;
110         u16 is_50hz;                              122         u16 is_50hz;
111         u32 audio_properties;                     123         u32 audio_properties;
112                                                   124 
113         struct v4l2_ctrl_handler hdl;             125         struct v4l2_ctrl_handler hdl;
114         void *priv;                               126         void *priv;
115         cx2341x_mbox_func func;                   127         cx2341x_mbox_func func;
116         const struct cx2341x_handler_ops *ops;    128         const struct cx2341x_handler_ops *ops;
117                                                   129 
118         struct v4l2_ctrl *stream_vbi_fmt;         130         struct v4l2_ctrl *stream_vbi_fmt;
119                                                   131 
120         struct {                                  132         struct {
121                 /* audio cluster */               133                 /* audio cluster */
122                 struct v4l2_ctrl *audio_sampli    134                 struct v4l2_ctrl *audio_sampling_freq;
123                 struct v4l2_ctrl *audio_encodi    135                 struct v4l2_ctrl *audio_encoding;
124                 struct v4l2_ctrl *audio_l2_bit    136                 struct v4l2_ctrl *audio_l2_bitrate;
125                 struct v4l2_ctrl *audio_mode;     137                 struct v4l2_ctrl *audio_mode;
126                 struct v4l2_ctrl *audio_mode_e    138                 struct v4l2_ctrl *audio_mode_extension;
127                 struct v4l2_ctrl *audio_emphas    139                 struct v4l2_ctrl *audio_emphasis;
128                 struct v4l2_ctrl *audio_crc;      140                 struct v4l2_ctrl *audio_crc;
129                 struct v4l2_ctrl *audio_ac3_bi    141                 struct v4l2_ctrl *audio_ac3_bitrate;
130         };                                        142         };
131                                                   143 
132         struct {                                  144         struct {
133                 /* video gop cluster */           145                 /* video gop cluster */
134                 struct v4l2_ctrl *video_b_fram    146                 struct v4l2_ctrl *video_b_frames;
135                 struct v4l2_ctrl *video_gop_si    147                 struct v4l2_ctrl *video_gop_size;
136         };                                        148         };
137                                                   149 
138         struct {                                  150         struct {
139                 /* stream type cluster */         151                 /* stream type cluster */
140                 struct v4l2_ctrl *stream_type;    152                 struct v4l2_ctrl *stream_type;
141                 struct v4l2_ctrl *video_encodi    153                 struct v4l2_ctrl *video_encoding;
142                 struct v4l2_ctrl *video_bitrat    154                 struct v4l2_ctrl *video_bitrate_mode;
143                 struct v4l2_ctrl *video_bitrat    155                 struct v4l2_ctrl *video_bitrate;
144                 struct v4l2_ctrl *video_bitrat    156                 struct v4l2_ctrl *video_bitrate_peak;
145         };                                        157         };
146                                                   158 
147         struct {                                  159         struct {
148                 /* video mute cluster */          160                 /* video mute cluster */
149                 struct v4l2_ctrl *video_mute;     161                 struct v4l2_ctrl *video_mute;
150                 struct v4l2_ctrl *video_mute_y    162                 struct v4l2_ctrl *video_mute_yuv;
151         };                                        163         };
152                                                   164 
153         struct {                                  165         struct {
154                 /* video filter mode cluster *    166                 /* video filter mode cluster */
155                 struct v4l2_ctrl *video_spatia    167                 struct v4l2_ctrl *video_spatial_filter_mode;
156                 struct v4l2_ctrl *video_tempor    168                 struct v4l2_ctrl *video_temporal_filter_mode;
157                 struct v4l2_ctrl *video_median    169                 struct v4l2_ctrl *video_median_filter_type;
158         };                                        170         };
159                                                   171 
160         struct {                                  172         struct {
161                 /* video filter type cluster *    173                 /* video filter type cluster */
162                 struct v4l2_ctrl *video_luma_s    174                 struct v4l2_ctrl *video_luma_spatial_filter_type;
163                 struct v4l2_ctrl *video_chroma    175                 struct v4l2_ctrl *video_chroma_spatial_filter_type;
164         };                                        176         };
165                                                   177 
166         struct  {                                 178         struct  {
167                 /* video filter cluster */        179                 /* video filter cluster */
168                 struct v4l2_ctrl *video_spatia    180                 struct v4l2_ctrl *video_spatial_filter;
169                 struct v4l2_ctrl *video_tempor    181                 struct v4l2_ctrl *video_temporal_filter;
170         };                                        182         };
171                                                   183 
172         struct {                                  184         struct {
173                 /* video median cluster */        185                 /* video median cluster */
174                 struct v4l2_ctrl *video_luma_m    186                 struct v4l2_ctrl *video_luma_median_filter_top;
175                 struct v4l2_ctrl *video_luma_m    187                 struct v4l2_ctrl *video_luma_median_filter_bottom;
176                 struct v4l2_ctrl *video_chroma    188                 struct v4l2_ctrl *video_chroma_median_filter_top;
177                 struct v4l2_ctrl *video_chroma    189                 struct v4l2_ctrl *video_chroma_median_filter_bottom;
178         };                                        190         };
179 };                                                191 };
180                                                   192 
181 int cx2341x_handler_init(struct cx2341x_handle    193 int cx2341x_handler_init(struct cx2341x_handler *cxhdl,
182                          unsigned nr_of_contro    194                          unsigned nr_of_controls_hint);
183 void cx2341x_handler_set_50hz(struct cx2341x_h    195 void cx2341x_handler_set_50hz(struct cx2341x_handler *cxhdl, int is_50hz);
184 int cx2341x_handler_setup(struct cx2341x_handl    196 int cx2341x_handler_setup(struct cx2341x_handler *cxhdl);
185 void cx2341x_handler_set_busy(struct cx2341x_h    197 void cx2341x_handler_set_busy(struct cx2341x_handler *cxhdl, int busy);
186                                                   198 
187 /* Firmware names */                              199 /* Firmware names */
188 #define CX2341X_FIRM_ENC_FILENAME "v4l-cx2341x    200 #define CX2341X_FIRM_ENC_FILENAME "v4l-cx2341x-enc.fw"
189 /* Decoder firmware for the cx23415 only */       201 /* Decoder firmware for the cx23415 only */
190 #define CX2341X_FIRM_DEC_FILENAME "v4l-cx2341x    202 #define CX2341X_FIRM_DEC_FILENAME "v4l-cx2341x-dec.fw"
191                                                   203 
192 /* Firmware API commands */                       204 /* Firmware API commands */
193                                                   205 
194 /* MPEG decoder API, specific to the cx23415 *    206 /* MPEG decoder API, specific to the cx23415 */
195 #define CX2341X_DEC_PING_FW                       207 #define CX2341X_DEC_PING_FW                     0x00
196 #define CX2341X_DEC_START_PLAYBACK                208 #define CX2341X_DEC_START_PLAYBACK              0x01
197 #define CX2341X_DEC_STOP_PLAYBACK                 209 #define CX2341X_DEC_STOP_PLAYBACK               0x02
198 #define CX2341X_DEC_SET_PLAYBACK_SPEED            210 #define CX2341X_DEC_SET_PLAYBACK_SPEED          0x03
199 #define CX2341X_DEC_STEP_VIDEO                    211 #define CX2341X_DEC_STEP_VIDEO                  0x05
200 #define CX2341X_DEC_SET_DMA_BLOCK_SIZE            212 #define CX2341X_DEC_SET_DMA_BLOCK_SIZE          0x08
201 #define CX2341X_DEC_GET_XFER_INFO                 213 #define CX2341X_DEC_GET_XFER_INFO               0x09
202 #define CX2341X_DEC_GET_DMA_STATUS                214 #define CX2341X_DEC_GET_DMA_STATUS              0x0a
203 #define CX2341X_DEC_SCHED_DMA_FROM_HOST           215 #define CX2341X_DEC_SCHED_DMA_FROM_HOST         0x0b
204 #define CX2341X_DEC_PAUSE_PLAYBACK                216 #define CX2341X_DEC_PAUSE_PLAYBACK              0x0d
205 #define CX2341X_DEC_HALT_FW                       217 #define CX2341X_DEC_HALT_FW                     0x0e
206 #define CX2341X_DEC_SET_STANDARD                  218 #define CX2341X_DEC_SET_STANDARD                0x10
207 #define CX2341X_DEC_GET_VERSION                   219 #define CX2341X_DEC_GET_VERSION                 0x11
208 #define CX2341X_DEC_SET_STREAM_INPUT              220 #define CX2341X_DEC_SET_STREAM_INPUT            0x14
209 #define CX2341X_DEC_GET_TIMING_INFO               221 #define CX2341X_DEC_GET_TIMING_INFO             0x15
210 #define CX2341X_DEC_SET_AUDIO_MODE                222 #define CX2341X_DEC_SET_AUDIO_MODE              0x16
211 #define CX2341X_DEC_SET_EVENT_NOTIFICATION        223 #define CX2341X_DEC_SET_EVENT_NOTIFICATION      0x17
212 #define CX2341X_DEC_SET_DISPLAY_BUFFERS           224 #define CX2341X_DEC_SET_DISPLAY_BUFFERS         0x18
213 #define CX2341X_DEC_EXTRACT_VBI                   225 #define CX2341X_DEC_EXTRACT_VBI                 0x19
214 #define CX2341X_DEC_SET_DECODER_SOURCE            226 #define CX2341X_DEC_SET_DECODER_SOURCE          0x1a
215 #define CX2341X_DEC_SET_PREBUFFERING              227 #define CX2341X_DEC_SET_PREBUFFERING            0x1e
216                                                   228 
217 /* MPEG encoder API */                            229 /* MPEG encoder API */
218 #define CX2341X_ENC_PING_FW                       230 #define CX2341X_ENC_PING_FW                     0x80
219 #define CX2341X_ENC_START_CAPTURE                 231 #define CX2341X_ENC_START_CAPTURE               0x81
220 #define CX2341X_ENC_STOP_CAPTURE                  232 #define CX2341X_ENC_STOP_CAPTURE                0x82
221 #define CX2341X_ENC_SET_AUDIO_ID                  233 #define CX2341X_ENC_SET_AUDIO_ID                0x89
222 #define CX2341X_ENC_SET_VIDEO_ID                  234 #define CX2341X_ENC_SET_VIDEO_ID                0x8b
223 #define CX2341X_ENC_SET_PCR_ID                    235 #define CX2341X_ENC_SET_PCR_ID                  0x8d
224 #define CX2341X_ENC_SET_FRAME_RATE                236 #define CX2341X_ENC_SET_FRAME_RATE              0x8f
225 #define CX2341X_ENC_SET_FRAME_SIZE                237 #define CX2341X_ENC_SET_FRAME_SIZE              0x91
226 #define CX2341X_ENC_SET_BIT_RATE                  238 #define CX2341X_ENC_SET_BIT_RATE                0x95
227 #define CX2341X_ENC_SET_GOP_PROPERTIES            239 #define CX2341X_ENC_SET_GOP_PROPERTIES          0x97
228 #define CX2341X_ENC_SET_ASPECT_RATIO              240 #define CX2341X_ENC_SET_ASPECT_RATIO            0x99
229 #define CX2341X_ENC_SET_DNR_FILTER_MODE           241 #define CX2341X_ENC_SET_DNR_FILTER_MODE         0x9b
230 #define CX2341X_ENC_SET_DNR_FILTER_PROPS          242 #define CX2341X_ENC_SET_DNR_FILTER_PROPS        0x9d
231 #define CX2341X_ENC_SET_CORING_LEVELS             243 #define CX2341X_ENC_SET_CORING_LEVELS           0x9f
232 #define CX2341X_ENC_SET_SPATIAL_FILTER_TYPE       244 #define CX2341X_ENC_SET_SPATIAL_FILTER_TYPE     0xa1
233 #define CX2341X_ENC_SET_VBI_LINE                  245 #define CX2341X_ENC_SET_VBI_LINE                0xb7
234 #define CX2341X_ENC_SET_STREAM_TYPE               246 #define CX2341X_ENC_SET_STREAM_TYPE             0xb9
235 #define CX2341X_ENC_SET_OUTPUT_PORT               247 #define CX2341X_ENC_SET_OUTPUT_PORT             0xbb
236 #define CX2341X_ENC_SET_AUDIO_PROPERTIES          248 #define CX2341X_ENC_SET_AUDIO_PROPERTIES        0xbd
237 #define CX2341X_ENC_HALT_FW                       249 #define CX2341X_ENC_HALT_FW                     0xc3
238 #define CX2341X_ENC_GET_VERSION                   250 #define CX2341X_ENC_GET_VERSION                 0xc4
239 #define CX2341X_ENC_SET_GOP_CLOSURE               251 #define CX2341X_ENC_SET_GOP_CLOSURE             0xc5
240 #define CX2341X_ENC_GET_SEQ_END                   252 #define CX2341X_ENC_GET_SEQ_END                 0xc6
241 #define CX2341X_ENC_SET_PGM_INDEX_INFO            253 #define CX2341X_ENC_SET_PGM_INDEX_INFO          0xc7
242 #define CX2341X_ENC_SET_VBI_CONFIG                254 #define CX2341X_ENC_SET_VBI_CONFIG              0xc8
243 #define CX2341X_ENC_SET_DMA_BLOCK_SIZE            255 #define CX2341X_ENC_SET_DMA_BLOCK_SIZE          0xc9
244 #define CX2341X_ENC_GET_PREV_DMA_INFO_MB_10       256 #define CX2341X_ENC_GET_PREV_DMA_INFO_MB_10     0xca
245 #define CX2341X_ENC_GET_PREV_DMA_INFO_MB_9        257 #define CX2341X_ENC_GET_PREV_DMA_INFO_MB_9      0xcb
246 #define CX2341X_ENC_SCHED_DMA_TO_HOST             258 #define CX2341X_ENC_SCHED_DMA_TO_HOST           0xcc
247 #define CX2341X_ENC_INITIALIZE_INPUT              259 #define CX2341X_ENC_INITIALIZE_INPUT            0xcd
248 #define CX2341X_ENC_SET_FRAME_DROP_RATE           260 #define CX2341X_ENC_SET_FRAME_DROP_RATE         0xd0
249 #define CX2341X_ENC_PAUSE_ENCODER                 261 #define CX2341X_ENC_PAUSE_ENCODER               0xd2
250 #define CX2341X_ENC_REFRESH_INPUT                 262 #define CX2341X_ENC_REFRESH_INPUT               0xd3
251 #define CX2341X_ENC_SET_COPYRIGHT                 263 #define CX2341X_ENC_SET_COPYRIGHT               0xd4
252 #define CX2341X_ENC_SET_EVENT_NOTIFICATION        264 #define CX2341X_ENC_SET_EVENT_NOTIFICATION      0xd5
253 #define CX2341X_ENC_SET_NUM_VSYNC_LINES           265 #define CX2341X_ENC_SET_NUM_VSYNC_LINES         0xd6
254 #define CX2341X_ENC_SET_PLACEHOLDER               266 #define CX2341X_ENC_SET_PLACEHOLDER             0xd7
255 #define CX2341X_ENC_MUTE_VIDEO                    267 #define CX2341X_ENC_MUTE_VIDEO                  0xd9
256 #define CX2341X_ENC_MUTE_AUDIO                    268 #define CX2341X_ENC_MUTE_AUDIO                  0xda
257 #define CX2341X_ENC_SET_VERT_CROP_LINE            269 #define CX2341X_ENC_SET_VERT_CROP_LINE          0xdb
258 #define CX2341X_ENC_MISC                          270 #define CX2341X_ENC_MISC                        0xdc
259                                                   271 
260 /* OSD API, specific to the cx23415 */            272 /* OSD API, specific to the cx23415 */
261 #define CX2341X_OSD_GET_FRAMEBUFFER               273 #define CX2341X_OSD_GET_FRAMEBUFFER             0x41
262 #define CX2341X_OSD_GET_PIXEL_FORMAT              274 #define CX2341X_OSD_GET_PIXEL_FORMAT            0x42
263 #define CX2341X_OSD_SET_PIXEL_FORMAT              275 #define CX2341X_OSD_SET_PIXEL_FORMAT            0x43
264 #define CX2341X_OSD_GET_STATE                     276 #define CX2341X_OSD_GET_STATE                   0x44
265 #define CX2341X_OSD_SET_STATE                     277 #define CX2341X_OSD_SET_STATE                   0x45
266 #define CX2341X_OSD_GET_OSD_COORDS                278 #define CX2341X_OSD_GET_OSD_COORDS              0x46
267 #define CX2341X_OSD_SET_OSD_COORDS                279 #define CX2341X_OSD_SET_OSD_COORDS              0x47
268 #define CX2341X_OSD_GET_SCREEN_COORDS             280 #define CX2341X_OSD_GET_SCREEN_COORDS           0x48
269 #define CX2341X_OSD_SET_SCREEN_COORDS             281 #define CX2341X_OSD_SET_SCREEN_COORDS           0x49
270 #define CX2341X_OSD_GET_GLOBAL_ALPHA              282 #define CX2341X_OSD_GET_GLOBAL_ALPHA            0x4a
271 #define CX2341X_OSD_SET_GLOBAL_ALPHA              283 #define CX2341X_OSD_SET_GLOBAL_ALPHA            0x4b
272 #define CX2341X_OSD_SET_BLEND_COORDS              284 #define CX2341X_OSD_SET_BLEND_COORDS            0x4c
273 #define CX2341X_OSD_GET_FLICKER_STATE             285 #define CX2341X_OSD_GET_FLICKER_STATE           0x4f
274 #define CX2341X_OSD_SET_FLICKER_STATE             286 #define CX2341X_OSD_SET_FLICKER_STATE           0x50
275 #define CX2341X_OSD_BLT_COPY                      287 #define CX2341X_OSD_BLT_COPY                    0x52
276 #define CX2341X_OSD_BLT_FILL                      288 #define CX2341X_OSD_BLT_FILL                    0x53
277 #define CX2341X_OSD_BLT_TEXT                      289 #define CX2341X_OSD_BLT_TEXT                    0x54
278 #define CX2341X_OSD_SET_FRAMEBUFFER_WINDOW        290 #define CX2341X_OSD_SET_FRAMEBUFFER_WINDOW      0x56
279 #define CX2341X_OSD_SET_CHROMA_KEY                291 #define CX2341X_OSD_SET_CHROMA_KEY              0x60
280 #define CX2341X_OSD_GET_ALPHA_CONTENT_INDEX       292 #define CX2341X_OSD_GET_ALPHA_CONTENT_INDEX     0x61
281 #define CX2341X_OSD_SET_ALPHA_CONTENT_INDEX       293 #define CX2341X_OSD_SET_ALPHA_CONTENT_INDEX     0x62
282                                                   294 
283 #endif /* CX2341X_H */                            295 #endif /* CX2341X_H */
284                                                   296 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php