Re: [PATCH] vb2: Allow STREAMOFF for io emulator

2013-10-08 Thread Marek Szyprowski
Hi Racardo, On 2013-10-08 09:58, Ricardo Ribalda Delgado wrote: Hi Marek Thanks for your comments. I was just trying to find a way to stop streaming while in read/write mode without having to close the descriptor. I thought reusing streamoff was more clever than creating a new ioctl. Read()/w

Re: [PATCH] vb2: Allow STREAMOFF for io emulator

2013-10-08 Thread Ricardo Ribalda Delgado
Hi Marek Thanks for your comments. I was just trying to find a way to stop streaming while in read/write mode without having to close the descriptor. I thought reusing streamoff was more clever than creating a new ioctl. Thanks! On Tue, Oct 8, 2013 at 9:22 AM, Marek Szyprowski wrote: > Hello, >

Re: [PATCH] vb2: Allow STREAMOFF for io emulator

2013-10-08 Thread Marek Szyprowski
Hello, On 2013-10-04 15:49, Ricardo Ribalda Delgado wrote: A video device opened and streaming in io emulator mode can only stop streamming if its file descriptor is closed. There are some parameters that can only be changed if the device is not streaming. Also, the power consumption of a devic

Re: [PATCH] vb2: Allow STREAMOFF for io emulator

2013-10-04 Thread Ricardo Ribalda Delgado
Hello Hans I am implementing a test application for our camera, think of v4l2-compliance but for testing the hardware (average of pixels, rotation...) . I am implementing it using python (because of numpy and matplotlib). I dont really care about perferomance, I only care about the data correctne

Re: [PATCH] vb2: Allow STREAMOFF for io emulator

2013-10-04 Thread Hans Verkuil
Hi Ricardo, On 10/04/2013 03:49 PM, Ricardo Ribalda Delgado wrote: > A video device opened and streaming in io emulator mode can only stop > streamming if its file descriptor is closed. > > There are some parameters that can only be changed if the device is not > streaming. Also, the power consum

[PATCH] vb2: Allow STREAMOFF for io emulator

2013-10-04 Thread Ricardo Ribalda Delgado
A video device opened and streaming in io emulator mode can only stop streamming if its file descriptor is closed. There are some parameters that can only be changed if the device is not streaming. Also, the power consumption of a device streaming could be different than one not streaming. With t