comparison vc1.h @ 4927:270c8a34f234 libavcodec

Make vc1_parser.c compilable without special defines
author kostya
date Sun, 06 May 2007 11:01:25 +0000
parents 194f4ced7c50
children 9ecbfc0c82bf
comparison
equal deleted inserted replaced
4926:194f4ced7c50 4927:270c8a34f234
18 * You should have received a copy of the GNU Lesser General Public 18 * You should have received a copy of the GNU Lesser General Public
19 * License along with FFmpeg; if not, write to the Free Software 19 * License along with FFmpeg; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 */ 21 */
22 22
23 #include "avcodec.h"
24 #include "mpegvideo.h"
25
23 /** Markers used in VC-1 AP frame data */ 26 /** Markers used in VC-1 AP frame data */
24 //@{ 27 //@{
25 enum VC1Code{ 28 enum VC1Code{
26 VC1_CODE_RES0 = 0x00000100, 29 VC1_CODE_RES0 = 0x00000100,
27 VC1_CODE_ENDOFSEQ = 0x0000010A, 30 VC1_CODE_ENDOFSEQ = 0x0000010A,
33 }; 36 };
34 //@} 37 //@}
35 38
36 #define IS_MARKER(x) (((x) & ~0xFF) == VC1_CODE_RES0) 39 #define IS_MARKER(x) (((x) & ~0xFF) == VC1_CODE_RES0)
37 40
38 #ifndef VC1_PARSER_ONLY
39 /** Available Profiles */ 41 /** Available Profiles */
40 //@{ 42 //@{
41 enum Profile { 43 enum Profile {
42 PROFILE_SIMPLE, 44 PROFILE_SIMPLE,
43 PROFILE_MAIN, 45 PROFILE_MAIN,
296 //@} 298 //@}
297 299
298 int p_frame_skipped; 300 int p_frame_skipped;
299 int bi_type; 301 int bi_type;
300 } VC1Context; 302 } VC1Context;
301 #endif