Chinese Freelance Translator and interpreter

2015-11-01 Thread Allen
Dear linux-media, Asian Language Solutions Company (ALS) is a language solution provider right here in China. We have a network of professional and experienced translators and interpreters. Our interpreters have years' experience in various industries such as Oil & Gas, Agriculture,

cron job: media_tree daily build: OK

2015-11-01 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Mon Nov 2 04:00:24 CET 2015 git branch: test git hash: 79f5b6ae960d380c829fb67d5dadcd1d025d2775 gcc

[RFC PATCH v8 5/6] media: videobuf2: Refactor vb2_fileio_data and vb2_thread

2015-11-01 Thread Junghak Sung
Replace v4l2-stuffs with common things in struct vb2_fileio_data and vb2_thread(). Signed-off-by: Junghak Sung Signed-off-by: Geunyoung Kim Acked-by: Seung-Woo Kim Acked-by: Inki Dae ---

[RFC PATCH v8 6/6] media: videobuf2: Move vb2_fileio_data and vb2_thread to core part

2015-11-01 Thread Junghak Sung
Move things related with vb2 file I/O and vb2_thread without doing any functional changes. After that, videobuf2-internal.h is removed because it is not necessary any more. Signed-off-by: Junghak Sung Signed-off-by: Geunyoung Kim Acked-by:

[RFC PATCH v8 1/6] media: videobuf2: Move timestamp to vb2_buffer

2015-11-01 Thread Junghak Sung
Move timestamp from struct vb2_v4l2_buffer to struct vb2_buffer for common use, and change its type to struct timespec in order to handling y2038 problem. This patch also includes all device drivers' changes related to this restructuring. Signed-off-by: Junghak Sung

[RFC PATCH v8 3/6] media: videobuf2: Separate vb2_poll()

2015-11-01 Thread Junghak Sung
Separate vb2_poll() into core and v4l2 part. Signed-off-by: Junghak Sung Signed-off-by: Geunyoung Kim Acked-by: Seung-Woo Kim Acked-by: Inki Dae --- drivers/media/v4l2-core/videobuf2-v4l2.c | 80

[RFC PATCH v8 4/6] media: videobuf2: last_buffer_queued is set at fill_v4l2_buffer()

2015-11-01 Thread Junghak Sung
The location in which last_buffer_queued is set is moved to fill_v4l2_buffer(). So, __vb2_perform_fileio() can use vb2_core_dqbuf() instead of vb2_internal_dqbuf(). Signed-off-by: Junghak Sung Signed-off-by: Geunyoung Kim Acked-by: Seung-Woo Kim

[RFC PATCH v8 2/6] media: videobuf2: Add set_timestamp to struct vb2_queue

2015-11-01 Thread Junghak Sung
Add set_timestamp to struct vb2_queue as a flag set if vb2-core should set timestamps. Signed-off-by: Junghak Sung Signed-off-by: Geunyoung Kim Acked-by: Seung-Woo Kim Acked-by: Inki Dae ---

[RFC PATCH v8] Refactoring Videobuf2 for common use

2015-11-01 Thread Junghak Sung
Hello everybody, This is the 8th round for refactoring Videobuf2(a.k.a VB2). The purpose of this patch series is to separate existing VB2 framework into core part and V4L2 specific part. So that not only V4L2 but also other frameworks can use them to manage buffer and utilize queue. Why do we

videobuf & read/write operation

2015-11-01 Thread Ran Shalit
Hello, I'm trying to understand how to imeplement v4l driver using videobuf. The videobuf documentation if very helpful. When the documentation refers to " I/O stream" , does it also include the read/write operation or only streaming I/O method ? In case I am using only read/write, do I need to

Re: videobuf & read/write operation

2015-11-01 Thread Ran Shalit
> Don't use videobuf! Use videobuf2, just like the skeleton driver. > > The old videobuf framework is deprecated and you shouldn't use it as it is > horrible. > > Why on earth are you trying to use videobuf if the skeleton driver clearly > uses vb2? > Right, I now see that I was examining code

Re: videobuf & read/write operation

2015-11-01 Thread Hans Verkuil
On 11/01/2015 09:13 PM, Ran Shalit wrote: >> Don't use videobuf! Use videobuf2, just like the skeleton driver. >> >> The old videobuf framework is deprecated and you shouldn't use it as it is >> horrible. >> >> Why on earth are you trying to use videobuf if the skeleton driver clearly >> uses vb2?

Re: videobuf & read/write operation

2015-11-01 Thread Hans Verkuil
On 11/01/2015 08:21 PM, Ran Shalit wrote: > Hello, > > I'm trying to understand how to imeplement v4l driver using videobuf. > The videobuf documentation if very helpful. Don't use videobuf! Use videobuf2, just like the skeleton driver. The old videobuf framework is deprecated and you shouldn't