All of lore.kernel.org
 help / color / mirror / Atom feed
* RFC: New format V4L2_PIX_FMT_Y16_BE ?
@ 2015-03-26 16:23 Ricardo Ribalda Delgado
  2015-03-26 16:46 ` Hans Verkuil
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Ribalda Delgado @ 2015-03-26 16:23 UTC (permalink / raw)
  To: linux-media

Hello

While debugging a v4l2<->gstreamer interaction problem, I have
realized that we were implementing Y16 wrong in our cameras :S. What
we were implementing was a big endian version of the format.

If I want to add support for our Y16_BE format to the kernel, would it
be enough to change videodev2.h, add the documentation for the format
and update libv4lconvert?


Regards!


-- 
Ricardo Ribalda

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: RFC: New format V4L2_PIX_FMT_Y16_BE ?
  2015-03-26 16:23 RFC: New format V4L2_PIX_FMT_Y16_BE ? Ricardo Ribalda Delgado
@ 2015-03-26 16:46 ` Hans Verkuil
  2015-03-27  8:13   ` Ricardo Ribalda Delgado
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Verkuil @ 2015-03-26 16:46 UTC (permalink / raw)
  To: Ricardo Ribalda Delgado, linux-media

On 03/26/2015 09:23 AM, Ricardo Ribalda Delgado wrote:
> Hello
> 
> While debugging a v4l2<->gstreamer interaction problem, I have
> realized that we were implementing Y16 wrong in our cameras :S. What
> we were implementing was a big endian version of the format.
> 
> If I want to add support for our Y16_BE format to the kernel, would it
> be enough to change videodev2.h, add the documentation for the format
> and update libv4lconvert?

Yes, but you might want to wait 1-2 weeks: I'm going to make a patch
that moves the ENUMFMT description into the v4l2 core. So you want to be on
top of that patch. I posted an RFC patch for that earlier (last week I
think).

Regards,

	Hans

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: RFC: New format V4L2_PIX_FMT_Y16_BE ?
  2015-03-26 16:46 ` Hans Verkuil
@ 2015-03-27  8:13   ` Ricardo Ribalda Delgado
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Ribalda Delgado @ 2015-03-27  8:13 UTC (permalink / raw)
  To: Hans Verkuil; +Cc: linux-media, Hans de Goede

Hi Hans

On Thu, Mar 26, 2015 at 5:46 PM, Hans Verkuil <hverkuil@xs4all.nl> wrote:

> Yes, but you might want to wait 1-2 weeks: I'm going to make a patch
> that moves the ENUMFMT description into the v4l2 core. So you want to be on
> top of that patch. I posted an RFC patch for that earlier (last week I
> think).

Absolutely no hurry.

My main worry is now this patch:

libv4lconvert: Fix support for Y16 pixel format
https://patchwork.linuxtv.org/patch/28989/

That fixes the implementation in v4lconvert. I introduced the original
bug and I don't want that anybody uses that library as a reference of
how the format should be.



Thanks!!



-- 
Ricardo Ribalda

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-27  8:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-26 16:23 RFC: New format V4L2_PIX_FMT_Y16_BE ? Ricardo Ribalda Delgado
2015-03-26 16:46 ` Hans Verkuil
2015-03-27  8:13   ` Ricardo Ribalda Delgado

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.