[FFmpeg-devel] [RFC/PATCH 4/8] avcodec: add hwaccel_private field

Gwenole Beauchesne gbeauchesne
Mon Sep 20 11:39:11 CEST 2010


Hi,

On Tue, 7 Sep 2010, Felipe Contreras wrote:

> On Tue, Sep 7, 2010 at 5:40 AM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
>>> --- a/libavcodec/avcodec.h
>>> +++ b/libavcodec/avcodec.h
>>> @@ -2719,6 +2719,8 @@ typedef struct AVCodecContext {
>>> ? ? ?* - decoding: unused
>>> ? ? ?*/
>>> ? ? int lpc_passes;
>>> +
>>> + ? ?void *hwaccel_private;
>>> ?} AVCodecContext;
>>
>> Needs doxy, as any other field.
>
> Right, I forgot in the hurry. Will do.

Please consider this one, i.e. with "context" in the middle to be on par 
with the other public hwaccel_context.

+    /**
+     * Hardware accelerator private context.
+     * - encoding: unused
+     * - decoding: Set by libavcodec
+     */
+    void *hwaccel_context_private;

Thanks,
Gwenole.



More information about the ffmpeg-devel mailing list