| OLD | NEW |
| 1 /* | 1 /* |
| 2 * software RGB to RGB converter | 2 * software RGB to RGB converter |
| 3 * pluralize by Software PAL8 to RGB converter | 3 * pluralize by Software PAL8 to RGB converter |
| 4 * Software YUV to YUV converter | 4 * Software YUV to YUV converter |
| 5 * Software YUV to RGB converter | 5 * Software YUV to RGB converter |
| 6 * Written by Nick Kurshev. | 6 * Written by Nick Kurshev. |
| 7 * palette & YUV & runtime CPU stuff by Michael (michaelni@gmx.at) | 7 * palette & YUV & runtime CPU stuff by Michael (michaelni@gmx.at) |
| 8 * | 8 * |
| 9 * This file is part of FFmpeg. | 9 * This file is part of FFmpeg. |
| 10 * | 10 * |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 void rgb16tobgr32(const uint8_t *src, uint8_t *dst, long src_size); | 53 void rgb16tobgr32(const uint8_t *src, uint8_t *dst, long src_size); |
| 54 void rgb16to24 (const uint8_t *src, uint8_t *dst, long src_size); | 54 void rgb16to24 (const uint8_t *src, uint8_t *dst, long src_size); |
| 55 void rgb16tobgr16(const uint8_t *src, uint8_t *dst, long src_size); | 55 void rgb16tobgr16(const uint8_t *src, uint8_t *dst, long src_size); |
| 56 void rgb16tobgr15(const uint8_t *src, uint8_t *dst, long src_size); | 56 void rgb16tobgr15(const uint8_t *src, uint8_t *dst, long src_size); |
| 57 void rgb15tobgr32(const uint8_t *src, uint8_t *dst, long src_size); | 57 void rgb15tobgr32(const uint8_t *src, uint8_t *dst, long src_size); |
| 58 void rgb15to24 (const uint8_t *src, uint8_t *dst, long src_size); | 58 void rgb15to24 (const uint8_t *src, uint8_t *dst, long src_size); |
| 59 void rgb15tobgr16(const uint8_t *src, uint8_t *dst, long src_size); | 59 void rgb15tobgr16(const uint8_t *src, uint8_t *dst, long src_size); |
| 60 void rgb15tobgr15(const uint8_t *src, uint8_t *dst, long src_size); | 60 void rgb15tobgr15(const uint8_t *src, uint8_t *dst, long src_size); |
| 61 void bgr8torgb8 (const uint8_t *src, uint8_t *dst, long src_size); | 61 void bgr8torgb8 (const uint8_t *src, uint8_t *dst, long src_size); |
| 62 | 62 |
| 63 void shuffle_bytes_0321(const uint8_t *src, uint8_t *dst, long src_size); |
| 64 void shuffle_bytes_1230(const uint8_t *src, uint8_t *dst, long src_size); |
| 65 void shuffle_bytes_2103(const uint8_t *src, uint8_t *dst, long src_size); |
| 66 void shuffle_bytes_3012(const uint8_t *src, uint8_t *dst, long src_size); |
| 67 void shuffle_bytes_3210(const uint8_t *src, uint8_t *dst, long src_size); |
| 63 | 68 |
| 64 void palette8topacked32(const uint8_t *src, uint8_t *dst, long num_pixels, const
uint8_t *palette); | 69 void palette8topacked32(const uint8_t *src, uint8_t *dst, long num_pixels, const
uint8_t *palette); |
| 65 void palette8topacked24(const uint8_t *src, uint8_t *dst, long num_pixels, const
uint8_t *palette); | 70 void palette8topacked24(const uint8_t *src, uint8_t *dst, long num_pixels, const
uint8_t *palette); |
| 66 void palette8torgb16(const uint8_t *src, uint8_t *dst, long num_pixels, const ui
nt8_t *palette); | 71 void palette8torgb16(const uint8_t *src, uint8_t *dst, long num_pixels, const ui
nt8_t *palette); |
| 67 void palette8tobgr16(const uint8_t *src, uint8_t *dst, long num_pixels, const ui
nt8_t *palette); | 72 void palette8tobgr16(const uint8_t *src, uint8_t *dst, long num_pixels, const ui
nt8_t *palette); |
| 68 void palette8torgb15(const uint8_t *src, uint8_t *dst, long num_pixels, const ui
nt8_t *palette); | 73 void palette8torgb15(const uint8_t *src, uint8_t *dst, long num_pixels, const ui
nt8_t *palette); |
| 69 void palette8tobgr15(const uint8_t *src, uint8_t *dst, long num_pixels, const ui
nt8_t *palette); | 74 void palette8tobgr15(const uint8_t *src, uint8_t *dst, long num_pixels, const ui
nt8_t *palette); |
| 70 | 75 |
| 71 /** | 76 /** |
| 72 * Height should be a multiple of 2 and width should be a multiple of 16. | 77 * Height should be a multiple of 2 and width should be a multiple of 16. |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 extern void (*yuyvtoyuv420)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const u
int8_t *src, | 157 extern void (*yuyvtoyuv420)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const u
int8_t *src, |
| 153 long width, long height, | 158 long width, long height, |
| 154 long lumStride, long chromStride, long srcStride); | 159 long lumStride, long chromStride, long srcStride); |
| 155 extern void (*yuyvtoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const u
int8_t *src, | 160 extern void (*yuyvtoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const u
int8_t *src, |
| 156 long width, long height, | 161 long width, long height, |
| 157 long lumStride, long chromStride, long srcStride); | 162 long lumStride, long chromStride, long srcStride); |
| 158 | 163 |
| 159 void sws_rgb2rgb_init(int flags); | 164 void sws_rgb2rgb_init(int flags); |
| 160 | 165 |
| 161 #endif /* SWSCALE_RGB2RGB_H */ | 166 #endif /* SWSCALE_RGB2RGB_H */ |
| OLD | NEW |