hi,
i'm now using the old version of the video preview example and i'm compering it to the new one and i have some questions about them
- when i use the old version this is what calls the fuctions
process_image( (void*)(frameBuffPtr->frame.frameBufferPtr), 320, 720, 100, 200 );
the problem is that they dont go until the end of the screen but only 5 cm til it (image add (the function not working where the red squer points) http://img184.imageshack.us/my.php?image=snapshot20090105uc7.jpg )
to over come this problem i change the yRows from 320 to 380 but is it a soulution?
- in the example we see those functions:
for( xx = screenshift*3; xx < (((yRows * xPixels)*3)); xx+=1 ) //operate on both luma and chroma
and
for( xx = screenshift*3+1; xx < (yRows * xPixels)*3; xx+=2 )//operate only on luma
how can i see that the first is operate on both luma and chroma while the other operate only on luma?
- i have another problem, when i use the new video_preview the problem in the first question has gone although i didnt understand how?
but it seemes i had another problem that the original image became greyscale although the fuction that should dill with it is curently not working.
- another thing that i wanted to know is the purpese of this:
*L2WBINVregPtr = 0x1; //initiate a writeback/invalidate to all to the L2 cache
while( *L2WBINVregPtr != 0);
thanks alot for your help,
vadim