Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
f2dc268e
Commit
f2dc268e
authored
Feb 05, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Correct MMX version of UYVY chroma conversion. the UV ordered incorrectly. (untested)
parent
c858a4ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
modules/video_chroma/i420_yuy2.h
modules/video_chroma/i420_yuy2.h
+4
-4
modules/video_chroma/i422_yuy2.h
modules/video_chroma/i422_yuy2.h
+4
-4
No files found.
modules/video_chroma/i420_yuy2.h
View file @
f2dc268e
...
...
@@ -73,10 +73,10 @@ movq %%mm0, 8(%1) # Store high YUYV \n\
#define MMX_YUV420_UYVY " \n\
movq (%2), %%mm0 # Load 8 Y y7 y6 y5 y4 y3 y2 y1 y0 \n\
movq (%3), %%mm3 # Load 8 Y Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 \n\
movd (%4), %%mm
2
# Load 4 Cb 00 00 00 00 u3 u2 u1 u0 \n\
movd (%5), %%mm
1
# Load 4 Cr 00 00 00 00 v3 v2 v1 v0 \n\
punpcklbw %%mm2, %%mm1 #
u3 v3 u2 v2 u1 v1 u0 v
0 \n\
movq %%mm1, %%mm2 #
u3 v3 u2 v2 u1 v1 u0 v
0 \n\
movd (%4), %%mm
1
# Load 4 Cb 00 00 00 00 u3 u2 u1 u0 \n\
movd (%5), %%mm
2
# Load 4 Cr 00 00 00 00 v3 v2 v1 v0 \n\
punpcklbw %%mm2, %%mm1 #
v3 u3 v2 u2 v1 u1 v0 u
0 \n\
movq %%mm1, %%mm2 #
v3 u3 v2 u2 v1 u1 v0 u
0 \n\
punpcklbw %%mm0, %%mm2 # y3 v1 y2 u1 y1 v0 y0 u0 \n\
movq %%mm2, (%0) # Store low UYVY \n\
movq %%mm1, %%mm2 # u3 v3 u2 v2 u1 v1 u0 v0 \n\
...
...
modules/video_chroma/i422_yuy2.h
View file @
f2dc268e
...
...
@@ -49,10 +49,10 @@ movq %%mm0, 8(%0) # Store high YUYV \n\
#define MMX_YUV422_UYVY " \n\
movq (%1), %%mm0 # Load 8 Y y7 y6 y5 y4 y3 y2 y1 y0 \n\
movd (%2), %%mm
2
# Load 4 Cb 00 00 00 00 u3 u2 u1 u0 \n\
movd (%3), %%mm
1
# Load 4 Cr 00 00 00 00 v3 v2 v1 v0 \n\
punpcklbw %%mm2, %%mm1 #
u3 v3 u2 v2 u1 v1 u0 v
0 \n\
movq %%mm1, %%mm2 #
u3 v3 u2 v2 u1 v1 u0 v
0 \n\
movd (%2), %%mm
1
# Load 4 Cb 00 00 00 00 u3 u2 u1 u0 \n\
movd (%3), %%mm
2
# Load 4 Cr 00 00 00 00 v3 v2 v1 v0 \n\
punpcklbw %%mm2, %%mm1 #
v3 u3 v2 u2 v1 u1 v0 u
0 \n\
movq %%mm1, %%mm2 #
v3 u3 v2 u2 v1 u1 v0 u
0 \n\
punpcklbw %%mm0, %%mm2 # y3 v1 y2 u1 y1 v0 y0 u0 \n\
movq %%mm2, (%0) # Store low UYVY \n\
punpckhbw %%mm0, %%mm1 # y7 v3 y6 u3 y5 v2 y4 u2 \n\
...
...
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