libdvbpsi  1.3.0
dr_1b.h
Go to the documentation of this file.
00001 /*
00002 Copyright (C) 2015 Daniel Kamil Kozar
00003 
00004 This library is free software; you can redistribute it and/or
00005 modify it under the terms of the GNU Lesser General Public
00006 License as published by the Free Software Foundation; either
00007 version 2.1 of the License, or (at your option) any later version.
00008 
00009 This library is distributed in the hope that it will be useful,
00010 but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012 Lesser General Public License for more details.
00013 
00014 You should have received a copy of the GNU Lesser General Public
00015 License along with this library; if not, write to the Free Software
00016 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00017 */
00018 
00030 #ifndef _DVBPSI_DR_1B_H_
00031 #define _DVBPSI_DR_1B_H_
00032 
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif
00036 
00049 typedef enum dvbpsi_mpeg4_visual_profile_and_level_s
00050 {
00051     DVBPSI_MPEG4V_PROFILE_SIMPLE_L1 = 0x01, 
00052     DVBPSI_MPEG4V_PROFILE_SIMPLE_L2 = 0x02, 
00053     DVBPSI_MPEG4V_PROFILE_SIMPLE_L3 = 0x03, 
00054     /* 0x04 - 0x10 : Reserved */
00055     DVBPSI_MPEG4V_PROFILE_SIMPLE_SCALABLE_L1 = 0x11, 
00056     DVBPSI_MPEG4V_PROFILE_SIMPLE_SCALABLE_L2 = 0x12, 
00057     /* 0x13 - 0x20 : Reserved */
00058     DVBPSI_MPEG4V_PROFILE_CORE_L1 = 0x21, 
00059     DVBPSI_MPEG4V_PROFILE_CORE_L2 = 0x22, 
00060     /* 0x23 - 0x31 : Reserved */
00061     DVBPSI_MPEG4V_PROFILE_MAIN_L2 = 0x32, 
00062     DVBPSI_MPEG4V_PROFILE_MAIN_L3 = 0x33, 
00063     DVBPSI_MPEG4V_PROFILE_MAIN_L4 = 0x34, 
00064     /* 0x35 - 0x41 : Reserved */
00065     DVBPSI_MPEG4V_PROFILE_N_BIT_L2 = 0x42, 
00066     /* 0x43 - 0x50 : Reserved */
00067     DVBPSI_MPEG4V_PROFILE_SCALABLE_TEXTURE_L1 = 0x51, 
00068     /* 0x52 - 0x60 : Reserved */
00069     DVBPSI_MPEG4V_PROFILE_SIMPLE_FACE_ANIMATION_L1 = 0x61, 
00070     DVBPSI_MPEG4V_PROFILE_SIMPLE_FACE_ANIMATION_L2 = 0x62, 
00071     DVBPSI_MPEG4V_PROFILE_SIMPLE_FBA_L1 = 0x63, 
00072     DVBPSI_MPEG4V_PROFILE_SIMPLE_FBA_L2 = 0x64, 
00073     /* 0x65 - 0x70 : Reserved */
00074     DVBPSI_MPEG4V_PROFILE_BASIC_ANIMATED_TEXTURE_L1 = 0x71, 
00075     DVBPSI_MPEG4V_PROFILE_BASIC_ANIMATED_TEXTURE_L2 = 0x72, 
00076     /* 0x73 - 0x80 : Reserved */
00077     DVBPSI_MPEG4V_PROFILE_HYBRID_L1 = 0x81, 
00078     DVBPSI_MPEG4V_PROFILE_HYBRID_L2 = 0x82, 
00079     /* 0x83 - 0x90 : Reserved */
00080     DVBPSI_MPEG4V_PROFILE_ADV_REAL_TIME_SIMPLE_L1 = 0x91, 
00081     DVBPSI_MPEG4V_PROFILE_ADV_REAL_TIME_SIMPLE_L2 = 0x92, 
00082     DVBPSI_MPEG4V_PROFILE_ADV_REAL_TIME_SIMPLE_L3 = 0x93, 
00083     DVBPSI_MPEG4V_PROFILE_ADV_REAL_TIME_SIMPLE_L4 = 0x94, 
00084     /* 0x95 - 0xa0 : Reserved */
00085     DVBPSI_MPEG4V_PROFILE_CORE_SCALABLE_L1 = 0xa1, 
00086     DVBPSI_MPEG4V_PROFILE_CORE_SCALABLE_L2 = 0xa2, 
00087     DVBPSI_MPEG4V_PROFILE_CORE_SCALABLE_L3 = 0xa3, 
00088     /* 0xa4 - 0xb0 : Reserved */
00089     DVBPSI_MPEG4V_PROFILE_ADV_CODING_EFF_L1 = 0xb1, 
00090     DVBPSI_MPEG4V_PROFILE_ADV_CODING_EFF_L2 = 0xb2, 
00091     DVBPSI_MPEG4V_PROFILE_ADV_CODING_EFF_L3 = 0xb3, 
00092     DVBPSI_MPEG4V_PROFILE_ADV_CODING_EFF_L4 = 0xb4, 
00093     /* 0xb5 - 0xc0 : Reserved */
00094     DVBPSI_MPEG4V_PROFILE_ADV_CORE_L1 = 0xc1, 
00095     DVBPSI_MPEG4V_PROFILE_ADV_CORE_L2 = 0xc2, 
00096     /* 0xc3 - 0xd0 : Reserved */
00097     DVBPSI_MPEG4V_PROFILE_ADV_SCALABLE_TEXTURE_L1 = 0xd1, 
00098     DVBPSI_MPEG4V_PROFILE_ADV_SCALABLE_TEXTURE_L2 = 0xd2, 
00099     DVBPSI_MPEG4V_PROFILE_ADV_SCALABLE_TEXTURE_L3 = 0xd3, 
00100     /* 0xd4 - 0xff : Reserved */
00101     DVBPSI_MPEG4V_PROFILE_LAST = 0xff, /* enforce enum size. */
00102 } dvbpsi_mpeg4_visual_profile_and_level_t;
00103 
00116 typedef struct dvbpsi_mpeg4_video_dr_s
00117 {
00119     dvbpsi_mpeg4_visual_profile_and_level_t    i_mpeg4_visual_profile_and_level;
00120 } dvbpsi_mpeg4_video_dr_t;
00121 
00128 dvbpsi_mpeg4_video_dr_t* dvbpsi_DecodeMPEG4VideoDr(
00129                                       dvbpsi_descriptor_t * p_descriptor);
00130 
00136 dvbpsi_descriptor_t * dvbpsi_GenMPEG4VideoDr(
00137                                       dvbpsi_mpeg4_video_dr_t * p_decoded);
00138 
00139 #ifdef __cplusplus
00140 }
00141 #endif
00142 
00143 #else
00144 #error "Multiple inclusions of dr_1b.h"
00145 #endif