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 Mpeg4MediaHeaderAtom Class */ 21 /* ------------------------------------------------------------------- */ 22 /*********************************************************************************/ 23 /* 24 This Mpeg4MediaHeaderAtom Class is for streams other than visual and audio. 25 */ 26 27 28 #ifndef MPEG4MEDIAHEADERATOM_H_INCLUDED 29 #define MPEG4MEDIAHEADERATOM_H_INCLUDED 30 31 #ifndef OSCL_FILE_IO_H_INCLUDED 32 #include "oscl_file_io.h" 33 #endif 34 35 #ifndef MEDIAINFORMATIONHEADERATOM_H_INCLUDED 36 #include "mediainformationheaderatom.h" 37 #endif 38 39 class Mpeg4MediaHeaderAtom : public MediaInformationHeaderAtom 40 { 41 42 public: 43 Mpeg4MediaHeaderAtom(MP4_FF_FILE *fp, 44 uint32 mediaType, 45 uint32 size, 46 uint32 type); 47 48 virtual ~Mpeg4MediaHeaderAtom(); 49 50 virtual uint32 getMediaInformationHeaderType() const; 51 52 53 private: 54 uint32 _mediaType; // DO NOT RENDER THIS VALUE!!! (Only for internal purposes) 55 }; 56 57 58 #endif // MPEG4MEDIAHEADERATOM_H_INCLUDED 59 60