On Sun, 2007-12-02 at 09:45 +, [EMAIL PROTECTED] wrote:
> On Dec 2, 2007 3:51 AM, Binary Chen <[EMAIL PROTECTED]> wrote:
> > Do you know how you get the video memory address of the gdk drawable? I
> > want to use memcpy to do the copying, because the gdk-draw-rgb-image
> > can't be accessed dur
On Dec 2, 2007 4:10 AM, Binary Chen <[EMAIL PROTECTED]> wrote:
> My decoded image is RGB565 format, this function is RGB32 format,
> unfortunately my hardware also provides RGB565 capability... this means
> the system need to do a RGB565 -> RGB32 -> RGB565 transalation... quite
> unefficient.
>
> I
On Dec 2, 2007 3:51 AM, Binary Chen <[EMAIL PROTECTED]> wrote:
> Do you know how you get the video memory address of the gdk drawable? I
> want to use memcpy to do the copying, because the gdk-draw-rgb-image
> can't be accessed during two different threads.
X doesn't let you do this, because it ha
On Fri, 2007-11-30 at 11:31 +, [EMAIL PROTECTED] wrote:
> On Nov 30, 2007 2:45 AM, Bin Chen <[EMAIL PROTECTED]> wrote:
> > image, but I am not familiar with XLib, so I want to know if it is
> > possible to use pure GTK+ API to achieve this? What about the
> > performance comparing to use XLib d
On Fri, 2007-11-30 at 11:31 +, [EMAIL PROTECTED] wrote:
> On Nov 30, 2007 2:45 AM, Bin Chen <[EMAIL PROTECTED]> wrote:
> > image, but I am not familiar with XLib, so I want to know if it is
> > possible to use pure GTK+ API to achieve this? What about the
> > performance comparing to use XLib d
On 11/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On Nov 30, 2007 2:45 AM, Bin Chen <[EMAIL PROTECTED]> wrote:
> > image, but I am not familiar with XLib, so I want to know if it is
> > possible to use pure GTK+ API to achieve this? What about the
> > performance comparing to use XLib dir
On Nov 30, 2007 2:45 AM, Bin Chen <[EMAIL PROTECTED]> wrote:
> image, but I am not familiar with XLib, so I want to know if it is
> possible to use pure GTK+ API to achieve this? What about the
> performance comparing to use XLib directly?
You can use gdk_draw_rgb_image() to paint an RGB array to
Hi,
On Nov 30, 2007 3:45 AM, Bin Chen <[EMAIL PROTECTED]> wrote:
> I want to write a media(video) player using gtk+, I take a look at
> several existing project, they all use XWindow API to display decoded
> image.
Not that I am by any means any expert on media, but wouldn't gstreamer solve
a l
Hi,
I want to write a media(video) player using gtk+, I take a look at
several existing project, they all use XWindow API to display decoded
image, but I am not familiar with XLib, so I want to know if it is
possible to use pure GTK+ API to achieve this? What about the
performance comparing to use