I suppose, what this patch will be very usefully for video conference
not only for me. It reduces latency.
Win Version of driver have this option.
-- Attached file included as plaintext by Listar --
-- File: kfir.diff
Index: driver/kfir.c
===================================================================
RCS file: /home/cvsroot/video-net/hw/kfir/driver/kfir.c,v
retrieving revision 1.1.1.2
retrieving revision 1.4
diff -u -r1.1.1.2 -r1.4
--- driver/kfir.c 2002/05/14 17:41:22 1.1.1.2
+++ driver/kfir.c 2002/05/14 17:47:24 1.4
@@ -82,6 +82,7 @@
MODULE_PARM(mpeg1mode,"i");
MODULE_PARM(streamtype,"i");
MODULE_PARM(sndfreq,"i");
+MODULE_PARM(vidpict,"i");
static int vidinmode = VIDEO_MODE_PAL;
static int vidinput = 0;
@@ -91,6 +92,7 @@
static int sndfreq = VT_KFIR_AUDIO_FREQ_48_000;
static int mpeg1mode = 0;
static int streamtype = VT_KFIR_PROGRAM;
+static int vidpict = KFIR_IPBB_PICT;
#define dprintk if (debug) printk
@@ -876,8 +878,8 @@
P->KF_VESAlignment = KFIR_VES_32;
P->KF_RateControl = KFIR_RATE_CBR; //mpeg1mode ? KFIR_RATE_CBR : KFIR_RATE_VBR;
P->KF_QuantScale = 112;
- P->KF_GOP_N = 15;
- P->KF_GOP_M = KFIR_IPBB_PICT;
+ P->KF_GOP_N = (vidpict & ~0x000F)? (vidpict >> 4) : 15; // default: 15
+ P->KF_GOP_M = vidpict & 0x000F;
P->KF_SIF_PictureBottomField = 0;
P->KF_LowDelay = 0;
P->KF_LowSearchRange = 0;
Index: README
===================================================================
RCS file: /home/cvsroot/video-net/hw/kfir/README,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 README
--- README 2002/04/10 10:10:33 1.1.1.1
+++ README 2002/05/21 09:12:24
@@ -89,5 +89,7 @@
vidinput - 0=Composite, 1=S-Video
+vidpict - vidpict=(GOP_N <<4)|GOP_M, cf.Kfir.h
+ e.g. vidpict=0xc1 (=(12<<4)|KFIR_IP_PICT)
-Ralph Metzler <[EMAIL PROTECTED]>
\ No newline at end of file
+Ralph Metzler <[EMAIL PROTECTED]>