|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VideoCodecToolkit
VideoCodecToolkit.class allows access to functions wich would not otherwize be accessable to Codecs
| Method Summary | |
|---|---|
int |
getClosetColor(int r,
int g,
int b)
Returns the closest color in the existing pallet |
int |
getClosetColor(RGB rgb)
Returns the closest color in the existing pallet |
RGB |
getPalletIndex(int index)
getPalletIndex(int) returns the color currently set for the pallet at index of |
void |
setPalletIndex(int Index,
RGB color)
setPalletIndex(int, RGB) sets a color in this pallet at index to a specific color |
| Method Detail |
|---|
void setPalletIndex(int Index,
RGB color)
index - index of coloecolor - color to setRGB getPalletIndex(int index)
index - of color
int getClosetColor(RGB rgb)
rgb - the RGB triplet to match
int getClosetColor(int r,
int g,
int b)
r - Red component to matchg - Green component to matchb - Blue component to match
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||