[Libav-user] change pixel format without scaling data ?

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Jan 5 16:26:30 CET 2013


jim morgenstern <jmorgie at ...> writes:

> I am using sws_scale to change the pixel formatting but 
> this routine is also changing the scale of the data 
> graylevel values themselves and I do not want it to.

I am not sure I understand:
Are you converting from GRAY8 to GRAY8A without changing 
the resolution but the values are changed?

Generally, swscale should be used both if you want to 
change a frame's resolution and if you only want to 
change the pix_fmt.

Carl Eugen



More information about the Libav-user mailing list