[FFmpeg-devel] Exposing CrystalHD's hardware scaling?

Philip Langdale philipl at overt.org
Sat Apr 16 17:31:03 CEST 2011


 Hi all,

 One of the CrystalHD's features is that it can scale frames before 
 copying
 back over to system memory. While any modern system can accelerate 
 scaling
 using Xv or similar, letting the CrystalHD do it means that you don't 
 have
 to copy as many bytes, and sometimes this will make the difference 
 between
 playable and unplayable.

 So, my question is what's a way to expose this concept? You need to 
 directly
 modify decoder state (setting the scaling flag and the desired size) 
 but a
 decoder option seems clunky - you'd much rather set the size the usual 
 way
 and then have it 'accelerated'. Is that practical? Could it be done 
 today?

 --phil


More information about the ffmpeg-devel mailing list