• 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 /* PASP Box is used to contain the Horizontal and vertical spacing */
20 
21 #ifndef PASPBOX_H_INCLUDED
22 #define PASPBOX_H_INCLUDED
23 
24 
25 
26 #include "atom.h"
27 #include "atomutils.h"
28 #include "oscl_file_io.h"
29 
30 class PASPBox : public Atom
31 {
32     public:
33         PASPBox(MP4_FF_FILE *fp, uint32 size, uint32 type);
~PASPBox()34         virtual ~PASPBox() {};
35 
getHspacing()36         uint32 getHspacing()
37         {
38             return _hSpacing;
39         }
getVspacing()40         uint32 getVspacing()
41         {
42             return _vSpacing;
43         }
44 
45 
46     private:
47         uint32 _hSpacing;
48         uint32 _vSpacing;
49 
50 };
51 
52 
53 #endif //End of PASPBOX_H_INCLUDED
54 
55