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

Michael Niedermayer michaelni at gmx.at
Sun Apr 17 00:06:06 CEST 2011


On Sat, Apr 16, 2011 at 08:31:03AM -0700, Philip Langdale wrote:
> 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?

we have AVCodecContext.lowres that could be used, its not as fine
grained as one may want though, but easy

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110417/6c7d8e48/attachment.asc>


More information about the ffmpeg-devel mailing list