SDL_Overlay and yuv

Hi,

I have .yuv file from decoder library, and want to know how to code it
in SDL library.
I had tried it in SDL library, it could display the yuv file, but
couldn’t displayed it with decoder library directly(i.e. without yuv
file).

TIA

Hi,
I try to kill my previous stupid question,

The video decoder library with SDL(TVDLWS) works fine with my embedded board,
It is too easy to play yuv file.

TVDLWS produce yuv file through pUint8(* Uint8) type variable.

Now my question is how to use the pUint8 variable with SDL library?

Any hint that very appreciated!
TIA

2006/8/16, l l <@l_l>:> Hi,

I have .yuv file from decoder library, and want to know how to code it
in SDL library.
I had tried it in SDL library, it could display the yuv file, but
couldn’t displayed it with decoder library directly(i.e. without yuv
file).

TIA

Hi, it’s me again.

Now, i solved how to use pUint8 type variable(actually pVoid) with
SDL, And i have another problem…

Displayed yuv frame has very bad flickering, this was solved when i
was using it with fread() method.
But i don’t know how i know time when the frame filling is done…

Sorry my bad english, my mother language is korean…

TIA

2006/8/17, l l <@l_l>:> Hi,

I try to kill my previous stupid question,

The video decoder library with SDL(TVDLWS) works fine with my embedded
board,
It is too easy to play yuv file.

TVDLWS produce yuv file through pUint8(* Uint8) type variable.

Now my question is how to use the pUint8 variable with SDL library?

Any hint that very appreciated!
TIA

2006/8/16, l l <@l_l>:

Hi,

I have .yuv file from decoder library, and want to know how to code it
in SDL library.
I had tried it in SDL library, it could display the yuv file, but
couldn’t displayed it with decoder library directly(i.e. without yuv
file).

TIA

Sorry it turned out that was my mistake, taken sdl_init out of do~while loop…

TIA.

2006/8/21, l l <@l_l>:> Hi, it’s me again.

Now, i solved how to use pUint8 type variable(actually pVoid) with
SDL, And i have another problem…

Displayed yuv frame has very bad flickering, this was solved when i
was using it with fread() method.
But i don’t know how i know time when the frame filling is done…

Sorry my bad english, my mother language is korean…

TIA

2006/8/17, l l <@l_l>:

Hi,
I try to kill my previous stupid question,

The video decoder library with SDL(TVDLWS) works fine with my embedded
board,
It is too easy to play yuv file.

TVDLWS produce yuv file through pUint8(* Uint8) type variable.

Now my question is how to use the pUint8 variable with SDL library?

Any hint that very appreciated!
TIA

2006/8/16, l l <@l_l>:

Hi,

I have .yuv file from decoder library, and want to know how to code it
in SDL library.
I had tried it in SDL library, it could display the yuv file, but
couldn’t displayed it with decoder library directly(i.e. without yuv
file).

TIA