[FFmpeg-devel] Questions about ffmpeg's image conversion

compn tempn at twmi.rr.com
Fri Mar 8 20:51:20 CET 2013


On Fri, 8 Mar 2013 03:15:50 +0000, Kai2 Li wrote:
>Hi, ffmpeg development team:
>
>I'm a software developer of Lenovo Inc. I'm using ffmpeg in my video project for TS stream playing. While playing TS, cpu usage up to 90%, which in the image conversion process (YUV to RGB), cpu usageup to 25% -30%.
>
>In my project, ffmpeg's image conversion call function yuv2rgb_c_32 in C file /libffmpeg/libswscale/yuv2rgb.c

>With your please, I would like to ask some questions.
>a) Why the function writing by macro?

do you want an asm version?

>b) Whether the function can be optimized?

yes, it can be optimized. but i dont think anyone is working on it for
arm platform.

>c) Has there some updates or new version?

you can see history/updates here:
http://git.videolan.org/?p=ffmpeg.git;a=tree;f=libswscale;hb=HEAD


>d) Will ffmpeg have ARM platform specialized version or patch?

it looks like arm sent a patch to chromium for a neon optimized yuv2rgb
http://code.google.com/p/chromium/issues/detail?id=71403

i wonder if it can be merged with master...


>My hardware is Sumsang Pad GT-P5110 (1G dural core, 1G RAM, 32G SD card), ffmpeg version is 0.11.1

whats the exact cpu on that?

-compn


More information about the ffmpeg-devel mailing list