diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-08-20 16:52:38 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-08-20 16:52:38 +0000 |
commit | e34433612f475cd940487a2cd14851b0eb7e47b0 (patch) | |
tree | d048e5d68a2a8129aaaf7ed346375c2f7d473a47 /libavcore/imgutils.c | |
parent | d1a991f23d45e58aa24b70a1c2f0618e642b2abe (diff) | |
download | ffmpeg-streaming-e34433612f475cd940487a2cd14851b0eb7e47b0.zip ffmpeg-streaming-e34433612f475cd940487a2cd14851b0eb7e47b0.tar.gz |
Rename av_fill_image_max_pixstep() to av_fill_image_max_pixsteps().
The plural form is preferred as it is more consistent with the other functions:
av_fill_image_linesizes()
av_fill_image_pointers()
and looks semantically more correct as it fills an array of elements.
Originally committed as revision 24851 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcore/imgutils.c')
-rw-r--r-- | libavcore/imgutils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcore/imgutils.c b/libavcore/imgutils.c index 1fdaaae..686769e 100644 --- a/libavcore/imgutils.c +++ b/libavcore/imgutils.c @@ -34,7 +34,7 @@ int av_get_image_linesize(enum PixelFormat pix_fmt, int width, int plane) if (desc->flags & PIX_FMT_BITSTREAM) return (width * (desc->comp[0].step_minus1+1) + 7) >> 3; - av_fill_image_max_pixstep(max_step, max_step_comp, desc); + av_fill_image_max_pixsteps(max_step, max_step_comp, desc); s = (max_step_comp[plane] == 1 || max_step_comp[plane] == 2) ? desc->log2_chroma_w : 0; return max_step[plane] * (((width + (1 << s) - 1)) >> s); } @@ -56,7 +56,7 @@ int av_fill_image_linesizes(int linesizes[4], enum PixelFormat pix_fmt, int widt return 0; } - av_fill_image_max_pixstep(max_step, max_step_comp, desc); + av_fill_image_max_pixsteps(max_step, max_step_comp, desc); for (i = 0; i < 4; i++) { int s = (max_step_comp[i] == 1 || max_step_comp[i] == 2) ? desc->log2_chroma_w : 0; linesizes[i] = max_step[i] * (((width + (1 << s) - 1)) >> s); |