Sorry -- top-posting is anew concept for me; email says plain text. I use this many ways. For one instance: Input is YUV422 Output Is RGB16
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Carl Eugen Hoyos Sent: Saturday, January 05, 2013 12:23 PM To: [email protected] Subject: Re: [Libav-user] change pixel format without scaling data ? // more3 jim morgenstern <jmorgie@...> writes: > Code snippet: > #define RGB16 PIX_FMT_RGB48LE // little endian #define RGB PIX_FMT_BGR24 #define YUV422 PIX_FMT_YUV422P10LE #define YUV444 PIX_FMT_YUV444P16LE (That must of course make the code much more readable and significantly ease the search for a problem as the one you seem to be having...) > void Rescaler ( uint8_t* input_data, AVPicture* outp, int in_width, > int in_height, PixelFormat in_pix_fmt, int out_width, int out_height, > PixelFormat out_pix_fmt) So what did you pass as in_pix_fmt and out_pix_fmt ? Please do not top-post on this mailing list, it is considered rude. And please force your mailer to "text-only". Carl Eugen _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
