YUV problems with 1.1.6

--------------7ACB349FC2E927513AB4BF00
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi there,

I am trying to output bttv-framegrabber packed-YUV frames using SDL
1.1.6 and it segfaults each time.

Could it be that YUV is broken for packed formats in 1.1.6? Any ideas
or working sample code by chance?

Could a YUV422P planar format be implemented in the future? This is what
the family of bttv chips like to produce. The current SDL planar YUV
formats are not very useful since these framegrabbers always subsample
the U and V planes.

I would like to use the 1.1.6 version if possible, as it is for an end
user application and comes in a handy RPM in the SDL website. Are there
any SDL-CVS RPMs that someone made?

Regards
Andreas–
| Andreas Schiffler aschiffler at home.com |
| Senior Systems Engineer - Deskplayer Inc., Buffalo |
| 4707 Eastwood Cres., Niagara Falls, Ont L2E 1B4, Canada |
| +1-905-371-3652 (private) - +1-905-371-8834 (work/fax) |

--------------7ACB349FC2E927513AB4BF00
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public “-//w3c//dtd html 4.0 transitional//en”>

Hi there,

I am trying to output bttv-framegrabber packed-YUV frames using SDL 1.1.6 and it segfaults each time.

Could it be that YUV is broken for packed formats in 1.1.6?  Any ideas or working sample code by chance?

Could a YUV422P planar format be implemented in the future? This is what the family of bttv chips like to produce. The current SDL planar YUV formats are not very useful since these framegrabbers always subsample the U and V planes.

I would like to use the 1.1.6 version if possible, as it is for an end user application and comes in a handy RPM in the SDL website. Are there any SDL-CVS RPMs that someone made?

Regards
Andreas

-- 
|  Andreas Schiffler                    aschiffler at home.com  |
|  Senior Systems Engineer    -    Deskplayer Inc., Buffalo  |
|  4707 Eastwood Cres., Niagara Falls, Ont  L2E 1B4, Canada  |
|  +1-905-371-3652 (private)  -  +1-905-371-8834 (work/fax)  |
 

--------------7ACB349FC2E927513AB4BF00–

Hello Andreas,

Thursday, November 23, 2000, 6:41:27 PM, you wrote:

AS> --------------7ACB349FC2E927513AB4BF00
AS> Content-Type: text/plain; charset=us-ascii
AS> Content-Transfer-Encoding: 7bit

AS> Hi there,

AS> I am trying to output bttv-framegrabber packed-YUV frames using SDL
AS> 1.1.6 and it segfaults each time.

AS> Could it be that YUV is broken for packed formats in 1.1.6? Any ideas
AS> or working sample code by chance?

Here is the patch that fixes software YUV conversion code for packed
formats. It works for me and should work for you, too. =} Apply it to
SDL 1.1.6.

AS> Could a YUV422P planar format be implemented in the future? This is what
AS> the family of bttv chips like to produce. The current SDL planar YUV
AS> formats are not very useful since these framegrabbers always subsample
AS> the U and V planes.

You can use YUV411P format, it is supported by both bttv and SDL (
where it’s known as SDL_IYUV_OVERLAY ).–
Best regards,
Eugene mailto:divx at euro.ru
-------------- next part --------------
A non-text attachment was scrubbed…
Name: sdl-yuv-patch
Type: application/octet-stream
Size: 8521 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20001123/277c91b2/attachment.obj