[FFmpeg-cvslog] avutil/film_grain_params: fix doxy for ar_coeff_* fields

James Almer git at videolan.org
Thu Dec 3 18:25:52 EET 2020


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Dec  3 13:25:21 2020 -0300| [53b4550bddfcef65d770ec81cc86a1a6ba12c830] | committer: James Almer

avutil/film_grain_params: fix doxy for ar_coeff_* fields

Signed-off-by: James Almer <jamrial at gmail.com>

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

 libavutil/film_grain_params.h | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/libavutil/film_grain_params.h b/libavutil/film_grain_params.h
index 0bcbcc2324..7629e3a041 100644
--- a/libavutil/film_grain_params.h
+++ b/libavutil/film_grain_params.h
@@ -64,18 +64,19 @@ typedef struct AVFilmGrainAOMParams {
     int scaling_shift;
 
     /**
-     * Specifies the auto-regression lag. The number of coefficients is given by
-     * 2*ar_coeff_lag(ar_coeff_lag - 1), with an extra one for the chroma.
+     * Specifies the auto-regression lag.
      */
     int ar_coeff_lag;
 
     /**
-     * Luma auto-regression coefficients.
+     * Luma auto-regression coefficients. The number of coefficients is given by
+     * 2 * ar_coeff_lag * (ar_coeff_lag + 1).
      */
     int8_t ar_coeffs_y[24];
 
     /**
-     * Chroma auto-regression coefficients.
+     * Chroma auto-regression coefficients. The number of coefficients is given by
+     * 2 * ar_coeff_lag * (ar_coeff_lag + 1) + !!num_y_points.
      */
     int8_t ar_coeffs_uv[2 /* cb, cr */][25];
 



More information about the ffmpeg-cvslog mailing list