Re: [PATCH v4] media: Add AV1 uAPI

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

 



Hi Daniel,

A single drive-by note:

On Tue, Jan 03, 2023 at 12:48:32PM -0300, Daniel Almeida wrote:
> This patch adds the  AOMedia Video 1 (AV1) kernel uAPI.
> 
> This design is based on currently available AV1 API implementations and
> aims to support the development of AV1 stateless video codecs
> on Linux.

...

> Changes from v2:
...
> - Rename v4l2_ctrl_av1_frame_header to v4l2_ctrl_av1_frame
...
> +#define V4L2_AV1_FRAME_FLAG_SHOW_FRAME			 0x00000001
> +#define V4L2_AV1_FRAME_FLAG_SHOWABLE_FRAME		 0x00000002
> +#define V4L2_AV1_FRAME_FLAG_ERROR_RESILIENT_MODE	 0x00000004
> +#define V4L2_AV1_FRAME_FLAG_DISABLE_CDF_UPDATE		 0x00000008
> +#define V4L2_AV1_FRAME_FLAG_ALLOW_SCREEN_CONTENT_TOOLS	 0x00000010
> +#define V4L2_AV1_FRAME_FLAG_FORCE_INTEGER_MV		 0x00000020
> +#define V4L2_AV1_FRAME_FLAG_ALLOW_INTRABC		 0x00000040
> +#define V4L2_AV1_FRAME_FLAG_USE_SUPERRES		 0x00000080
> +#define V4L2_AV1_FRAME_FLAG_ALLOW_HIGH_PRECISION_MV	 0x00000100
> +#define V4L2_AV1_FRAME_FLAG_IS_MOTION_MODE_SWITCHABLE	 0x00000200
> +#define V4L2_AV1_FRAME_FLAG_USE_REF_FRAME_MVS		 0x00000400
> +#define V4L2_AV1_FRAME_FLAG_DISABLE_FRAME_END_UPDATE_CDF 0x00000800
> +#define V4L2_AV1_FRAME_FLAG_UNIFORM_TILE_SPACING	 0x00001000
> +#define V4L2_AV1_FRAME_FLAG_ALLOW_WARPED_MOTION		 0x00002000
> +#define V4L2_AV1_FRAME_FLAG_REFERENCE_SELECT		 0x00004000
> +#define V4L2_AV1_FRAME_FLAG_REDUCED_TX_SET		 0x00008000
> +#define V4L2_AV1_FRAME_FLAG_SKIP_MODE_ALLOWED		 0x00010000
> +#define V4L2_AV1_FRAME_FLAG_SKIP_MODE_PRESENT		 0x00020000
> +#define V4L2_AV1_FRAME_FLAG_FRAME_SIZE_OVERRIDE		 0x00040000
> +#define V4L2_AV1_FRAME_FLAG_BUFFER_REMOVAL_TIME_PRESENT	 0x00080000
> +#define V4L2_AV1_FRAME_FLAG_FRAME_REFS_SHORT_SIGNALING	 0x00100000
> +
> +#define V4L2_CID_STATELESS_AV1_FRAME (V4L2_CID_CODEC_STATELESS_BASE + 502)
> +/**
> + * struct v4l2_ctrl_av1_frame - Represents an AV1 Frame Header OBU.
...
> + * @flags: see V4L2_AV1_FRAME_HEADER_FLAG_{}
 
V4L2_AV1_FRAME_HEADER_FLAG_{} no longer exist after the rename. I think
you're looking for V4L2_AV1_FRAME_FLAG_{}.

Brian



[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