aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
index 3887190079d1..ba2afbfe32c5 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
@@ -322,6 +322,13 @@ struct pvr2_hdw {
322 int flag_bilingual; 322 int flag_bilingual;
323 struct pvr2_audio_stat *audio_stat; 323 struct pvr2_audio_stat *audio_stat;
324 324
325 /* Control state needed for cx2341x module */
326 struct cx2341x_mpeg_params enc_cur_state;
327 struct cx2341x_mpeg_params enc_ctl_state;
328 /* True if an encoder attribute has changed */
329 int enc_stale;
330 /* True if enc_cur_state is valid */
331 int enc_cur_valid;
325 332
326 /* Control state */ 333 /* Control state */
327#define VCREATE_DATA(lab) int lab##_val; int lab##_dirty 334#define VCREATE_DATA(lab) int lab##_val; int lab##_dirty
@@ -339,16 +346,9 @@ struct pvr2_hdw {
339 VCREATE_DATA(res_hor); 346 VCREATE_DATA(res_hor);
340 VCREATE_DATA(res_ver); 347 VCREATE_DATA(res_ver);
341 VCREATE_DATA(srate); 348 VCREATE_DATA(srate);
342 VCREATE_DATA(audiobitrate);
343 VCREATE_DATA(audiocrc);
344 VCREATE_DATA(audioemphasis);
345 VCREATE_DATA(vbr);
346 VCREATE_DATA(videobitrate);
347 VCREATE_DATA(videopeak);
348 VCREATE_DATA(interlace);
349 VCREATE_DATA(audiolayer);
350#undef VCREATE_DATA 349#undef VCREATE_DATA
351 350
351 struct pvr2_ctld_info *mpeg_ctrl_info;
352 352
353 struct pvr2_ctrl *controls; 353 struct pvr2_ctrl *controls;
354 unsigned int control_cnt; 354 unsigned int control_cnt;