Changeset a1f2a86dc770ecff1c29f403ddf4e6ac7fa8c738
- Timestamp:
- 07/27/06 00:48:34
(2 years ago)
- Author:
- Eric Petit <titer@videolan.org>
- git-committer:
- Eric Petit <titer@videolan.org> 1153954114 +0000
- git-parent:
[145662277a0cb3ac52b6cd297b91c28e7be65c96]
- git-author:
- Eric Petit <titer@videolan.org> 1153954114 +0000
- Message:
Make I420_UYVY/MMX support widths non multiple of 8
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| re73aefc |
ra1f2a86 |
|
| 383 | 383 | #endif |
|---|
| 384 | 384 | } |
|---|
| | 385 | for( i_x = ( p_vout->render.i_width % 8 ) / 2; i_x--; ) |
|---|
| | 386 | { |
|---|
| | 387 | C_YUV420_UYVY( ); |
|---|
| | 388 | } |
|---|
| 385 | 389 | |
|---|
| 386 | 390 | p_y1 += i_source_margin; |
|---|
| rf2dc268 |
ra1f2a86 |
|
| 120 | 120 | *(p_line1)++ = *(p_line2)++ = *(p_u)++; \ |
|---|
| 121 | 121 | |
|---|
| 122 | | #define C_YUV420_UYVY( ) \ |
|---|
| 123 | | *(p_line1)++ = *(p_line2)++ = *(p_u)++; \ |
|---|
| 124 | | *(p_line1)++ = *(p_y1)++; *(p_line2)++ = *(p_y2)++; \ |
|---|
| 125 | | *(p_line1)++ = *(p_line2)++ = *(p_v)++; \ |
|---|
| 126 | | *(p_line1)++ = *(p_y1)++; *(p_line2)++ = *(p_y2)++; \ |
|---|
| 127 | | |
|---|
| 128 | 122 | #define C_YUV420_Y211( ) \ |
|---|
| 129 | 123 | *(p_line1)++ = *(p_y1); p_y1 += 2; \ |
|---|
| … | … | |
| 143 | 137 | *(p_line1)++ = *(p_line2)++ = *(p_v)++; \ |
|---|
| 144 | 138 | |
|---|
| | 139 | #define C_YUV420_UYVY( ) \ |
|---|
| | 140 | *(p_line1)++ = *(p_line2)++ = *(p_u)++; \ |
|---|
| | 141 | *(p_line1)++ = *(p_y1)++; *(p_line2)++ = *(p_y2)++; \ |
|---|
| | 142 | *(p_line1)++ = *(p_line2)++ = *(p_v)++; \ |
|---|
| | 143 | *(p_line1)++ = *(p_y1)++; *(p_line2)++ = *(p_y2)++; \ |
|---|
| | 144 | |
|---|