annotate dca.h @ 8968:b123ed268953 libavcodec

Instead of crashing, return from ff_vdpau_mpeg_picture_complete() if get_buffer() failed. Patch by Reimar
author cehoyos
date Wed, 18 Feb 2009 09:21:29 +0000
parents ee1b8c54a603
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4599
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
1 /*
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
2 * DCA compatible decoder
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
3 * Copyright (C) 2004 Gildas Bazin
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
4 * Copyright (C) 2004 Benjamin Zores
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
5 * Copyright (C) 2006 Benjamin Larsson
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
6 * Copyright (C) 2007 Konstantin Shishkov
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
7 *
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
8 * This file is part of FFmpeg.
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
9 *
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
10 * FFmpeg is free software; you can redistribute it and/or
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
11 * modify it under the terms of the GNU Lesser General Public
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
12 * License as published by the Free Software Foundation; either
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
13 * version 2.1 of the License, or (at your option) any later version.
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
14 *
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
15 * FFmpeg is distributed in the hope that it will be useful,
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
18 * Lesser General Public License for more details.
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
19 *
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
20 * You should have received a copy of the GNU Lesser General Public
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
21 * License along with FFmpeg; if not, write to the Free Software
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
23 */
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
24
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
25 #ifndef AVCODEC_DCA_H
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
26 #define AVCODEC_DCA_H
5163
9ecbfc0c82bf add multiple inclusion guards to headers
mru
parents: 4899
diff changeset
27
4599
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
28 /** DCA syncwords, also used for bitstream type detection */
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
29 #define DCA_MARKER_RAW_BE 0x7FFE8001
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
30 #define DCA_MARKER_RAW_LE 0xFE7F0180
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
31 #define DCA_MARKER_14B_BE 0x1FFFE800
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
32 #define DCA_MARKER_14B_LE 0xFF1F00E8
5163
9ecbfc0c82bf add multiple inclusion guards to headers
mru
parents: 4899
diff changeset
33
8226
ee1b8c54a603 Add support for parsing and decoding DCA-HD streams.
kostya
parents: 7760
diff changeset
34 /** DCA-HD specific block starts with this marker. */
ee1b8c54a603 Add support for parsing and decoding DCA-HD streams.
kostya
parents: 7760
diff changeset
35 #define DCA_HD_MARKER 0x64582025
ee1b8c54a603 Add support for parsing and decoding DCA-HD streams.
kostya
parents: 7760
diff changeset
36
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
37 #endif /* AVCODEC_DCA_H */