public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* JPEG hw decoder
@ 2010-07-28  5:12 rd bairva
  2010-07-28  7:58 ` Baurzhan Ismagulov
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ 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] 6+ messages in thread

* JPEG hw decoder
  2010-07-28  5:12 JPEG hw decoder rd bairva
@ 2010-07-28  7:58 ` Baurzhan Ismagulov
  2010-07-28  8:15 ` viresh kumar
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ 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] 6+ messages in thread

* JPEG hw decoder
  2010-07-28  5:12 JPEG hw decoder rd bairva
  2010-07-28  7:58 ` Baurzhan Ismagulov
@ 2010-07-28  8:15 ` viresh kumar
  2010-07-28  9:04   ` Eric Miao
  2010-07-28  9:06 ` Pawel Moll
  2010-07-28 19:12 ` Guennadi Liakhovetski
  3 siblings, 1 reply; 6+ 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] 6+ messages in thread

* JPEG hw decoder
  2010-07-28  8:15 ` viresh kumar
@ 2010-07-28  9:04   ` Eric Miao
  0 siblings, 0 replies; 6+ 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] 6+ messages in thread

* JPEG hw decoder
  2010-07-28  5:12 JPEG hw decoder rd bairva
  2010-07-28  7:58 ` Baurzhan Ismagulov
  2010-07-28  8:15 ` viresh kumar
@ 2010-07-28  9:06 ` Pawel Moll
  2010-07-28 19:12 ` Guennadi Liakhovetski
  3 siblings, 0 replies; 6+ 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] 6+ messages in thread

* JPEG hw decoder
  2010-07-28  5:12 JPEG hw decoder rd bairva
                   ` (2 preceding siblings ...)
  2010-07-28  9:06 ` Pawel Moll
@ 2010-07-28 19:12 ` Guennadi Liakhovetski
  3 siblings, 0 replies; 6+ 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] 6+ messages in thread

end of thread, other threads:[~2010-07-28 19:12 UTC | newest]

Thread overview: 6+ 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  7:58 ` Baurzhan Ismagulov
2010-07-28  8:15 ` viresh kumar
2010-07-28  9:04   ` Eric Miao
2010-07-28  9:06 ` Pawel Moll
2010-07-28 19:12 ` Guennadi Liakhovetski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox