Update contrib.
1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
11 // Contributors: Nokia Corporation
13 // Description: Internal utility functions used by the 3GP library.
19 #include <3gplibrary/mp4lib.h>
22 * Returns true if the given video type is equal to any one of the
23 * supported AVC profiles.
24 * The supported AVC profiles are:
25 * MP4_TYPE_AVC_PROFILE_BASELINE
26 * MP4_TYPE_AVC_PROFILE_MAIN
27 * MP4_TYPE_AVC_PROFILE_EXTENDED
28 * MP4_TYPE_AVC_PROFILE_HIGH
30 * @param videotype The video type to be checked
32 * @return true if videotype is a supported AVC profile, false otherwise.
34 inline mp4_bool isAvcVideo( mp4_u32 videotype );
37 * Returns true if the given audio/video type has flags corresponding
38 * to any of the supported AVC profiles set.
39 * The supported AVC profiles are:
40 * MP4_TYPE_AVC_PROFILE_BASELINE
41 * MP4_TYPE_AVC_PROFILE_MAIN
42 * MP4_TYPE_AVC_PROFILE_EXTENDED
43 * MP4_TYPE_AVC_PROFILE_HIGH
45 * @param type The audio/video type to be checked
47 * @return true if type has bits corresponding to supported AVC profiles set,
50 inline mp4_bool containsAvcVideo( mp4_u32 type );
53 #include "mp4utils.inl"