Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: [PATCH] heavy section filter crunching



HEY NOW! THERE's an improvement!

Now I have not had a crash and have run a channel on the "EEPG" pid for a 
long time.  I still get CRC errors, but that's recoverable next pass.

(I use hw_sections==0)

it applied with something called fuzz 2, but was ultimately happy.

_J

In the new year, Andreas Oberritter wrote:
> 
> 
> --=-RwvgyNoohD/rTRnJGmp0
> Content-Type: text/plain
> Content-Transfer-Encoding: 7bit
> 
> On Mon, 2003-03-17 at 18:47, Jeremy Hall wrote:
> > Can you make a patch that will apply to DVB that adds this module 
> > functionality? (my machine runs 2.4.x and my understanding is that 
> > DVB-kernel only works with 2.5.x)
> 
> ok, here it is.
> 
> dvb-kernel can be used with recent 2.4.x kernels, too. i am using
> 2.4.20. see dvb-kernel/build-2.4/README for details.
> 
> Andreas
> 
> p.s.: shall i commit this to "DVB" cvs, too?
> 
> --=-RwvgyNoohD/rTRnJGmp0
> Content-Disposition: attachment; filename=av7110.diff
> Content-Type: text/x-patch; name=av7110.diff; charset=ISO-8859-15
> Content-Transfer-Encoding: 7bit
> 
> Index: av7110.c
> ===================================================================
> RCS file: /cvs/linuxtv/DVB/driver/av7110/av7110.c,v
> retrieving revision 1.29
> diff -u -r1.29 av7110.c
> --- av7110.c	4 Mar 2003 18:31:42 -0000	1.29
> +++ av7110.c	17 Mar 2003 18:06:40 -0000
> @@ -104,6 +104,7 @@
>  static int vidmode=CVBS_RGB_OUT;
>  static int pids_off;
>  static int adac=DVB_ADAC_TI;
> +static int hw_sections = 1;
>  
>  #define saacomm(x,y) av7110->saa->command(av7110->saa->i2c_bus, (x), (y))
>  
> @@ -3340,12 +3341,14 @@
>          u16 mode=0xb96a;
>          
>          if (dvbdmxfilter->type==DMX_TYPE_SEC) {
> -                buf[4]=(dvbdmxfilter->filter.filter_value[0]<<8)|
> -                        dvbdmxfilter->maskandmode[0];
> -                for (i=3; i<18; i++)
> -                        buf[i+4-2]=(dvbdmxfilter->filter.filter_value[i]<<8)|
> -                                dvbdmxfilter->maskandmode[i];
> -                mode=4;
> +		if (hw_sections) {
> +	                buf[4]=(dvbdmxfilter->filter.filter_value[0]<<8)|
> +        	                dvbdmxfilter->maskandmode[0];
> +                	for (i=3; i<18; i++)
> +                        	buf[i+4-2]=(dvbdmxfilter->filter.filter_value[i]<<8)|
> +                                	dvbdmxfilter->maskandmode[i];
> +	                mode=4;
> +		}
>          } else
>          if ((dvbdmxfeed->ts_type & TS_PACKET) &&
>              !(dvbdmxfeed->ts_type & TS_PAYLOAD_ONLY)) 
> @@ -4926,6 +4929,7 @@
>  MODULE_PARM(vidmode,"i");
>  MODULE_PARM(pids_off,"i");
>  MODULE_PARM(adac,"i");
> +MODULE_PARM(hw_sections, "i");
>  
>  /*
>   * Local variables:
> 
> --=-RwvgyNoohD/rTRnJGmp0--
> 
> 
> 
> -- 
> Info:
> To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
> 



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index