[FFmpeg-devel] [PATCH v2 3/8] lavc: introduce a new decoding/encoding API with decoupled input/output
Hendrik Leppkes
h.leppkes at gmail.com
Wed Mar 23 15:03:37 CET 2016
On Wed, Mar 23, 2016 at 2:45 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> wm4 <nfxjfg <at> googlemail.com> writes:
>
>> Until now, the decoding API was restricted to outputting 0 or 1 frames
>> per input packet. It also enforces a somewhat rigid dataflow in general.
>>
>> This new API seeks to relax these restrictions by decoupling input and
>> output. Instead of doing a single call on each decode step, which may
>> consume the packet and may produce output, the new API requires the user
>> to send input first, and then ask for output.
>
> Is the new API supposed to have a performance impact?
It can allow decoders to run faster, but it will not make things
faster by itself - decoders need to be changed to take advantage of
it, but its a first step.
- Hendrik
More information about the ffmpeg-devel
mailing list