1 /* 2 * This file is part of mpv. 3 * 4 * mpv is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2.1 of the License, or (at your option) any later version. 8 * 9 * mpv is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with mpv. If not, see <http://www.gnu.org/licenses/>. 16 */ 17 18 #ifndef MP_CODEC_TAGS_H 19 #define MP_CODEC_TAGS_H 20 21 #include <stdint.h> 22 #include <stdbool.h> 23 24 struct mp_codec_params; 25 26 void mp_set_codec_from_tag(struct mp_codec_params *c); 27 28 void mp_set_pcm_codec(struct mp_codec_params *c, bool sign, bool is_float, 29 int bits, bool is_be); 30 31 const char *mp_map_mimetype_to_video_codec(const char *mimetype); 32 33 #endif 34