On Sun, 27 May 2007 20:28:46 -0400 Jason Tackaberry <[EMAIL PROTECTED]> babbled:

> Hi,
> 
> There seems to be a problem with the GL engine given an evas image in
> YUV colorspace when setting data via evas_object_image_data_set() if the
> stride of the data does not equal the image's width.  (By this I mean
> that where data is treated as an array of pointers, given any two
> consecutive pointers, if p1-p0 > width then the problem occurs.)

thats interesting. i swear i handled this properly. when videos are of ODD
width size this would happen - mplayer and xine both had the bug but i made
that work in emotion/evas - the code literally checks to see if the plane
pointers do all line up continuously and if so shortcuts the texture upload to
a singly put call - if not it needs to do 1 put per line. let me check when i
get home.

> The problem exhibits itself as diagonal banding in what appears to be
> one or both of the chroma planes.  (Luma plane is fine.)  The problem is
> not present with the software engine, which at least likely rules out
> anything I'm doing wrong. :)

something in the texture uploader for yuv... definitely.

> Concerning the YUV image colorspace stuff, aside from this problem it
> works wonderfully.  I'm really very impressed; and with GL engine it is
> damn fast. :)

it should be ^ given any fragment-shader glsl capable card. i've found an nv
6xxx and on is needed for this , but its enough to play full hd video on a
fairly mediocre machine. software also works - just its going to consume more
cpu. it does make evas viable for a full video ui including the video itself
any osd elements on top of the video or under it etc - i.e. - rage. :)

> On an unrelated note (too lazy to send a separate email), I'm observing
> that when I set alpha=0 on an image that I'm updating with
> evas_object_image_data_set (it is video), subsequently setting alpha=255
> only ends up showing the image as a black rectangle, even as the image

odd...

> continues to be updated with data_set().  The colorspace of the image
> not relevant with this problem, nor is the has_alpha value.  This
> happens with 0.9.9.038 and cvs, using both GL and software engines.  Is
> this a known issue or have I been caught by a common gotcha?

unknown issue. i'll take a look. what is the FULL color you are setting it to
though?

> Thanks,
> Jason.
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to