/* */ package quicktime.std.image;
/* */
/* */ import quicktime.QTException;
/* */ import quicktime.QTSession;
/* */ import quicktime.std.StdQTException;
/* */ import quicktime.util.QTPointerRef;
/* */
/* */ public final class CodecNameList extends QTPointerRef
/* */ {
/* 29 */ private static boolean apriori = QTSession.apriori();
/* */ public static final int kNativeSize = 6;
/* */
/* */ public CodecNameList(int paramInt)
/* */ throws QTException
/* */ {
/* 49 */ super(allocate((short)paramInt), 6, null);
/* */ }
/* */
/* */ private static int allocate(short paramShort) throws StdQTException {
/* 53 */ int[] arrayOfInt = { 0 };
/* 54 */ int i = GetCodecNameList(arrayOfInt, paramShort);
/* 55 */ StdQTException.checkError(i);
/* 56 */ return arrayOfInt[0];
/* */ }
/* */
/* */ public CodecName getNth(int paramInt)
/* */ throws StdQTException
/* */ {
/* 65 */ if (paramInt > getCount())
/* */ {
/* 67 */ throw new StdQTException("CodecName.getNth");
/* */ }
/* 69 */ return new CodecName(_ID() + 2 + 44 * paramInt, this);
/* */ }
/* */
/* */ public int getCount()
/* */ {
/* 76 */ return getShortAt(0);
/* */ }
/* */
/* */ private static native short GetCodecNameList(int[] paramArrayOfInt, short paramShort);
/* */ }
/* Location: Z:\System\Library\Java\Extensions\QTJava.zip
* Qualified Name: quicktime.std.image.CodecNameList
* JD-Core Version: 0.6.2
*/