SchroVideoFormatEnum ff_get_schro_video_format_preset(AVCodecContext *avctx)

{

    unsigned int num_formats = sizeof(ff_schro_video_formats) /

                               sizeof(ff_schro_video_formats[0]);



    unsigned int idx = get_video_format_idx(avctx);



    return (idx < num_formats) ? ff_schro_video_formats[idx] :

                                 SCHRO_VIDEO_FORMAT_CUSTOM;

}

SchroVideoFormatEnum ff_get_schro_video_format_preset(AVCodecContext *avctx)

{

    unsigned int num_formats = sizeof(ff_schro_video_formats) /

                               sizeof(ff_schro_video_formats[0]);



    unsigned int idx = get_video_format_idx(avctx);



    return (idx < num_formats) ? ff_schro_video_formats[idx] :

                                 SCHRO_VIDEO_FORMAT_CUSTOM;

}

SchroVideoFormatEnum ff_get_schro_video_format_preset(AVCodecContext *avctx)     unsigned int num_formats = sizeof(ff_schro_video_formats) /                                sizeof(ff_schro_video_formats[0]);     unsigned int idx = get_video_format_idx(avctx);     return (idx < num_formats) ? ff_schro_video_formats[idx] :                                  SCHRO_VIDEO_FORMAT_CUSTOM;
SchroVideoFormatEnum FUNC_0(AVCodecContext *avctx)

{

    unsigned int VAR_0 = sizeof(ff_schro_video_formats) /

                               sizeof(ff_schro_video_formats[0]);



    unsigned int VAR_1 = get_video_format_idx(avctx);



    return (VAR_1 < VAR_0) ? ff_schro_video_formats[VAR_1] :

                                 SCHRO_VIDEO_FORMAT_CUSTOM;

}

SchroVideoFormatEnum FUNC_0(AVCodecContext *avctx)
{ unsigned int VAR_0 = sizeof(ff_schro_video_formats) /
sizeof(ff_schro_video_formats[0]); unsigned int VAR_1 = get_video_format_idx(avctx); return (VAR_1 < VAR_0) ? ff_schro_video_formats[VAR_1] :
SCHRO_VIDEO_FORMAT_CUSTOM; }