]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/nvdec.h
fftools/ffmpeg: use a bsf list instead of individual bsfs
[ffmpeg] / libavcodec / nvdec.h
index 85a0fcf7259cbe87a0fbfa786e94019c52dc8ce7..09ae8c37e6bcb9171287fe8c629f8ca6292fa9ba 100644 (file)
@@ -61,6 +61,8 @@ typedef struct NVDECContext {
     unsigned     *slice_offsets;
     int           nb_slices;
     unsigned int  slice_offsets_allocated;
+
+    int           supports_444;
 } NVDECContext;
 
 int ff_nvdec_decode_init(AVCodecContext *avctx);
@@ -72,7 +74,8 @@ int ff_nvdec_simple_decode_slice(AVCodecContext *avctx, const uint8_t *buffer,
                                  uint32_t size);
 int ff_nvdec_frame_params(AVCodecContext *avctx,
                           AVBufferRef *hw_frames_ctx,
-                          int dpb_size);
+                          int dpb_size,
+                          int supports_444);
 int ff_nvdec_get_ref_idx(AVFrame *frame);
 
 #endif /* AVCODEC_NVDEC_H */