2 * Copyright (C) 2008 Andrzej Zaborowski <balrog@zabor.org>
4 * This file is part of MPlayer.
6 * MPlayer is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 or (at your option)
9 * version 3 of the License.
11 * MPlayer is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 #ifndef MPLAYER_MPEG4_HDR_H
21 #define MPLAYER_MPEG4_HDR_H
24 * We redefine mp_mpeg_header_t and VOL/VOP decoding functions, which
25 * are already in "libmpdemux/mpeg_hdr.h" because they discard most of the
26 * important info while parsing.
28 typedef struct mp_mpeg_header_s
{
41 int data_partitioning
;
58 int valid_vop
, valid_vol
;
62 int mp4_header_process_vol(mp_mpeg_header_t
*picture
, uint8_t **buffer
);
63 int mp4_header_process_vop(mp_mpeg_header_t
*picture
, uint8_t **buffer
);
66 #endif /* MPLAYER_MPEG4_HDR_H */