diff options
author | wm4 <nfxjfg@googlemail.com> | 2017-10-28 19:53:38 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-11-11 20:33:45 -0300 |
commit | 7546964f96168cd6ac819ef4c3212ee586619f1a (patch) | |
tree | 69c2613e791f6ec03087b01fd43cfae3741465fd /libavcodec/nvdec.h | |
parent | 48e4eda11d537c6ed52d1000aaa6ce5cbb641e25 (diff) | |
download | ffmpeg-7546964f96168cd6ac819ef4c3212ee586619f1a.tar.gz |
nvdec: add frames_params support
Diffstat (limited to 'libavcodec/nvdec.h')
-rw-r--r-- | libavcodec/nvdec.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/nvdec.h b/libavcodec/nvdec.h index 18a64cd445..14d29ee94b 100644 --- a/libavcodec/nvdec.h +++ b/libavcodec/nvdec.h @@ -54,9 +54,12 @@ typedef struct NVDECContext { unsigned int slice_offsets_allocated; } NVDECContext; -int ff_nvdec_decode_init(AVCodecContext *avctx, unsigned int dpb_size); +int ff_nvdec_decode_init(AVCodecContext *avctx); int ff_nvdec_decode_uninit(AVCodecContext *avctx); int ff_nvdec_start_frame(AVCodecContext *avctx, AVFrame *frame); int ff_nvdec_end_frame(AVCodecContext *avctx); +int ff_nvdec_frame_params(AVCodecContext *avctx, + AVBufferRef *hw_frames_ctx, + int dpb_size); #endif /* AVCODEC_NVDEC_H */ |