[svn] / branches / dev-api-4 / xvidcore / src / bitstream / bitstream.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/bitstream/bitstream.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 946, Wed Mar 26 10:39:53 2003 UTC revision 947, Wed Mar 26 10:47:59 2003 UTC
# Line 1130  Line 1130 
1130          static const unsigned int vol_id = 0;          static const unsigned int vol_id = 0;
1131          int vol_ver_id=1;          int vol_ver_id=1;
1132          int profile = 0x03;     /* simple profile/level 3 */          int profile = 0x03;     /* simple profile/level 3 */
1133        int vol_type_ind=VIDOBJLAY_TYPE_SIMPLE;
1134    
1135          if ( (pParam->vol_flags & XVID_QUARTERPEL) ||          if ( (pParam->vol_flags & XVID_QUARTERPEL) ||
1136           (pParam->vol_flags & XVID_GMC) ||           (pParam->vol_flags & XVID_GMC) ||
1137                   (pParam->vol_flags & XVID_REDUCED_ENABLE))                   (pParam->vol_flags & XVID_REDUCED_ENABLE))
1138                  vol_ver_id = 2;                  vol_ver_id = 2;
1139    
1140          if ((pParam->vol_flags & XVID_REDUCED_ENABLE))      if ((pParam->vol_flags & XVID_REDUCED_ENABLE)) {
1141                  profile = 0x93; /* advanced realtime simple profile/level 3 */                  profile = 0x93; /* advanced realtime simple profile/level 3 */
1142            vol_type_ind = VIDOBJLAY_TYPE_ART_SIMPLE;
1143        }
1144    
1145          if ((pParam->vol_flags & XVID_QUARTERPEL) ||          if ((pParam->vol_flags & XVID_QUARTERPEL) ||
1146          (pParam->vol_flags & XVID_GMC))          (pParam->vol_flags & XVID_GMC)) {
1147                  profile = 0xf3; /* advanced simple profile/level 2 */                  profile = 0xf3; /* advanced simple profile/level 2 */
1148            vol_type_ind = VIDOBJLAY_TYPE_ASP;
1149        }
1150    
1151          // visual_object_sequence_start_code          // visual_object_sequence_start_code
1152  //      BitstreamPad(bs);  //      BitstreamPad(bs);

Legend:
Removed from v.946  
changed lines
  Added in v.947

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4