SDL2.0 Along with YUV Format in android?

Hi all,

I have been trying to stream video from ffmpeg to SDL2.0 Texture.

My question is:

  1. Can YUV format can be rendered?
    does this SDL_UpdateYUVTexture ? API suffice to do that, after converting the raw data into YUV Fomat by sws_scale?

OR do we need to go with different approach?

KIndly help me.