Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
5a1553de
Commit
5a1553de
authored
Nov 03, 2006
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 instruction less
Originally committed as revision 6880 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
4a6cc061
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
h264dsp_mmx.c
libavcodec/i386/h264dsp_mmx.c
+6
-7
No files found.
libavcodec/i386/h264dsp_mmx.c
View file @
5a1553de
...
@@ -348,16 +348,15 @@ static void ff_h264_idct8_dc_add_mmx2(uint8_t *dst, int16_t *block, int stride)
...
@@ -348,16 +348,15 @@ static void ff_h264_idct8_dc_add_mmx2(uint8_t *dst, int16_t *block, int stride)
"pavgb %%mm2 , %%mm4 \n\t"
/* (q0 - p0 + 256)>>1*/
\
"pavgb %%mm2 , %%mm4 \n\t"
/* (q0 - p0 + 256)>>1*/
\
"pavgb %%mm5 , %%mm3 \n\t"\
"pavgb %%mm5 , %%mm3 \n\t"\
"paddb %%mm4 , %%mm3 \n\t"
/* d+128+33*/
\
"paddb %%mm4 , %%mm3 \n\t"
/* d+128+33*/
\
"
pxor %%mm6 , %%mm6 \n\t"
/* 0*/
\
"
movq "MANGLE(ff_pb_A1)" , %%mm6 \n\t"
\
"psub
b %%mm3 , %%mm6 \n\t"
/* 128-33-d*/
\
"psub
usb %%mm3 , %%mm6 \n\t"
\
"psubusb "MANGLE(ff_pb_A1)" , %%mm3 \n\t"\
"psubusb "MANGLE(ff_pb_A1)" , %%mm3 \n\t"\
"psubusb "MANGLE(ff_pb_5F)" , %%mm6 \n\t"\
"pminub %%mm7 , %%mm3 \n\t"\
"pminub %%mm7 , %%mm6 \n\t"\
"pminub %%mm7 , %%mm6 \n\t"\
"paddusb %%mm3 , %%mm1 \n\t"\
"pminub %%mm7 , %%mm3 \n\t"\
"paddusb %%mm6 , %%mm2 \n\t"\
"psubusb %%mm6 , %%mm1 \n\t"\
"psubusb %%mm6 , %%mm1 \n\t"\
"psubusb %%mm3 , %%mm2 \n\t"
"psubusb %%mm3 , %%mm2 \n\t"\
"paddusb %%mm3 , %%mm1 \n\t"\
"paddusb %%mm6 , %%mm2 \n\t"
// in: mm0=p1 mm1=p0 mm2=q0 mm3=q1 mm7=(tc&mask) %8=mm_bone
// in: mm0=p1 mm1=p0 mm2=q0 mm3=q1 mm7=(tc&mask) %8=mm_bone
// out: (q1addr) = clip( (q2+((p0+q0+1)>>1))>>1, q1-tc0, q1+tc0 )
// out: (q1addr) = clip( (q2+((p0+q0+1)>>1))>>1, q1-tc0, q1+tc0 )
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment