/* * Copyright (c) 2013 Vittorio Giovara <vittorio.giovara@gmail.com> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
constchar *av_stereo3d_type_name(unsignedint type)
{ if (type >= FF_ARRAY_ELEMS(stereo3d_type_names)) return"unknown";
return stereo3d_type_names[type];
}
int av_stereo3d_from_name(constchar *name)
{ int i;
for (i = 0; i < FF_ARRAY_ELEMS(stereo3d_type_names); i++) { if (av_strstart(name, stereo3d_type_names[i], NULL)) return i;
}
return -1;
}
constchar *av_stereo3d_view_name(unsignedint view)
{ if (view >= FF_ARRAY_ELEMS(stereo3d_view_names)) return"unknown";
return stereo3d_view_names[view];
}
int av_stereo3d_view_from_name(constchar *name)
{ int i;
for (i = 0; i < FF_ARRAY_ELEMS(stereo3d_view_names); i++) { if (av_strstart(name, stereo3d_view_names[i], NULL)) return i;
}
return -1;
}
constchar *av_stereo3d_primary_eye_name(unsignedint eye)
{ if (eye >= FF_ARRAY_ELEMS(stereo3d_primary_eye_names)) return"unknown";
return stereo3d_primary_eye_names[eye];
}
int av_stereo3d_primary_eye_from_name(constchar *name)
{ int i;
for (i = 0; i < FF_ARRAY_ELEMS(stereo3d_primary_eye_names); i++) { if (av_strstart(name, stereo3d_primary_eye_names[i], NULL)) return i;
}
return -1;
}
Messung V0.5
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.14Bemerkung:
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.