Files
FFmpeg/libavcodec
Andreas Rheinhardt ffdda740fe avcodec/internal: Allow receive_frame codecs to use decode_simple pkt
Decoders implementing the receive_frame API currently mostly use
stack packets to temporarily hold the packet they receive from
ff_decode_get_packet(). This role directly parallels the role of
in_pkt, the spare packet used in decode_simple_internal for the
decoders implementing the traditional decoding API. Said packet
is unused by the generic code for the decoders implementing the
receive_frame API, so allow them to use it to fulfill the function
it already fulfills for the traditional API for both APIs.

There is only one caveat in this: The packet is automatically
unreferenced in avcodec_flush_buffers(). But this is actually
positive as it means the decoders don't have to do this themselves
(in case the packet is preserved between receive_frame calls).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-11-07 17:12:58 +01:00
..
2021-07-22 14:47:57 +02:00
2021-07-08 20:10:01 +02:00
2021-10-10 17:44:41 +02:00
2021-10-03 11:42:15 +02:00
2021-07-22 14:47:57 +02:00
2021-09-05 22:22:05 +02:00
2021-07-22 15:02:30 +02:00
2021-10-08 20:37:36 +11:00
2021-10-08 20:37:36 +11:00
2021-07-22 14:47:57 +02:00
2021-07-22 14:47:57 +02:00
2021-08-05 19:46:33 +02:00
2021-07-08 20:10:17 +02:00
2021-09-29 18:00:13 +08:00
2021-10-09 11:42:16 +02:00
2021-10-17 16:57:43 +08:00
2021-10-10 17:44:41 +02:00
2021-07-22 14:47:57 +02:00
2021-08-02 14:30:52 +02:00
2021-10-02 18:49:40 +02:00
2021-07-08 20:10:17 +02:00
2021-07-22 14:47:57 +02:00
2021-07-22 15:02:30 +02:00
2021-08-18 08:55:56 +02:00
2021-07-22 14:47:57 +02:00
2021-09-19 22:36:23 +02:00
2021-10-10 17:44:41 +02:00
2021-07-22 14:47:57 +02:00
2021-07-22 14:47:57 +02:00
2021-10-10 17:44:41 +02:00
2021-08-26 09:20:56 +02:00
2021-09-12 22:23:35 +02:00