java.lang.Object
org.monte.media.av.codec.video.AbstractVideoCodecCore
- Direct Known Subclasses:
TechSmithCodecCore
AbstractVideoCodecCore.- Author:
- Werner Randelshofer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static intprotected intprotected static voidreadInts24LE(ByteBuffer in, int[] i, int off, int len) protected voidreadInts24LE(ImageInputStream in, int[] i, int off, int len) protected static intprotected intReads 16-bit RGB and converts it to 24-bit RGB BE.protected intReads 16-bit RGB and converts it to 24-bit RGB.protected static voidreadRGBs555to24(ByteBuffer in, int[] i, int off, int len) ---protected static voidreadRGBs555to24(ImageInputStream in, int[] i, int off, int len) Reads 16-bit RGB and converts it to 24-bit RGB BE.protected static voidreadRGBs565to24(ByteBuffer in, int[] i, int off, int len) Reads 16-bit RGB and converts it to 24-bit RGB.protected static voidwriteInt24LE(ByteBuffer out, int v) protected static voidwriteInts16LE(ByteBuffer out, short[] i, int off, int len) protected static voidwriteInts24LE(ByteBuffer out, int[] i, int off, int len)
-
Constructor Details
-
AbstractVideoCodecCore
public AbstractVideoCodecCore()
-
-
Method Details
-
writeInt24LE
- Throws:
IOException
-
writeInts24LE
- Throws:
IOException
-
readInts24LE
- Throws:
IOException
-
readInt24LE
- Throws:
IOException
-
writeInts16LE
- Throws:
IOException
-
readInts24LE
- Throws:
IOException
-
readInt24LE
- Throws:
IOException
-
readRGBs565to24
Reads 16-bit RGB and converts it to 24-bit RGB. Endian is defined by byte buffer.- Throws:
IOException
-
readRGB565to24
Reads 16-bit RGB and converts it to 24-bit RGB. Endian is defined by byte buffer.- Throws:
IOException
-
readRGBs555to24
protected static void readRGBs555to24(ImageInputStream in, int[] i, int off, int len) throws IOException Reads 16-bit RGB and converts it to 24-bit RGB BE. Endian of input is defined by byte buffer.- Throws:
IOException
-
readRGBs555to24
---- Throws:
IOException
-
readRGB555to24
Reads 16-bit RGB and converts it to 24-bit RGB BE. Endian of input is defined by byte buffer.- Throws:
IOException
-
readRGB555to24
- Throws:
IOException
-