All of lore.kernel.org
 help / color / mirror / Atom feed
* subdev_pad_ops vs video_ops
@ 2012-04-30  8:34 jean-philippe francois
  2012-04-30  9:49 ` Laurent Pinchart
  0 siblings, 1 reply; 2+ messages in thread
From: jean-philippe francois @ 2012-04-30  8:34 UTC (permalink / raw)
  To: linux-media

subdev_pad_ops and video_ops both contains operation related
to format, crop and bus format.

When should one or the other be used ?
For example mt9p031 implement everything using pad_ops, but other drivers
use video_ops functions.

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

* Re: subdev_pad_ops vs video_ops
  2012-04-30  8:34 subdev_pad_ops vs video_ops jean-philippe francois
@ 2012-04-30  9:49 ` Laurent Pinchart
  0 siblings, 0 replies; 2+ messages in thread
From: Laurent Pinchart @ 2012-04-30  9:49 UTC (permalink / raw)
  To: jean-philippe francois; +Cc: linux-media

Hi Jean-Philippe,

On Monday 30 April 2012 10:34:54 jean-philippe francois wrote:
> subdev_pad_ops and video_ops both contains operation related
> to format, crop and bus format.
> 
> When should one or the other be used ?
> For example mt9p031 implement everything using pad_ops, but other drivers
> use video_ops functions.

The pad ops are required by the media controller framework. New drivers should 
use pad ops for format and selection handling. We need wrappers to translate 
video ops to pad ops to be used by bridge drivers that don't support pad ops 
yet.

-- 
Regards,

Laurent Pinchart


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

end of thread, other threads:[~2012-04-30  9:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-30  8:34 subdev_pad_ops vs video_ops jean-philippe francois
2012-04-30  9:49 ` Laurent Pinchart

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.