From owner-freebsd-bugs Tue Jan 8 19:30: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EEAB737B421 for ; Tue, 8 Jan 2002 19:30:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g093U0H54953; Tue, 8 Jan 2002 19:30:00 -0800 (PST) (envelope-from gnats) Received: from teryx.bobdbob.com (w178.z067105181.was-dc.dsl.cnc.net [67.105.181.178]) by hub.freebsd.org (Postfix) with ESMTP id D632737B41E for ; Tue, 8 Jan 2002 19:28:05 -0800 (PST) Received: (from protius@localhost) by teryx.bobdbob.com (8.11.3/8.9.3) id g093S4T10086; Tue, 8 Jan 2002 22:28:04 -0500 (EST) (envelope-from protius) Message-Id: <200201090328.g093S4T10086@teryx.bobdbob.com> Date: Tue, 8 Jan 2002 22:28:04 -0500 (EST) From: Protius Reply-To: protius@bobdbob.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: kern/33715: bktr driver in full frame, continuous capture dosn't send interupts Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33715 >Category: kern >Synopsis: bktr driver in full frame, continuous capture dosn't send interupts >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 08 19:30:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Tommy Johnson >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD zarquon.bobdbob.com 4.4-STABLE FreeBSD 4.4-STABLE #2: Sat Jan 5 14:13:08 EST 2002 protius@zarquon.bobdbob.com:/usr/src/sys/compile/ZARQUON i386 >Description: In packed yuv mode, continuous capture, full frame (interlaced), bktr never sends the frame complete signal. Or if it does, it is only by some odd combination of just the right image size and even/odd field. >How-To-Repeat: I have some extremely poorly written video capture code at: http://www.bobdbob.com/~tjohnson/software/video.tgz Unfold that, run make in video/video, and then run: videocat tmp.ppm 720 480 4000 128 128 0 Correct operation is to generate a sync error message every 333 frames, and rapidly fill your harddisk with video. It should fail. The command: videocat tmp.ppm 352 240 4000 128 128 0 foo will capture only a single field, and should succeed. >Fix: I have put a new version of bktr_core.c at http://www.bobdbob.com/~tjohnson/software/bktr_core.c The change is to the logic for deciding if both fields have been captured. I also made some cosmetic changes to the code which generates the risc program. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message