summaryrefslogtreecommitdiff
path: root/libavcodec/h2645_sei.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-02 19:14:43 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-12-01 11:00:41 +0100
commit7b450bafd72dee8aa1d8b77fe34407e70f9f93cc (patch)
tree9a8dc96989e49f8b85293fb8a4cef019e80d3ce2 /libavcodec/h2645_sei.h
parent8bf18018a3f469d638f72e01b86474a1287643e1 (diff)
avcodec/h2645_sei: Factor attaching film grain side-data to frame out
This unfortunately involved adding some parameters to ff_h2645_sei_to_frame() that will be mostly unused. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/h2645_sei.h')
-rw-r--r--libavcodec/h2645_sei.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/h2645_sei.h b/libavcodec/h2645_sei.h
index eb00107abb..f3ee9af524 100644
--- a/libavcodec/h2645_sei.h
+++ b/libavcodec/h2645_sei.h
@@ -28,6 +28,7 @@
#include "bytestream.h"
#include "codec_id.h"
#include "get_bits.h"
+#include "h2645_vui.h"
#include "sei.h"
typedef struct H2645SEIA53Caption {
@@ -136,6 +137,8 @@ void ff_h2645_sei_reset(H2645SEI *s);
int ff_h2645_sei_to_frame(AVFrame *frame, H2645SEI *sei,
enum AVCodecID codec_id,
- AVCodecContext *avctx);
+ AVCodecContext *avctx, const H2645VUI *vui,
+ unsigned bit_depth_luma, unsigned bit_depth_chroma,
+ int seed);
#endif /* AVCODEC_H2645_SEI_H */