avcodec/dovi_rpu: move ff_dovi_rpu_generate to correct section

This is not an internal use function.
This commit is contained in:
Niklas Haas 2024-06-14 14:15:20 +02:00
parent 7bf08a5b2d
commit 5e778cbfd5

View File

@ -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.
*