}
if (pic_param->sequence_fields.bits.overlap) {
- if (profile != GEN6_VC1_ADVANCED_PROFILE) {
- if (pic_param->pic_quantizer_fields.bits.pic_quantizer_scale >= 9 &&
- picture_type != GEN6_VC1_B_PICTURE) {
- overlap = 1;
- }
- } else {
+ if (profile == GEN6_VC1_ADVANCED_PROFILE) {
if (picture_type == GEN6_VC1_P_PICTURE &&
pic_param->pic_quantizer_fields.bits.pic_quantizer_scale >= 9) {
overlap = 1;
overlap = 1;
}
}
+ } else {
+ if (pic_param->pic_quantizer_fields.bits.pic_quantizer_scale >= 9 &&
+ picture_type != GEN6_VC1_B_PICTURE) {
+ overlap = 1;
+ }
}
}
}
if (pic_param->sequence_fields.bits.overlap) {
- if (profile != GEN7_VC1_ADVANCED_PROFILE) {
- if (pic_param->pic_quantizer_fields.bits.pic_quantizer_scale >= 9 &&
- picture_type != GEN7_VC1_B_PICTURE) {
- overlap = 1;
- }
- } else {
+ if (profile == GEN7_VC1_ADVANCED_PROFILE) {
if (picture_type == GEN7_VC1_P_PICTURE &&
pic_param->pic_quantizer_fields.bits.pic_quantizer_scale >= 9) {
overlap = 1;
overlap = 1;
}
}
+ } else {
+ if (pic_param->pic_quantizer_fields.bits.pic_quantizer_scale >= 9 &&
+ picture_type != GEN7_VC1_B_PICTURE) {
+ overlap = 1;
+ }
}
}
}
if (pic_param->sequence_fields.bits.overlap) {
- if (profile != GEN7_VC1_ADVANCED_PROFILE) {
- if (pic_param->pic_quantizer_fields.bits.pic_quantizer_scale >= 9 &&
- picture_type != GEN7_VC1_B_PICTURE) {
- overlap = 1;
- }
- } else {
+ if (profile == GEN7_VC1_ADVANCED_PROFILE) {
if (picture_type == GEN7_VC1_P_PICTURE &&
pic_param->pic_quantizer_fields.bits.pic_quantizer_scale >= 9) {
overlap = 1;
overlap = 1;
}
}
+ } else {
+ if (pic_param->pic_quantizer_fields.bits.pic_quantizer_scale >= 9 &&
+ picture_type != GEN7_VC1_B_PICTURE) {
+ overlap = 1;
+ }
}
}
}
if (pic_param->sequence_fields.bits.overlap) {
- if (profile != GEN7_VC1_ADVANCED_PROFILE) {
- if (pic_param->pic_quantizer_fields.bits.pic_quantizer_scale >= 9 &&
- picture_type != GEN7_VC1_B_PICTURE) {
- overlap = 1;
- }
- } else {
+ if (profile == GEN7_VC1_ADVANCED_PROFILE) {
if (picture_type == GEN7_VC1_P_PICTURE &&
pic_param->pic_quantizer_fields.bits.pic_quantizer_scale >= 9) {
overlap = 1;
overlap = 1;
}
}
+ } else {
+ if (pic_param->pic_quantizer_fields.bits.pic_quantizer_scale >= 9 &&
+ picture_type != GEN7_VC1_B_PICTURE) {
+ overlap = 1;
+ }
}
}