Re: [PATCH] media: videodev2.h.rst.exceptions: add missing exceptions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hans,

Thank you for the patch.

On Fri, Jul 15, 2022 at 05:10:33PM +0200, Hans Verkuil wrote:
> Add new exceptions for V4L2_COLORSPACE_LAST, V4L2_XFER_FUNC_LAST
> and V4L2_YCBCR_ENC_LAST.
> 
> This fixes documentation warnings:
> 
> Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-colorspace-last
> Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-xfer-func-last
> Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-ycbcr-enc-last
> 
> Signed-off-by: Hans Verkuil <hverkuil-cisco@xxxxxxxxx>

My bad.

Reviewed-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>

> ---
> diff --git a/Documentation/userspace-api/media/videodev2.h.rst.exceptions b/Documentation/userspace-api/media/videodev2.h.rst.exceptions
> index 2feea4a5a008..64b2c0b1f666 100644
> --- a/Documentation/userspace-api/media/videodev2.h.rst.exceptions
> +++ b/Documentation/userspace-api/media/videodev2.h.rst.exceptions
> @@ -70,6 +70,7 @@ replace symbol V4L2_COLORSPACE_REC709 :c:type:`v4l2_colorspace`
>  replace symbol V4L2_COLORSPACE_SMPTE170M :c:type:`v4l2_colorspace`
>  replace symbol V4L2_COLORSPACE_SMPTE240M :c:type:`v4l2_colorspace`
>  replace symbol V4L2_COLORSPACE_SRGB :c:type:`v4l2_colorspace`
> +replace symbol V4L2_COLORSPACE_LAST :c:type:`v4l2_colorspace`
>  
>  # Documented enum v4l2_xfer_func
>  replace symbol V4L2_XFER_FUNC_709 :c:type:`v4l2_xfer_func`
> @@ -81,6 +82,7 @@ replace symbol V4L2_XFER_FUNC_NONE :c:type:`v4l2_xfer_func`
>  replace symbol V4L2_XFER_FUNC_SMPTE2084 :c:type:`v4l2_xfer_func`
>  replace symbol V4L2_XFER_FUNC_SMPTE240M :c:type:`v4l2_xfer_func`
>  replace symbol V4L2_XFER_FUNC_SRGB :c:type:`v4l2_xfer_func`
> +replace symbol V4L2_XFER_FUNC_LAST :c:type:`v4l2_xfer_func`
>  
>  # Documented enum v4l2_ycbcr_encoding
>  replace symbol V4L2_YCBCR_ENC_601 :c:type:`v4l2_ycbcr_encoding`
> @@ -92,6 +94,7 @@ replace symbol V4L2_YCBCR_ENC_SYCC :c:type:`v4l2_ycbcr_encoding`
>  replace symbol V4L2_YCBCR_ENC_XV601 :c:type:`v4l2_ycbcr_encoding`
>  replace symbol V4L2_YCBCR_ENC_XV709 :c:type:`v4l2_ycbcr_encoding`
>  replace symbol V4L2_YCBCR_ENC_SMPTE240M :c:type:`v4l2_ycbcr_encoding`
> +replace symbol V4L2_YCBCR_ENC_LAST :c:type:`v4l2_ycbcr_encoding`
>  
>  # Documented enum v4l2_hsv_encoding
>  replace symbol V4L2_HSV_ENC_180 :c:type:`v4l2_hsv_encoding`

-- 
Regards,

Laurent Pinchart



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux