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 #ifndef GPP_H263DECODERSPECIFICINFO_H_INCLUDED 19 #define GPP_H263DECODERSPECIFICINFO_H_INCLUDED 20 21 #ifndef OSCL_STRING_CONTAINERS_H_INCLUDED 22 #include "oscl_string_containers.h" 23 #endif 24 25 #ifndef ATOM_H_INCLUDED 26 #include "atom.h" 27 #endif 28 #ifndef ATOMDEFS_H_INCLUDED 29 #include "atomdefs.h" 30 #endif 31 32 33 class H263SpecficAtom : public Atom 34 { 35 36 public: 37 H263SpecficAtom(MP4_FF_FILE *fp, uint32 size, uint32 type); // Default constructor 38 virtual ~H263SpecficAtom() {}; // Destructor 39 40 uint32 getVendorCode() 41 { 42 return _VendorCode; 43 } 44 int8 getDecoderVersion() 45 { 46 return _decoder_version; 47 } 48 int8 getCodecLevel() 49 { 50 return _codec_level; 51 } 52 int8 getCodecProfile() 53 { 54 return _codec_profile; 55 } 56 uint32 getAverageBitRate() 57 { 58 return _averageBitRate; 59 } 60 uint32 getMaxBitRate() 61 { 62 return _maxBitRate; 63 } 64 65 66 67 private: 68 uint32 _VendorCode; 69 uint8 _decoder_version; 70 uint8 _codec_profile; 71 uint8 _codec_level; 72 uint32 _averageBitRate; 73 uint32 _maxBitRate; 74 75 }; 76 77 #endif // GPP_H263DECODERSPECIFICINFO_H_INCLUDED 78