Skip to contentSkip to conversation

Query: Implementation of overlay on linux

DISCUSSION vipul kumar samar 2 participants 5 messages Apr 26, 2011 – May 3, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello,

I am working on LCD module and I want to implement two overlay windows on frame buffer. I have some queries related to this:

1. Can any buddy suggest me how to proceed towards it??
2. Is their any standard way to use frame buffer ioctl calls??
3. If i have to define my own ioctls then how application manage it??

Thanks and Regards
Vipul Samar

#1 lore raw

Hello,

I am working on LCD module and I want to implement two overlay windows on frame buffer. I have some queries related to this:

1. Can any body suggest me how to proceed towards it??
2. Is their any standard way to use frame buffer ioctl calls??
3. If i have to define my own ioctls then how application manage it??

Thanks and Regards
Vipul Samar

#2 lore raw
Quoted 4 lines · On Monday, May 02, 2011 13:04:59 vipul kumar samar wrote:

Hello,

I am working on LCD module and I want to implement two overlay windows on frame buffer. I have some queries related to this:

You mean capture overlay windows? E.g. you want to capture from a video input and have the video directly rendered in the framebuffer?

The "Video Overlay Interface" section in the V4L2 specification describes how to do that, but it also depends on whether the V4L2 driver in question supports that feature.

It might be that you mean something else, though.

Regards,

Hans

Quoted 13 lines

1. Can any body suggest me how to proceed towards it??
2. Is their any standard way to use frame buffer ioctl calls??
3. If i have to define my own ioctls then how application manage it??

Thanks and Regards
Vipul Samar
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

Hello,

Quoted 9 lines · Hans Verkuil
Quoted 4 lines · On Monday, May 02, 2011 13:04:59 vipul kumar samar wrote:

Hello,

I am working on LCD module and I want to implement two overlay windows on frame buffer. I have some queries related to this:

You mean capture overlay windows? E.g. you want to capture from a video input and have the video directly rendered in the framebuffer?

Our LCD driver is developed on frame buffer interface.Now i want to implement 2 overlay window support on the same driver.I saw the solution of frame buffer emulator provided on mailing list. But i am little bit confused.

My understanding is Frame buffer emulator provides a wrapper over V4L2 framework based driver and provide a single buffer solution.But my condition is reverse i want to use V4L2 over frame buffer.

Is it fruit full to rearrange frame buffer based driver in v4l2 framework and then implement overlay support over it?? Is there any simple way to use V4L2 frame work over frame buffer??

Thanks and Regards
Vipul Samar

Quoted 25 lines

The "Video Overlay Interface" section in the V4L2 specification describes how to do that, but it also depends on whether the V4L2 driver in question supports that feature.

It might be that you mean something else, though.

Regards,

Hans

Quoted 5 lines

1. Can any body suggest me how to proceed towards it??
2. Is their any standard way to use frame buffer ioctl calls??
3. If i have to define my own ioctls then how application manage it??

Quoted 8 lines

Thanks and Regards
Vipul Samar
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

.

#4 lore raw
Quoted 9 lines · On Tuesday, May 03, 2011 14:02:02 vipul kumar samar wrote:

Hello,

Quoted 7 lines · Hans Verkuil
Quoted 4 lines · On Monday, May 02, 2011 13:04:59 vipul kumar samar wrote:

Hello,

I am working on LCD module and I want to implement two overlay windows on frame buffer. I have some queries related to this:

You mean capture overlay windows? E.g. you want to capture from a video

input

Quoted 7 lines
Quoted 2 lines

and have the video directly rendered in the framebuffer?

Our LCD driver is developed on frame buffer interface.Now i want to implement 2 overlay window support on the same driver.I saw the solution of frame buffer emulator provided on mailing list. But i am little bit confused.

So am I :-)

Quoted 2 lines

My understanding is Frame buffer emulator provides a wrapper over V4L2 framework based driver and provide a single buffer solution.

Right.

Quoted 6 lines

But my
condition is reverse i want to use V4L2 over frame buffer.

Is it fruit full to rearrange frame buffer based driver in v4l2 framework and then implement overlay support over it?? Is there any simple way to use V4L2 frame work over frame buffer??

I still don't really understand what you want to do. You have a framebuffer, and you want to display video in the framebuffer? Or do you want to mix a framebuffer and a video output stream?

A block diagram of your hardware may help.

Regards,

Hans

Quoted 6 lines

Thanks and Regards
Vipul Samar

Quoted 1 line

The "Video Overlay Interface" section in the V4L2 specification describes

how

Quoted 26 lines
Quoted 24 lines

to do that, but it also depends on whether the V4L2 driver in question supports that feature.

It might be that you mean something else, though.

Regards,

Hans

Quoted 5 lines

1. Can any body suggest me how to proceed towards it??
2. Is their any standard way to use frame buffer ioctl calls??
3. If i have to define my own ioctls then how application manage it??

Quoted 8 lines

Thanks and Regards
Vipul Samar
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

.