Converting YUV to JPEG
From: Doru-Catalin Togea (doru-cat_at_ifi.uio.no)
Date: 09/23/04
- Next message: Måns Rullgård: "Re: Converting YUV to JPEG"
- Previous message: Larry I Smith: "Re: Program to compare two directory trees"
- Next in thread: Måns Rullgård: "Re: Converting YUV to JPEG"
- Reply: Måns Rullgård: "Re: Converting YUV to JPEG"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 23 Sep 2004 22:05:19 +0200
Hi!
I have a program which receives raw data from a webcam. The images are in
the YUV 4:2:0 Planar format, and I collect them in a char *. I want to
compress the images in memory, something like this:
char *imageYUV = ...;
char *imageJPEG;
int sizeJPEG = 0;
compress(imageYUV, imageJPEG, &sizeJPEG);
I am sure that I can do this by means of the primitives form libjpg, but
maybe this has already been implemented in some open source program.
Any suggestions?
Thank you!
Catalin
--
<<<< ================================== >>>>
<< We are what we repeatedly do. >>
<< Excellence, therefore, is not an act >>
<< but a habit. >>
<<<< ================================== >>>>
- Next message: Måns Rullgård: "Re: Converting YUV to JPEG"
- Previous message: Larry I Smith: "Re: Program to compare two directory trees"
- Next in thread: Måns Rullgård: "Re: Converting YUV to JPEG"
- Reply: Måns Rullgård: "Re: Converting YUV to JPEG"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|