1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-08 07:57:19 +00:00

BGR24 bugfix

BGR15 & BGR24 tested


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2327 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2001-10-21 00:05:56 +00:00
parent 10065d25db
commit a5f582e9a7
2 changed files with 10 additions and 10 deletions

View File

@ -24,7 +24,7 @@ NOTES
known BUGS with known cause (no bugreports please!, but patches are welcome :) ) known BUGS with known cause (no bugreports please!, but patches are welcome :) )
horizontal MMX2 scaler reads 1-7 samples too much (might cause a sig11) horizontal MMX2 scaler reads 1-7 samples too much (might cause a sig11)
Supported output formats BGR15 BGR16 BGR24 BGR32 (15,24 are untested) Supported output formats BGR15 BGR16 BGR24 BGR32
BGR15 & BGR16 MMX verions support dithering BGR15 & BGR16 MMX verions support dithering
Special versions: fast Y 1:1 scaling (no interpolation in y direction) Special versions: fast Y 1:1 scaling (no interpolation in y direction)
@ -388,10 +388,10 @@ static uint8_t funnyUVCode[10000];
"punpckhbw %%mm7, %%mm6 \n\t" /* 0R0R0R0R 2 */\ "punpckhbw %%mm7, %%mm6 \n\t" /* 0R0R0R0R 2 */\
"movq %%mm2, %%mm0 \n\t" /* GBGBGBGB 0 */\ "movq %%mm2, %%mm0 \n\t" /* GBGBGBGB 0 */\
"movq %%mm1, %%mm3 \n\t" /* GBGBGBGB 2 */\ "movq %%mm1, %%mm3 \n\t" /* GBGBGBGB 2 */\
"punpcklbw %%mm5, %%mm0 \n\t" /* 0RGB0RGB 0 */\ "punpcklwd %%mm5, %%mm0 \n\t" /* 0RGB0RGB 0 */\
"punpckhbw %%mm5, %%mm2 \n\t" /* 0RGB0RGB 1 */\ "punpckhwd %%mm5, %%mm2 \n\t" /* 0RGB0RGB 1 */\
"punpcklbw %%mm6, %%mm1 \n\t" /* 0RGB0RGB 2 */\ "punpcklwd %%mm6, %%mm1 \n\t" /* 0RGB0RGB 2 */\
"punpckhbw %%mm6, %%mm3 \n\t" /* 0RGB0RGB 3 */\ "punpckhwd %%mm6, %%mm3 \n\t" /* 0RGB0RGB 3 */\
\ \
"movq %%mm0, %%mm4 \n\t" /* 0RGB0RGB 0 */\ "movq %%mm0, %%mm4 \n\t" /* 0RGB0RGB 0 */\
"psrlq $8, %%mm0 \n\t" /* 00RGB0RG 0 */\ "psrlq $8, %%mm0 \n\t" /* 00RGB0RG 0 */\

View File

@ -24,7 +24,7 @@ NOTES
known BUGS with known cause (no bugreports please!, but patches are welcome :) ) known BUGS with known cause (no bugreports please!, but patches are welcome :) )
horizontal MMX2 scaler reads 1-7 samples too much (might cause a sig11) horizontal MMX2 scaler reads 1-7 samples too much (might cause a sig11)
Supported output formats BGR15 BGR16 BGR24 BGR32 (15,24 are untested) Supported output formats BGR15 BGR16 BGR24 BGR32
BGR15 & BGR16 MMX verions support dithering BGR15 & BGR16 MMX verions support dithering
Special versions: fast Y 1:1 scaling (no interpolation in y direction) Special versions: fast Y 1:1 scaling (no interpolation in y direction)
@ -388,10 +388,10 @@ static uint8_t funnyUVCode[10000];
"punpckhbw %%mm7, %%mm6 \n\t" /* 0R0R0R0R 2 */\ "punpckhbw %%mm7, %%mm6 \n\t" /* 0R0R0R0R 2 */\
"movq %%mm2, %%mm0 \n\t" /* GBGBGBGB 0 */\ "movq %%mm2, %%mm0 \n\t" /* GBGBGBGB 0 */\
"movq %%mm1, %%mm3 \n\t" /* GBGBGBGB 2 */\ "movq %%mm1, %%mm3 \n\t" /* GBGBGBGB 2 */\
"punpcklbw %%mm5, %%mm0 \n\t" /* 0RGB0RGB 0 */\ "punpcklwd %%mm5, %%mm0 \n\t" /* 0RGB0RGB 0 */\
"punpckhbw %%mm5, %%mm2 \n\t" /* 0RGB0RGB 1 */\ "punpckhwd %%mm5, %%mm2 \n\t" /* 0RGB0RGB 1 */\
"punpcklbw %%mm6, %%mm1 \n\t" /* 0RGB0RGB 2 */\ "punpcklwd %%mm6, %%mm1 \n\t" /* 0RGB0RGB 2 */\
"punpckhbw %%mm6, %%mm3 \n\t" /* 0RGB0RGB 3 */\ "punpckhwd %%mm6, %%mm3 \n\t" /* 0RGB0RGB 3 */\
\ \
"movq %%mm0, %%mm4 \n\t" /* 0RGB0RGB 0 */\ "movq %%mm0, %%mm4 \n\t" /* 0RGB0RGB 0 */\
"psrlq $8, %%mm0 \n\t" /* 00RGB0RG 0 */\ "psrlq $8, %%mm0 \n\t" /* 00RGB0RG 0 */\