* JPEG hw decoder
@ 2010-07-28 5:12 ` rd bairva
0 siblings, 0 replies; 16+ messages in thread
From: rd bairva @ 2010-07-28 5:12 UTC (permalink / raw)
To: linux-arm-kernel
Hi ,
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?
Thanks in advance.
Regards,
Rbairva
^ permalink raw reply [flat|nested] 16+ messages in thread
* JPEG hw decoder
@ 2010-07-28 5:12 ` rd bairva
0 siblings, 0 replies; 16+ messages in thread
From: rd bairva @ 2010-07-28 5:12 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel
Hi ,
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?
Thanks in advance.
Regards,
Rbairva
^ permalink raw reply [flat|nested] 16+ messages in thread
* JPEG hw decoder
2010-07-28 5:12 ` rd bairva
@ 2010-07-28 7:58 ` Baurzhan Ismagulov
-1 siblings, 0 replies; 16+ messages in thread
From: Baurzhan Ismagulov @ 2010-07-28 7:58 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Jul 28, 2010 at 10:42:53AM +0530, 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?
http://lwn.net/Kernel/LDD3/
You'd probably want to define the application interface using open /
read / write / ioctl / poll / close and implement them in a character
device.
With kind regards,
Baurzhan.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: JPEG hw decoder
@ 2010-07-28 7:58 ` Baurzhan Ismagulov
0 siblings, 0 replies; 16+ messages in thread
From: Baurzhan Ismagulov @ 2010-07-28 7:58 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel
On Wed, Jul 28, 2010 at 10:42:53AM +0530, 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?
http://lwn.net/Kernel/LDD3/
You'd probably want to define the application interface using open /
read / write / ioctl / poll / close and implement them in a character
device.
With kind regards,
Baurzhan.
^ permalink raw reply [flat|nested] 16+ messages in thread
* JPEG hw decoder
2010-07-28 5:12 ` rd bairva
@ 2010-07-28 8:15 ` viresh kumar
-1 siblings, 0 replies; 16+ messages in thread
From: viresh kumar @ 2010-07-28 8:15 UTC (permalink / raw)
To: linux-arm-kernel
On 7/28/2010 10:42 AM, rd bairva wrote:
> Hi ,
> 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?
Hello Rbairva,
Which JPEG decoder are you working on??
I have Synopsys JPEG Decoder/Encoder on ST SPEAr platform
and i am currently working on its driver for LKML.
I already have a driver for it which is not aligned to LKML guidelines,
and so doing modifications there.
In my driver i have used char device framework and none other suits it well.
viresh.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: JPEG hw decoder
@ 2010-07-28 8:15 ` viresh kumar
0 siblings, 0 replies; 16+ messages in thread
From: viresh kumar @ 2010-07-28 8:15 UTC (permalink / raw)
To: rd bairva; +Cc: linux-arm-kernel, linux-kernel
On 7/28/2010 10:42 AM, rd bairva wrote:
> Hi ,
> 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?
Hello Rbairva,
Which JPEG decoder are you working on??
I have Synopsys JPEG Decoder/Encoder on ST SPEAr platform
and i am currently working on its driver for LKML.
I already have a driver for it which is not aligned to LKML guidelines,
and so doing modifications there.
In my driver i have used char device framework and none other suits it well.
viresh.
^ permalink raw reply [flat|nested] 16+ messages in thread
* JPEG hw decoder
2010-07-28 8:15 ` viresh kumar
@ 2010-07-28 9:04 ` Eric Miao
-1 siblings, 0 replies; 16+ messages in thread
From: Eric Miao @ 2010-07-28 9:04 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Jul 28, 2010 at 4:15 PM, viresh kumar <viresh.kumar@st.com> wrote:
> On 7/28/2010 10:42 AM, rd bairva wrote:
>> Hi ,
>> ? ? ? 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?
>
> Hello Rbairva,
>
> Which JPEG decoder are you working on??
>
> I have Synopsys JPEG Decoder/Encoder on ST SPEAr platform
> and i am currently working on its driver for LKML.
>
> I already have a driver for it which is not aligned to LKML guidelines,
> and so doing modifications there.
> In my driver i have used char device framework and none other suits it well.
>
Normally the JPEG decoder/encoder comes with the video camera
module, which falls in v4l2 framework. Though not sure how well
the v4l2 API is gonna support this.
> viresh.
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: JPEG hw decoder
@ 2010-07-28 9:04 ` Eric Miao
0 siblings, 0 replies; 16+ messages in thread
From: Eric Miao @ 2010-07-28 9:04 UTC (permalink / raw)
To: viresh kumar, video4linux-list; +Cc: rd bairva, linux-kernel, linux-arm-kernel
On Wed, Jul 28, 2010 at 4:15 PM, viresh kumar <viresh.kumar@st.com> wrote:
> On 7/28/2010 10:42 AM, rd bairva wrote:
>> Hi ,
>> 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?
>
> Hello Rbairva,
>
> Which JPEG decoder are you working on??
>
> I have Synopsys JPEG Decoder/Encoder on ST SPEAr platform
> and i am currently working on its driver for LKML.
>
> I already have a driver for it which is not aligned to LKML guidelines,
> and so doing modifications there.
> In my driver i have used char device framework and none other suits it well.
>
Normally the JPEG decoder/encoder comes with the video camera
module, which falls in v4l2 framework. Though not sure how well
the v4l2 API is gonna support this.
> viresh.
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* JPEG hw decoder
2010-07-28 5:12 ` rd bairva
@ 2010-07-28 9:06 ` Pawel Moll
-1 siblings, 0 replies; 16+ messages in thread
From: Pawel Moll @ 2010-07-28 9:06 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
> 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?
If I was to do the same, I'd look around V4L2 API. If covers things like
video encoders/decoders etc. The only problem is that the particular
area you are interested in is not well defined yet:
http://linuxtv.org/downloads/v4l-dvb-apis/ch04s05.html
This means that people usually extend the API in their own way, staying
within the framework itself, obviously.
Maybe you could ask about this on the linux-media mailing list?
http://vger.kernel.org/vger-lists.html#linux-media
Good luck!
Pawe?
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: JPEG hw decoder
@ 2010-07-28 9:06 ` Pawel Moll
0 siblings, 0 replies; 16+ messages in thread
From: Pawel Moll @ 2010-07-28 9:06 UTC (permalink / raw)
To: rd bairva; +Cc: linux-arm-kernel, linux-kernel
Hi,
> 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?
If I was to do the same, I'd look around V4L2 API. If covers things like
video encoders/decoders etc. The only problem is that the particular
area you are interested in is not well defined yet:
http://linuxtv.org/downloads/v4l-dvb-apis/ch04s05.html
This means that people usually extend the API in their own way, staying
within the framework itself, obviously.
Maybe you could ask about this on the linux-media mailing list?
http://vger.kernel.org/vger-lists.html#linux-media
Good luck!
Paweł
^ permalink raw reply [flat|nested] 16+ messages in thread
* JPEG hw decoder
2010-07-28 5:12 ` rd bairva
` (3 preceding siblings ...)
(?)
@ 2010-07-28 9:29 ` rd bairva
2010-07-28 10:24 ` Pawel Osciak
-1 siblings, 1 reply; 16+ messages in thread
From: rd bairva @ 2010-07-28 9:29 UTC (permalink / raw)
To: linux-media
Hi ,
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.
Regards,
Rbairva
^ permalink raw reply [flat|nested] 16+ messages in thread
* RE: JPEG hw decoder
2010-07-28 9:29 ` rd bairva
@ 2010-07-28 10:24 ` Pawel Osciak
0 siblings, 0 replies; 16+ messages in thread
From: Pawel Osciak @ 2010-07-28 10:24 UTC (permalink / raw)
To: 'rd bairva', linux-media
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
^ permalink raw reply [flat|nested] 16+ messages in thread
* JPEG hw decoder
2010-07-28 5:12 ` rd bairva
@ 2010-07-28 19:12 ` Guennadi Liakhovetski
-1 siblings, 0 replies; 16+ messages in thread
From: Guennadi Liakhovetski @ 2010-07-28 19:12 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, 28 Jul 2010, rd bairva wrote:
> Hi ,
> 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?
drivers/media/video, maybe v4l2-mem2mem kind of thing.
Regards
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: JPEG hw decoder
@ 2010-07-28 19:12 ` Guennadi Liakhovetski
0 siblings, 0 replies; 16+ messages in thread
From: Guennadi Liakhovetski @ 2010-07-28 19:12 UTC (permalink / raw)
To: rd bairva; +Cc: linux-arm-kernel, linux-kernel
On Wed, 28 Jul 2010, rd bairva wrote:
> Hi ,
> 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?
drivers/media/video, maybe v4l2-mem2mem kind of thing.
Regards
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
^ permalink raw reply [flat|nested] 16+ messages in thread
* Fwd: JPEG hw decoder
[not found] ` <Pine.LNX.4.64.1007290808100.16266@axis700.grange>
@ 2010-07-29 6:56 ` rd bairva
2010-07-29 7:03 ` Pawel Osciak
0 siblings, 1 reply; 16+ messages in thread
From: rd bairva @ 2010-07-29 6:56 UTC (permalink / raw)
To: linux-media
Hi,
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?
Reagrds
Ramdayal
---------- Forwarded message ----------
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Date: Thu, Jul 29, 2010 at 11:38 AM
Subject: Re: JPEG hw decoder
To: rd bairva <rbairva@gmail.com>
On Thu, 29 Jul 2010, rd bairva wrote:
> Hi Guennadi,
> 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?
Please ask on
Linux Media Mailing List <linux-media@vger.kernel.org>
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
^ permalink raw reply [flat|nested] 16+ messages in thread
* RE: JPEG hw decoder
2010-07-29 6:56 ` Fwd: " rd bairva
@ 2010-07-29 7:03 ` Pawel Osciak
0 siblings, 0 replies; 16+ messages in thread
From: Pawel Osciak @ 2010-07-29 7:03 UTC (permalink / raw)
To: 'rd bairva', linux-media
>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
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2010-07-29 7:05 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-28 5:12 JPEG hw decoder rd bairva
2010-07-28 5:12 ` rd bairva
2010-07-28 7:58 ` Baurzhan Ismagulov
2010-07-28 7:58 ` Baurzhan Ismagulov
2010-07-28 8:15 ` viresh kumar
2010-07-28 8:15 ` viresh kumar
2010-07-28 9:04 ` Eric Miao
2010-07-28 9:04 ` Eric Miao
2010-07-28 9:06 ` Pawel Moll
2010-07-28 9:06 ` Pawel Moll
2010-07-28 9:29 ` rd bairva
2010-07-28 10:24 ` Pawel Osciak
2010-07-28 19:12 ` Guennadi Liakhovetski
2010-07-28 19:12 ` Guennadi Liakhovetski
[not found] ` <AANLkTikfgYhdZ=3HogiB0j7iXuu0bqBZVkwFONz59SOM@mail.gmail.com>
[not found] ` <Pine.LNX.4.64.1007290808100.16266@axis700.grange>
2010-07-29 6:56 ` Fwd: " rd bairva
2010-07-29 7:03 ` Pawel Osciak
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.