~ [ 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-6.0.19)


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

~ [ 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