|
|
@ -74,6 +74,10 @@ union AVVDPAUPictureInfo { |
|
|
|
* during initialization or through each AVCodecContext.get_buffer() |
|
|
|
* during initialization or through each AVCodecContext.get_buffer() |
|
|
|
* function call. In any case, they must be valid prior to calling |
|
|
|
* function call. In any case, they must be valid prior to calling |
|
|
|
* decoding functions. |
|
|
|
* decoding functions. |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* The size of this structure is not a part of the public ABI and must not |
|
|
|
|
|
|
|
* be used outside of libavcodec. Use av_vdpau_alloc_context() to allocate an |
|
|
|
|
|
|
|
* AVVDPAUContext. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
typedef struct AVVDPAUContext { |
|
|
|
typedef struct AVVDPAUContext { |
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -126,6 +130,13 @@ typedef struct AVVDPAUContext { |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
} AVVDPAUContext; |
|
|
|
} AVVDPAUContext; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Allocate an AVVDPAUContext. |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @return Newly-allocated AVVDPAUContext or NULL on failure. |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
AVVDPAUContext *av_vdpau_alloc_context(void); |
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Get a decoder profile that should be used for initializing a VDPAU decoder. |
|
|
|
* Get a decoder profile that should be used for initializing a VDPAU decoder. |
|
|
|
* Should be called from the AVCodecContext.get_format() callback. |
|
|
|
* Should be called from the AVCodecContext.get_format() callback. |
|
|
|