[FFmpeg-devel] [PATCH] HWAccel infrastructure (take 4)
Thu Feb 19 10:03:13 CET 2009
On Wed, 18 Feb 2009, Michael Niedermayer wrote:
>>> that should work, excpt why not send
>>> buf+offset and buf_end in end_slice, is start still needed then?
>> Still and only for h263dec.c, it only depends on the level of ugliness
>> you'd accept. ;-) I am all for a single decode_slice() instead of both
>> start_slice(), end_slice() but I still haven't found a beautiful way
>> for h263dec.c (and that actually works). If you have ideas...
> please explain me how
> can be much cleaner than
> slice(tmp, buf_end)
See by yourself if this suits you. ;-) I hope it's OK now.
- Make ff_query_hwaccel_codec() use codec_id instead of an AVCodec
- Add a "name" field to AVHWAccel struct
- Add "buf" and "buf_size" args to AVHWAccel::start_frame()
- Merge AVHWAccel::start_slice() and ::end_slice() into ::decode_slice()
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 26003 bytes
More information about the ffmpeg-devel