[FFmpeg-cvslog] avcodec/dovi_rpu: move ff_dovi_rpu_generate to correct section

Niklas Haas git at videolan.org
Tue Jun 18 22:18:58 EEST 2024


ffmpeg | branch: master | Niklas Haas <git at haasn.dev> | Fri Jun 14 14:15:20 2024 +0200| [5e778cbfd5c09a81531226c0bd0dcf2140419773] | committer: Niklas Haas

avcodec/dovi_rpu: move ff_dovi_rpu_generate to correct section

This is not an internal use function.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5e778cbfd5c09a81531226c0bd0dcf2140419773
---

 libavcodec/dovi_rpu.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/libavcodec/dovi_rpu.h b/libavcodec/dovi_rpu.h
index 058d50c64f..bfb118d6b5 100644
--- a/libavcodec/dovi_rpu.h
+++ b/libavcodec/dovi_rpu.h
@@ -122,16 +122,6 @@ int ff_dovi_attach_side_data(DOVIContext *s, AVFrame *frame);
  */
 int ff_dovi_configure(DOVIContext *s, AVCodecContext *avctx);
 
-
-/***************************************************
- * The following section is for internal use only. *
- ***************************************************/
-
-enum {
-    RPU_COEFF_FIXED = 0,
-    RPU_COEFF_FLOAT = 1,
-};
-
 /**
  * Synthesize a Dolby Vision RPU reflecting the current state. Note that this
  * assumes all previous calls to `ff_dovi_rpu_generate` have been appropriately
@@ -146,6 +136,16 @@ enum {
 int ff_dovi_rpu_generate(DOVIContext *s, const AVDOVIMetadata *metadata,
                          uint8_t **out_rpu, int *out_size);
 
+
+/***************************************************
+ * The following section is for internal use only. *
+ ***************************************************/
+
+enum {
+    RPU_COEFF_FIXED = 0,
+    RPU_COEFF_FLOAT = 1,
+};
+
 /**
  * Internal helper function to guess the correct DV profile for HEVC.
  *



More information about the ffmpeg-cvslog mailing list