Re: [PATCH 2/2] media: vivid: Add 16-bit bayer to format list

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

 



On 10/04/18 13:01, bwinther@xxxxxxxxx wrote:
> From: Bård Eirik Winther <bwinther@xxxxxxxxx>
> 

Same here: missing commit message.

This patch looks good otherwise.

Regards,

	Hans

> Signed-off-by: Bård Eirik Winther <bwinther@xxxxxxxxx>
> ---
>  .../media/platform/vivid/vivid-vid-common.c   | 28 +++++++++++++++++++
>  1 file changed, 28 insertions(+)
> 
> diff --git a/drivers/media/platform/vivid/vivid-vid-common.c b/drivers/media/platform/vivid/vivid-vid-common.c
> index 27a0000a5973..9645a91b8782 100644
> --- a/drivers/media/platform/vivid/vivid-vid-common.c
> +++ b/drivers/media/platform/vivid/vivid-vid-common.c
> @@ -449,6 +449,34 @@ struct vivid_fmt vivid_formats[] = {
>  		.planes   = 1,
>  		.buffers = 1,
>  	},
> +	{
> +		.fourcc   = V4L2_PIX_FMT_SBGGR16, /* Bayer BG/GR */
> +		.vdownsampling = { 1 },
> +		.bit_depth = { 16 },
> +		.planes   = 1,
> +		.buffers = 1,
> +	},
> +	{
> +		.fourcc   = V4L2_PIX_FMT_SGBRG16, /* Bayer GB/RG */
> +		.vdownsampling = { 1 },
> +		.bit_depth = { 16 },
> +		.planes   = 1,
> +		.buffers = 1,
> +	},
> +	{
> +		.fourcc   = V4L2_PIX_FMT_SGRBG16, /* Bayer GR/BG */
> +		.vdownsampling = { 1 },
> +		.bit_depth = { 16 },
> +		.planes   = 1,
> +		.buffers = 1,
> +	},
> +	{
> +		.fourcc   = V4L2_PIX_FMT_SRGGB16, /* Bayer RG/GB */
> +		.vdownsampling = { 1 },
> +		.bit_depth = { 16 },
> +		.planes   = 1,
> +		.buffers = 1,
> +	},
>  	{
>  		.fourcc   = V4L2_PIX_FMT_HSV24, /* HSV 24bits */
>  		.color_enc = TGP_COLOR_ENC_HSV,
> 




[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