[Bug 2634] New: support yuv offscreen image without overlay in
v4l.c
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Mar 1 12:23:41 PST 2005
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=2634
Summary: support yuv offscreen image without overlay in v4l.c
Product: xorg
Version: unspecified
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Driver/other
AssignedTo: xorg-bugzilla-noise at freedesktop.org
ReportedBy: yheneaul at matrox.com
Is it possible the following patch in driver/v4l.c file? It handles the case
were yuv is supported by a driver implementing offscreen image but doing it
without overlay (the overlay flag is not set). In that case, the stop method of
the offscreen image must be called because some device on the video card is
converting and scaling yuv to rgb and blitting directly to the frame buffer
continuously.
***************
*** 495,501 ****
if (-1 == ioctl(V4L_FD, VIDIOCCAPTURE, &zero))
perror("ioctl VIDIOCCAPTURE(0)");
pPPriv->VideoOn = VIDEO_RECLIP;
! }
} else {
/* video stop - turn off and free everything */
if (VIDEO_YUV == pPPriv->VideoOn) {
--- 495,504 ----
if (-1 == ioctl(V4L_FD, VIDIOCCAPTURE, &zero))
perror("ioctl VIDIOCCAPTURE(0)");
pPPriv->VideoOn = VIDEO_RECLIP;
! } else if (VIDEO_YUV == pPPriv->VideoOn &&
! (pPPriv->myfmt->flags & VIDEO_OVERLAID_IMAGES) == 0) {
! pPPriv->myfmt->stop(pPPriv->surface);
! }
} else {
/* video stop - turn off and free everything */
if (VIDEO_YUV == pPPriv->VideoOn) {
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg-bugzilla-noise
mailing list