RE: JPEG hw decoder

2010-07-29 Thread Pawel Osciak
>rd bairva wrote:
>  If I write the jpeg driver using v4l2-mem2mem.
>  Than i think i need to write custom applications for the kernel
>  driver. Are there some application available to use this v4l2-mem2mem?

There is no other interface for jpeg codec hardware in V4L2 as far
as I am aware anyway. That's why mem2mem has been developed in the first
place. Mem2mem has just been released (in 2.6.35), so you have to give
it some time. That said, I don't think you will find any other (non-mem2mem)
V4L2-based applications for jpeg hardware either. Somebody might prove
me wrong on this though...

Best regards
--
Pawel Osciak
Linux Platform Group
Samsung Poland R&D Center


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: JPEG hw decoder

2010-07-28 Thread Pawel Osciak
Hi,

> rd bairva wrote:
> My board has a hardware JPEG decoder. I want to write a driver
>for this in Linux kernel, But it seems there that no Framework exists
>in kernel. Can somebody provide me some pointers?
>
>Can V4l2 be used?
>Thanks in advance.

please take a look at the mem2mem (memory-to-memory) framework, it has
been designed just for such hardware, i.e. hardware that takes a source
buffer, processes the data and returns the result in another buffer.

You can find a short introduction in an LWN article at:
http://lwn.net/Articles/389081/

More info in the original threads:
http://www.spinics.net/lists/linux-media/msg14063.html
http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/10668


Best regards
--
Pawel Osciak
Linux Platform Group
Samsung Poland R&D Center



--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html