[FFmpeg-soc] [soc]: r1119 - rv40/rv40.c
kostya
subversion at mplayerhq.hu
Tue Aug 21 08:14:11 CEST 2007
Author: kostya
Date: Tue Aug 21 08:14:11 2007
New Revision: 1119
Log:
Simplify condition
Modified:
rv40/rv40.c
Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c (original)
+++ rv40/rv40.c Tue Aug 21 08:14:11 2007
@@ -853,17 +853,12 @@ static void rv40_pred_mv(RV40DecContext
B[1] = A[1];
}
if(no_C){
- if(no_B){
+ if(no_B || no_A){
C[0] = A[0];
C[1] = A[1];
}else{
- if(!no_A){
- C[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride-1][0];
- C[1] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride-1][1];
- }else{
- C[0] = A[0];
- C[1] = A[1];
- }
+ C[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride-1][0];
+ C[1] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride-1][1];
}
}
mx = mid_pred(A[0], B[0], C[0]);
More information about the FFmpeg-soc
mailing list