[FFmpeg-devel] [PATCH 1/2] swscale: unscaled rgba64->bgr48

Paul B Mahol onemda at gmail.com
Thu Jul 19 02:35:24 CEST 2012


On 7/18/12, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Wed, Jul 18, 2012 at 01:54:22AM +0000, Paul B Mahol wrote:
>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>> ---
>>  libswscale/rgb2rgb.c          |   18 ++++++++++++++++++
>>  libswscale/rgb2rgb.h          |    2 ++
>>  libswscale/swscale_unscaled.c |   16 ++++++++++++++++
>>  3 files changed, 36 insertions(+), 0 deletions(-)
>>
[...]
> --- a/libswscale/rgb2rgb.h
>> +++ b/libswscale/rgb2rgb.h
>> @@ -52,6 +52,8 @@ extern void (*rgb32tobgr15)(const uint8_t *src, uint8_t
>> *dst, int src_size);
>>
>>  extern void (*shuffle_bytes_2103)(const uint8_t *src, uint8_t *dst, int
>> src_size);
>>
>> +void rgb64tobgr48_0(const uint8_t *src, uint8_t *dst, int src_size);
>> +void rgb64tobgr48_1(const uint8_t *src, uint8_t *dst, int src_size);
>
> rgb64tobgr48 and rgb64tobgr48_bswap seem clearer here too otherwise
> LGTM

Fixed that and other things and pushed whole set.


More information about the ffmpeg-devel mailing list