Hi Hans,
On 11/04/2013 01:07 PM, Hans Verkuil wrote:
Let me be precise as to what should happen, and you can check whether that's
what is actually done in the fimc and g2d drivers.
For V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE:
Say that the mem2mem hardware creates a 640x480 picture. If VIDIOC_S_CROP
On 11/04/2013 12:29 PM, Sylwester Nawrocki wrote:
> Sorry, I missed to reply to this e-mail.
>
> On 04/11/13 11:57, Hans Verkuil wrote:
>> Hi John,
>>
>> On 10/18/2013 02:03 AM, John Sheu wrote:
>>> On Thu, Oct 17, 2013 at 3:54 PM, Sylwester Nawrocki
>>> wrote:
On 10/18/2013 12:25 AM, John S
Sorry, I missed to reply to this e-mail.
On 04/11/13 11:57, Hans Verkuil wrote:
> Hi John,
>
> On 10/18/2013 02:03 AM, John Sheu wrote:
>> On Thu, Oct 17, 2013 at 3:54 PM, Sylwester Nawrocki
>> wrote:
>>> On 10/18/2013 12:25 AM, John Sheu wrote:
On Thu, Oct 17, 2013 at 2:46 PM, John Sheu w
Hi John,
On 10/18/2013 02:03 AM, John Sheu wrote:
> On Thu, Oct 17, 2013 at 3:54 PM, Sylwester Nawrocki
> wrote:
>> On 10/18/2013 12:25 AM, John Sheu wrote:
>>> On Thu, Oct 17, 2013 at 2:46 PM, John Sheu wrote:
> Sweet. Thanks for spelling things out explicitly like this. The fact
>
On Thu, Oct 17, 2013 at 3:54 PM, Sylwester Nawrocki
wrote:
> On 10/18/2013 12:25 AM, John Sheu wrote:
>> On Thu, Oct 17, 2013 at 2:46 PM, John Sheu wrote:
>>> > Sweet. Thanks for spelling things out explicitly like this. The fact
>>> > that the CAPTURE and OUTPUT queues "invert" their sense o
On 10/18/2013 12:25 AM, John Sheu wrote:
On Thu, Oct 17, 2013 at 2:46 PM, John Sheu wrote:
> Sweet. Thanks for spelling things out explicitly like this. The fact
> that the CAPTURE and OUTPUT queues "invert" their sense of "crop-ness"
> when used in a m2m device is definitely all sorts of
On Thu, Oct 17, 2013 at 2:46 PM, John Sheu wrote:
> Sweet. Thanks for spelling things out explicitly like this. The fact
> that the CAPTURE and OUTPUT queues "invert" their sense of "crop-ness"
> when used in a m2m device is definitely all sorts of confusing.
Just to double-check: this means th
On Thu, Oct 17, 2013 at 8:27 AM, Tomasz Stanislawski
wrote:
>
> Hello John,
>
> I am a designer of original selection API. Maybe I could clarify what
> does what in VIDIOC_S_CROP ioctl.
>
>
>
Sweet. Thanks for spelling things out explicitly like this. The fact
that the CAPTURE and OUTPUT queue
Hello John,
I am a designer of original selection API. Maybe I could clarify what
does what in VIDIOC_S_CROP ioctl.
> I thought you were not making sense for a bit. Then I walked away,
> came back, and I think you're making sense now. So:
>
> * Crop always refers to the source image
> * Compose
I thought you were not making sense for a bit. Then I walked away,
came back, and I think you're making sense now. So:
* Crop always refers to the source image
* Compose always refers to the destination image
On Sat, Oct 12, 2013 at 1:00 AM, Hans Verkuil wrote:
> On 10/12/2013 01:48 AM, John S
On 10/12/2013 01:48 AM, John Sheu wrote:
> On Wed, Oct 9, 2013 at 11:49 PM, Hans Verkuil wrote:
>> The main problem is that you use the wrong API: you need to use
>> G/S_SELECTION instead
>> of G/S_CROP. S_CROP on an output video node doesn't crop, it composes. And
>> if your
>> reaction is 'Huh
On Wed, Oct 9, 2013 at 11:49 PM, Hans Verkuil wrote:
> The main problem is that you use the wrong API: you need to use G/S_SELECTION
> instead
> of G/S_CROP. S_CROP on an output video node doesn't crop, it composes. And if
> your
> reaction is 'Huh?', then you're not alone. Which is why the sele
Hi John,
Thanks for the patches! It's nice to see fixes/improvements like this being
upstreamed.
Unfortunately I have to NACK this patch, but fortunately it is not difficult to
fix.
The main problem is that you use the wrong API: you need to use G/S_SELECTION
instead
of G/S_CROP. S_CROP on an
Allow userspace to set the crop rect of the input image buffer to
encode.
Signed-off-by: John Sheu
---
drivers/media/platform/s5p-mfc/s5p_mfc_common.h | 6 ++-
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c| 7 ++--
drivers/media/platform/s5p-mfc/s5p_mfc_enc.c| 54 +++
14 matches
Mail list logo