~ubuntu-branches/ubuntu/utopic/ffmpeg-debian/utopic

« back to all changes in this revision

Viewing changes to libswscale/rgb2rgb.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-01-20 09:20:53 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090120092053-izz63p40hc98qfgp
Tags: 3:0.svn20090119-1ubuntu1
* merge from debian. LP: #318501
* new version fixes CVE-2008-3230, LP: #253767

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
extern void (*rgb32tobgr16)(const uint8_t *src, uint8_t *dst, long src_size);
49
49
extern void (*rgb32tobgr15)(const uint8_t *src, uint8_t *dst, long src_size);
50
50
 
51
 
extern void rgb24to32   (const uint8_t *src, uint8_t *dst, long src_size);
52
 
extern void rgb32to24   (const uint8_t *src, uint8_t *dst, long src_size);
53
 
extern void rgb16tobgr32(const uint8_t *src, uint8_t *dst, long src_size);
54
 
extern void rgb16to24   (const uint8_t *src, uint8_t *dst, long src_size);
55
 
extern void rgb16tobgr16(const uint8_t *src, uint8_t *dst, long src_size);
56
 
extern void rgb16tobgr15(const uint8_t *src, uint8_t *dst, long src_size);
57
 
extern void rgb15tobgr32(const uint8_t *src, uint8_t *dst, long src_size);
58
 
extern void rgb15to24   (const uint8_t *src, uint8_t *dst, long src_size);
59
 
extern void rgb15tobgr16(const uint8_t *src, uint8_t *dst, long src_size);
60
 
extern void rgb15tobgr15(const uint8_t *src, uint8_t *dst, long src_size);
61
 
extern void bgr8torgb8  (const uint8_t *src, uint8_t *dst, long src_size);
62
 
 
63
 
 
64
 
extern void palette8topacked32(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette);
65
 
extern void palette8topacked24(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette);
66
 
extern void palette8torgb16(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette);
67
 
extern void palette8tobgr16(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette);
68
 
extern void palette8torgb15(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette);
69
 
extern void palette8tobgr15(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette);
 
51
void rgb24to32   (const uint8_t *src, uint8_t *dst, long src_size);
 
52
void rgb32to24   (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);
 
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);
 
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);
 
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);
 
61
void bgr8torgb8  (const uint8_t *src, uint8_t *dst, long src_size);
 
62
 
 
63
 
 
64
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);
 
66
void palette8torgb16(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette);
 
67
void palette8tobgr16(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette);
 
68
void palette8torgb15(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette);
 
69
void palette8tobgr15(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette);
70
70
 
71
71
/**
72
72
 * Height should be a multiple of 2 and width should be a multiple of 16.