• 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     The contents of the PVA_FF_FreeSpaceAtom Class may be ignored, or the contents deleted
20     without affecting the presentation.
21 */
22 
23 
24 #ifndef __FreeSpaceAtom_H__
25 #define __FreeSpaceAtom_H__
26 
27 #include "atom.h"
28 
29 
30 class PVA_FF_FreeSpaceAtom : public PVA_FF_Atom
31 {
32 
33     public:
34         PVA_FF_FreeSpaceAtom(); // Constructor
35         PVA_FF_FreeSpaceAtom(PVA_FF_FreeSpaceAtom atom); // Copy Constructor
36         virtual ~PVA_FF_FreeSpaceAtom();
37 
38         // Adding empty data
39         void addData(); // Data doesn't matter so no need to pass in any value
getData()40         Oscl_Vector<uint8, OsclMemAllocator>* getData()
41         {
42             return _pdata;
43         }
44 
45         // Rendering the PVA_FF_Atom in proper format (bitlengths, etc.) to an ostream
46         virtual bool renderToFileStream(MP4_AUTHOR_FF_FILE_IO_WRAP *fp);
47 
48     private:
49         Oscl_Vector<uint8, OsclMemAllocator>* _pdata;
50 
51 };
52 
53 
54 #endif
55 
56