Hi,In Android 1.5, there are 2 parameters on ISurface::BufferHeap constructor named "width_stride" and "height_stride", which mark the dimension of the entire frame buffer in video playback. It is easy to understand these 2 parameters if the pixel format is RGB.
However, my question is if the pixel format is YUV420P, how am I supposed to understand the buffer layout? I mean how should I calculate the start and displayed length of Y/U/V respectively? Thanks in advance. --------------------- | Y | | | | (pad)| |----------| | |--------------------| | U | | |-----|(p) | |-----------| | V | | |-----|(p) | |-----------| -- Thanks, Andy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---