• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* ------------------------------------------------------------------
2  * Copyright (C) 1998-2009 PacketVideo
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13  * express or implied.
14  * See the License for the specific language governing permissions
15  * and limitations under the License.
16  * -------------------------------------------------------------------
17  */
18 /*********************************************************************************/
19 /*     -------------------------------------------------------------------       */
20 /*                          MPEG-4 Util: H263DecoderSpecificInfo                 */
21 /*     -------------------------------------------------------------------       */
22 /*********************************************************************************/
23 /*
24     H263DecoderSpecificInfo
25 */
26 
27 #ifndef H263DECODERSPECIFICINFO_H_INCLUDED
28 #define H263DECODERSPECIFICINFO_H_INCLUDED
29 
30 #ifndef ATOMDEFS_H_INCLUDED
31 #include "atomdefs.h"
32 #endif
33 
34 #ifndef DECODERSPECIFICINFO_H_INCLUDED
35 #include "decoderspecificinfo.h"
36 #endif
37 
38 
39 class H263DecoderSpecificInfo : public DecoderSpecificInfo
40 {
41 
42     public:
43         H263DecoderSpecificInfo(MP4_FF_FILE *fp, bool o3GPPTrack = false); // Default constructor
~H263DecoderSpecificInfo()44         virtual ~H263DecoderSpecificInfo() {}; // Destructor
45 
getVendorCode()46         uint32 getVendorCode()
47         {
48             return _VendorCode;
49         }
getEncoderVersion()50         int8  getEncoderVersion()
51         {
52             return _codec_version;
53         }
getCodecProfile()54         int8  getCodecProfile()
55         {
56             return _codec_profile;
57         }
getCodecLevel()58         int8  getCodecLevel()
59         {
60             return _codec_level;
61         }
getMaxWidth()62         int16 getMaxWidth()
63         {
64             return _max_width;
65         }
getMaxHeight()66         int16 getMaxHeight()
67         {
68             return _max_height;
69         }
70 
71 
72         uint32       _VendorCode;
73         uint8        _codec_version;
74         uint8        _codec_profile;
75         uint8        _codec_level;
76         uint16       _max_width;
77         uint16       _max_height;
78 };
79 
80 #endif  // H263DECODERSPECIFICINFO_H_INCLUDED
81 
82 
83