FileDocCategorySizeDatePackage
Debug.javaAPI Docmp4parser 1.0-RC-172796Wed Dec 19 20:10:37 GMT 2012com.googlecode.mp4parser.h264

Debug

public class Debug extends Object

Fields Summary
public static final boolean
debug
Constructors Summary
Methods Summary
public static voidprint(short[] table)

        int i = 0;
        for (int x = 0; x < 8; x++) {
            for (int y = 0; y < 8; y++) {
                System.out.printf("%3d, ", table[i]);
                i++;
            }
            System.out.println();
        }
    
public static voidprint(int i)


         
        if (debug)
            System.out.print(i);
    
public static voidprint(java.lang.String string)

        if (debug)
            System.out.print(string);
    
public static final voidprint8x8(int[] output)

        int i = 0;
        for (int x = 0; x < 8; x++) {
            for (int y = 0; y < 8; y++) {
                System.out.printf("%3d, ", output[i]);
                i++;
            }
            System.out.println();
        }
    
public static final voidprint8x8(short[] output)

        int i = 0;
        for (int x = 0; x < 8; x++) {
            for (int y = 0; y < 8; y++) {
                System.out.printf("%3d, ", output[i]);
                i++;
            }
            System.out.println();
        }
    
public static final voidprint8x8(java.nio.ShortBuffer output)

        for (int x = 0; x < 8; x++) {
            for (int y = 0; y < 8; y++) {
                System.out.printf("%3d, ", output.get());
            }
            System.out.println();
        }
    
public static voidprintln(java.lang.String string)

        if (debug)
            System.out.println(string);
    
public static voidtrace(java.lang.String format, java.lang.Object args)

        // System.out.printf("> " + format + "\n", args);