From 5e778cbfd5c09a81531226c0bd0dcf2140419773 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Fri, 14 Jun 2024 14:15:20 +0200 Subject: [PATCH] avcodec/dovi_rpu: move ff_dovi_rpu_generate to correct section This is not an internal use function. --- 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. *