summaryrefslogtreecommitdiff
path: root/libavcodec/nvenc.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-01-30 21:33:48 +0100
committerAnton Khirnov <anton@khirnov.net>2016-02-12 10:19:26 +0100
commit28259c13db784d4b4175ca323dc1eeffec7f919b (patch)
tree92dc1af49261364777dff550715c21709bc4fdca /libavcodec/nvenc.h
parentfb25d99b0a5e21fb8cc184c7a9d3736387778266 (diff)
downloadffmpeg-28259c13db784d4b4175ca323dc1eeffec7f919b.tar.gz
nvenc: factor out the pixel format list
Diffstat (limited to 'libavcodec/nvenc.h')
-rw-r--r--libavcodec/nvenc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/nvenc.h b/libavcodec/nvenc.h
index 32d3345414..7b1e8a5596 100644
--- a/libavcodec/nvenc.h
+++ b/libavcodec/nvenc.h
@@ -135,4 +135,6 @@ int ff_nvenc_encode_close(AVCodecContext *avctx);
int ff_nvenc_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
const AVFrame *frame, int *got_packet);
+extern const enum AVPixelFormat ff_nvenc_pix_fmts[];
+
#endif /* AVCODEC_NVENC_H */