From: rd bairva on
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Baurzhan Ismagulov on
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: viresh kumar on
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Eric Miao on
On Wed, Jul 28, 2010 at 4:15 PM, viresh kumar <viresh.kumar(a)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(a)lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Pawel Moll on
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ł

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/