diff options
author | Mike Isely <isely@pobox.com> | 2006-06-25 18:05:01 -0500 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2006-06-25 18:05:01 -0500 |
commit | 0e26b437c63b92997afd53437183cba8f86423b3 (patch) | |
tree | 42fcd0c67fb34387a966ad7fd8cac5740e2a6d10 /linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | |
parent | b058bb88f46129d0b73190bd9de83a6336fc62e9 (diff) | |
download | mediapointer-dvb-s2-0e26b437c63b92997afd53437183cba8f86423b3.tar.gz mediapointer-dvb-s2-0e26b437c63b92997afd53437183cba8f86423b3.tar.bz2 |
Implement use of cx2341x module in pvrusb2 driver
From: Mike Isely <isely@pobox.com>
Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h index 8e935f408..cfec4d37c 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h @@ -339,6 +339,13 @@ struct pvr2_hdw { int flag_bilingual; struct pvr2_audio_stat *audio_stat; + /* Control state needed for cx2341x module */ + struct cx2341x_mpeg_params enc_cur_state; + struct cx2341x_mpeg_params enc_ctl_state; + /* True if an encoder attribute has changed */ + int enc_stale; + /* True if enc_cur_state is valid */ + int enc_cur_valid; /* Control state */ #define VCREATE_DATA(lab) int lab##_val; int lab##_dirty @@ -356,16 +363,9 @@ struct pvr2_hdw { VCREATE_DATA(res_hor); VCREATE_DATA(res_ver); VCREATE_DATA(srate); - VCREATE_DATA(audiobitrate); - VCREATE_DATA(audiocrc); - VCREATE_DATA(audioemphasis); - VCREATE_DATA(vbr); - VCREATE_DATA(videobitrate); - VCREATE_DATA(videopeak); - VCREATE_DATA(interlace); - VCREATE_DATA(audiolayer); #undef VCREATE_DATA + struct pvr2_ctld_info *mpeg_ctrl_info; struct pvr2_ctrl *controls; unsigned int control_cnt; |