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