search for: plotinka

Displaying 4 results from an estimated 4 matches for "plotinka".

Did you mean: ploting
2005 Mar 14
1
question from beginner (YCbCr to RGB)
Hello, i'm sorry for my English is not good. I need help with convert yuv_buffer data (YCbCr) to RGB without SDL. I write: BYTE *frame=new BYTE[YUV_BUFFER.y_height*YUV_BUFFER.y_width*4]; for(int cc=0; cc<YUV_BUFFER.y_height*YUV_BUFFER.y_width; cc++) { frame[cc*4+0]=YUV_BUFFER.y[cc]+1.371*(YUV_BUFFER.v[cc]-128);
2005 Sep 27
1
Question about number of frames in ogg/theora video file.
Hello. How can I tell the number of frames in ogg/theora video file, without actually reading the file? Or, how can I tell its playing time (which is basically the same thing). I didn't find the information in THEORA_STATE, THEORA_INFO, but with the codec installed (illuminable oggcodecs), Windows Media Player shows the ogg/theora file playing time, before it starts playing the file.
2005 May 30
1
Question about MVect in decode.c
Good day! Could you please explain me the following: In case of playback of video stream theora, MS Visual Studio .NET 2003 shows a warning message in every frame about the usage of not initialized variable MVect in the file decode.c (run-time check). In case of key-frames playback no warning appears. When I disable the run-time check, the video stream plays normally, but it is undesirable.
2005 Jun 22
1
Questions about efficiency.
Good afternoon! Thanks for the previous answers, now there was a question of efficiency. I use the formula of transformation YUV12->RGB: float r = nY + 1.371f * ( nV - 128 ); float g = nY - 0.698f * ( nV - 128 ) - 0.336f * ( nU - 128 ); float b = nY + 1.732f * ( nU - 128 ); frame[index + 0] = ClampFloatToByte( r ); frame[index + 1] = ClampFloatToByte(