[FFmpeg-devel] [RFC/PATCH 3/8] hwaccel: add init/close methods
Michael Niedermayer
michaelni
Tue Sep 7 12:02:45 CEST 2010
On Mon, Sep 06, 2010 at 01:15:30AM +0300, Felipe Contreras wrote:
> Will be needed by tidsp.
>
> Signed-off-by: Felipe Contreras <felipe.contreras at gmail.com>
> ---
> libavcodec/avcodec.h | 3 +++
> libavcodec/utils.c | 8 ++++++++
> 2 files changed, 11 insertions(+), 0 deletions(-)
>
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index 9353210..828f1a5 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -2851,6 +2851,9 @@ typedef struct AVHWAccel {
> * AVCodecContext.release_buffer().
> */
> int priv_data_size;
> +
> + int (*init)(AVCodecContext *avctx);
> + int (*close)(AVCodecContext *avctx);
> } AVHWAccel;
missing doxy
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is not what we do, but why we do it that matters.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100907/59220f1f/attachment.pgp>
More information about the ffmpeg-devel
mailing list