static SDL_VoutOverlay *func_create_overlay_l(int width, int height, Uint32 format, SDL_Vout *vout) { switch (format) { case SDL_FCC__AMC: return SDL_VoutAMediaCodec_CreateOverlay(width, height, format, vout); default: return SDL_VoutFFmpeg_CreateOverlay(width, height, format, vout); } }
static SDL_VoutOverlay *func_create_overlay_l(int width, int height, int frame_format, SDL_Vout *vout) { switch (frame_format) { case IJK_AV_PIX_FMT__ANDROID_MEDIACODEC: return SDL_VoutAMediaCodec_CreateOverlay(width, height, vout); default: return SDL_VoutFFmpeg_CreateOverlay(width, height, frame_format, vout); } }