From protius@teryx.bobdbob.com  Tue Jan  8 19:28:11 2002
Return-Path: <protius@teryx.bobdbob.com>
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 <FreeBSD-gnats-submit@freebsd.org>; 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 <protius@bobdbob.com>
Reply-To: protius@bobdbob.com
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: bktr driver in full frame, continuous capture dosn't send interupts
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         33715
>Category:       kern
>Synopsis:       bktr driver in full frame, continuous capture dosn't send interupts
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    roger
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 08 19:30:00 PST 2002
>Closed-Date:    Mon Dec 02 12:54:26 PST 2002
>Last-Modified:  Mon Dec 02 12:54:26 PST 2002
>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:
Responsible-Changed-From-To: freebsd-bugs->roger 
Responsible-Changed-By: johan 
Responsible-Changed-When: Tue Aug 20 14:17:08 PDT 2002 
Responsible-Changed-Why:  
Over to bktr maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=33715 
State-Changed-From-To: open->closed 
State-Changed-By: roger 
State-Changed-When: Mon Dec 2 12:52:38 PST 2002 
State-Changed-Why:  
Problem carried forwards to PR i386/45678 

http://www.freebsd.org/cgi/query-pr.cgi?pr=33715 
>Unformatted:
