summaryrefslogtreecommitdiff
path: root/libavcodec/elbg.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-15 23:10:41 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-20 04:38:25 +0200
commit9e11debb5d5b1bd18f481e654f7515fc1eefde14 (patch)
tree3541d2ff39ff3c2762e02798300626ad655a407f /libavcodec/elbg.h
parent8bfd466c9e5285ff214162c6798b202bdbf77ba6 (diff)
downloadffmpeg-9e11debb5d5b1bd18f481e654f7515fc1eefde14.tar.gz
avcodec/elbg: Rename elbg_data to ELBGContext
It is in line with our naming conventions for types. Also change numCB to num_cb for the same reason. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/elbg.h')
-rw-r--r--libavcodec/elbg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/elbg.h b/libavcodec/elbg.h
index 3b9c2931f3..a9a19aa5e4 100644
--- a/libavcodec/elbg.h
+++ b/libavcodec/elbg.h
@@ -32,14 +32,14 @@
* @param dim Dimension of the points.
* @param numpoints Num of points in **points.
* @param codebook Pointer to the output codebook. Must be allocated.
- * @param numCB Number of points in the codebook.
+ * @param num_cb Number of points in the codebook.
* @param num_steps The maximum number of steps. One step is already a good compromise between time and quality.
* @param closest_cb Return the closest codebook to each point. Must be allocated.
* @param rand_state A random number generator state. Should be already initialized by av_lfg_init().
* @return < 0 in case of error, 0 otherwise
*/
int avpriv_do_elbg(int *points, int dim, int numpoints, int *codebook,
- int numCB, int num_steps, int *closest_cb,
+ int num_cb, int num_steps, int *closest_cb,
AVLFG *rand_state);
#endif /* AVCODEC_ELBG_H */