mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 09:02:38 +00:00
cosmetics: typo pallete --> palette
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21892 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d9d8d70d63
commit
addb047274
@ -341,7 +341,7 @@ void sws_rgb2rgb_init(int flags){
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pallete is assumed to contain bgr32
|
* Palette is assumed to contain BGR32.
|
||||||
*/
|
*/
|
||||||
void palette8torgb32(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette)
|
void palette8torgb32(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette)
|
||||||
{
|
{
|
||||||
@ -391,7 +391,7 @@ void palette8tobgr32(const uint8_t *src, uint8_t *dst, long num_pixels, const ui
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pallete is assumed to contain bgr32
|
* Palette is assumed to contain BGR32.
|
||||||
*/
|
*/
|
||||||
void palette8torgb24(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette)
|
void palette8torgb24(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette)
|
||||||
{
|
{
|
||||||
@ -446,7 +446,7 @@ void palette8tobgr16(const uint8_t *src, uint8_t *dst, long num_pixels, const ui
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pallete is assumed to contain bgr15, see rgb32to15 to convert the palette
|
* Palette is assumed to contain BGR15, see rgb32to15 to convert the palette.
|
||||||
*/
|
*/
|
||||||
void palette8torgb15(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette)
|
void palette8torgb15(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette)
|
||||||
{
|
{
|
||||||
|
@ -802,7 +802,7 @@ static void init_osd_yuv_pal(){
|
|||||||
}
|
}
|
||||||
rez = XvMCSetSubpicturePalette(mDisplay, &subpicture, palette);
|
rez = XvMCSetSubpicturePalette(mDisplay, &subpicture, palette);
|
||||||
if(rez!=Success){
|
if(rez!=Success){
|
||||||
printf("vo_xvmc: set pallete fail\n");
|
printf("vo_xvmc: Setting palette failed.\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user