mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 09:48:24 +02:00
Videolan-Client gebaut.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@888 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
31
src/patches/ffmpeg-0.4.9-pre1-gcc4-2.patch
Normal file
31
src/patches/ffmpeg-0.4.9-pre1-gcc4-2.patch
Normal file
@@ -0,0 +1,31 @@
|
||||
--- libavcodec/libpostproc/postprocess_template.orig.c 2005-05-04 00:13:55.809595776 -0400
|
||||
+++ libavcodec/libpostproc/postprocess_template.c 2005-05-04 00:17:44.090891744 -0400
|
||||
@@ -2646,7 +2646,7 @@
|
||||
* accurate deblock filter
|
||||
*/
|
||||
static always_inline void RENAME(do_a_deblock)(uint8_t *src, int step, int stride, PPContext *c){
|
||||
- int64_t dc_mask, eq_mask;
|
||||
+ int64_t dc_mask, eq_mask, both_masks;
|
||||
int64_t sums[10*8*2];
|
||||
src+= step*3; // src points to begin of the 8x8 Block
|
||||
//START_TIMER
|
||||
@@ -2755,7 +2755,9 @@
|
||||
: "%eax"
|
||||
);
|
||||
|
||||
- if(dc_mask & eq_mask){
|
||||
+ both_masks = dc_mask & eq_mask;
|
||||
+
|
||||
+ if (both_masks){
|
||||
int offset= -8*step;
|
||||
int64_t *temp_sums= sums;
|
||||
|
||||
@@ -2930,7 +2932,7 @@
|
||||
" js 1b \n\t"
|
||||
|
||||
: "+r"(offset), "+r"(temp_sums)
|
||||
- : "r" (step), "r"(src - offset), "m"(dc_mask & eq_mask)
|
||||
+ : "r" (step), "r"(src - offset), "m"(both_masks)
|
||||
);
|
||||
}else
|
||||
src+= step; // src points to begin of the 8x8 Block
|
||||
Reference in New Issue
Block a user