[FFmpeg-cvslog] pixdesc: fix and extend doxy for av_pix_fmt_get_chroma_sub_sample()
Anton Khirnov
git at videolan.org
Wed Feb 3 17:59:23 CET 2016
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Jan 21 13:28:42 2016 +0100| [d336bfcf69fee159e9dba5e5e486ddb1aba61aab] | committer: Anton Khirnov
pixdesc: fix and extend doxy for av_pix_fmt_get_chroma_sub_sample()
The parameters in the docs are currently swapped.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d336bfcf69fee159e9dba5e5e486ddb1aba61aab
---
libavutil/pixdesc.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h
index fe06d94..aea1e38 100644
--- a/libavutil/pixdesc.h
+++ b/libavutil/pixdesc.h
@@ -268,8 +268,8 @@ enum AVPixelFormat av_pix_fmt_desc_get_id(const AVPixFmtDescriptor *desc);
* the pixel format AVPixFmtDescriptor.
*
* @param[in] pix_fmt the pixel format
- * @param[out] h_shift store log2_chroma_h
- * @param[out] v_shift store log2_chroma_w
+ * @param[out] h_shift store log2_chroma_w (horizontal/width shift)
+ * @param[out] v_shift store log2_chroma_h (vertical/height shift)
*
* @return 0 on success, AVERROR(ENOSYS) on invalid or unknown pixel format
*/
More information about the ffmpeg-cvslog
mailing list