OSDN Git Service

Merge commit 'd336bfcf69fee159e9dba5e5e486ddb1aba61aab'
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Wed, 3 Feb 2016 16:59:06 +0000 (16:59 +0000)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Wed, 3 Feb 2016 16:59:06 +0000 (16:59 +0000)
* commit 'd336bfcf69fee159e9dba5e5e486ddb1aba61aab':
  pixdesc: fix and extend doxy for av_pix_fmt_get_chroma_sub_sample()

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
1  2 
libavutil/pixdesc.h

@@@ -286,14 -267,9 +286,14 @@@ enum AVPixelFormat av_pix_fmt_desc_get_
   * Utility function to access log2_chroma_w log2_chroma_h from
   * the pixel format AVPixFmtDescriptor.
   *
 + * See av_get_chroma_sub_sample() for a function that asserts a
 + * valid pixel format instead of returning an error code.
 + * Its recommended that you use avcodec_get_chroma_sub_sample unless
 + * you do check the return code!
 + *
   * @param[in]  pix_fmt the pixel format
-  * @param[out] h_shift store log2_chroma_w
-  * @param[out] v_shift store log2_chroma_h
+  * @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
   */