FFmpeg: libavformat/allformats.c Source File
Go to the documentation of this file. 1 /*
2 * Register all the formats and protocols
3 * Copyright (c) 2000, 2001, 2002 Fabrice Bellard
4 *
5 * This file is part of FFmpeg.
6 *
7 * FFmpeg is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * FFmpeg is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with FFmpeg; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22 #include <stdatomic.h>
23 #include <stddef.h>
24 #include <stdint.h>
25
31
32 /* (de)muxers */
539 /* image demuxers */
576
577 /* external libraries */
585
586 #include "libavformat/muxer_list.c"
587 #include "libavformat/demuxer_list.c"
588
591
593 {
594 static const uintptr_t
size =
sizeof(muxer_list)/
sizeof(muxer_list[0]) - 1;
595 uintptr_t
i = (uintptr_t)*opaque;
598
603 f = outdev_list[
i -
size];
604 }
605
607 *opaque = (
void*)(
i + 1);
609 }
611 }
612
614 {
615 static const uintptr_t
size =
sizeof(demuxer_list)/
sizeof(demuxer_list[0]) - 1;
616 uintptr_t
i = (uintptr_t)*opaque;
619
625 }
626
628 *opaque = (
void*)(
i + 1);
630 }
632 }
633
635 {
638 }
intptr_t atomic_uintptr_t
#define atomic_load_explicit(object, order)
const AVInputFormat * av_demuxer_iterate(void **opaque)
Iterate over all registered demuxers.
#define i(width, name, range_min, range_max)
#define atomic_store_explicit(object, desired, order)
const AVOutputFormat * av_muxer_iterate(void **opaque)
Iterate over all registered muxers.
Generated on Thu Oct 16 2025 19:23:23 for FFmpeg by
doxygen
1.8.17