| 
																	
																	
																		
																	
																	
																 | 
																@@ -150,7 +150,7 @@ static void copy_picture_field(AVFrame *src_frame, AVFrame *dst_frame, | 
															
														
														
													
														
															
																 | 
																 | 
																                    srcp_below = srcp; // there is no line below | 
																 | 
																 | 
																                    srcp_below = srcp; // there is no line below | 
															
														
														
													
														
															
																 | 
																 | 
																                for (i = 0; i < linesize; i++) { | 
																 | 
																 | 
																                for (i = 0; i < linesize; i++) { | 
															
														
														
													
														
															
																 | 
																 | 
																                    // this calculation is an integer representation of | 
																 | 
																 | 
																                    // this calculation is an integer representation of | 
															
														
														
													
														
															
																 | 
																 | 
																                    // '0.5 * current + 0.25 * above + 0.25 + below' | 
																 | 
																 | 
																 | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																                    // '0.5 * current + 0.25 * above + 0.25 * below' | 
															
														
														
													
														
															
																 | 
																 | 
																                    // '1 +' is for rounding. | 
																 | 
																 | 
																                    // '1 +' is for rounding. | 
															
														
														
													
														
															
																 | 
																 | 
																                    dstp[i] = (1 + srcp[i] + srcp[i] + srcp_above[i] + srcp_below[i]) >> 2; | 
																 | 
																 | 
																                    dstp[i] = (1 + srcp[i] + srcp[i] + srcp_above[i] + srcp_below[i]) >> 2; | 
															
														
														
													
														
															
																 | 
																 | 
																                } | 
																 | 
																 | 
																                } | 
															
														
														
													
												
													
														
															
																| 
																	
																		
																	
																	
																	
																 | 
																
  |