Examples of pagein()


Examples of com.jcraft.jogg.StreamState.pagein()

              stateflag = 1;
              break;
            }

            test.init(og.serialno());
            test.pagein(og);
            test.packetout(op);
           
            /* identify the codec: try theora */
            if (ENABLE_VIDEO && theora_p == 0 && ti.decodeHeader(tc, op) >= 0)
            {
View Full Code Here

Examples of com.jcraft.jogg.StreamState.pagein()

            // header is an easy way to identify a Vorbis bitstream and it's
            // useful to see that functionality seperated out.

            vi.init();
            vc.init();
            if (os.pagein(og) < 0) {
                // error; stream version mismatch perhaps
                System.err.println("Error reading first page of Ogg bitstream data.");
                System.exit(1);
            }
View Full Code Here

Examples of com.jcraft.jogg.StreamState.pagein()

                        break; // Need more data
                    // Don't complain about missing or corrupt data yet.  We'll
                    // catch it at the packet output phase

                    if (result == 1) {
                        os.pagein(og); // we can ignore any errors here
                        // as they'll also become apparent
                        // at packetout
                        while (i < 2) {
                            result = os.packetout(op);
                            if (result == 0)
View Full Code Here

Examples of com.jcraft.jogg.StreamState.pagein()

                        break; // need more data
                    if (result == -1) { // missing or corrupt data at this page position
                        System.err
                                .println("Corrupt or missing data in bitstream; continuing...");
                    } else {
                        os.pagein(og); // can safely ignore errors at
                        // this point
                        while (true) {
                            result = os.packetout(op);

                            if (result == 0)
View Full Code Here

Examples of org.vorbis.jcraft.jogg.StreamState.pagein()

            // header is an easy way to identify a Vorbis bitstream and it's
            // useful to see that functionality seperated out.

            vi.init();
            vc.init();
            if (os.pagein(og) < 0) {
                // error; stream version mismatch perhaps
                LOG.log(Level.SEVERE, "Error reading first page of Ogg bitstream data.");
                return;
            }
View Full Code Here

Examples of org.vorbis.jcraft.jogg.StreamState.pagein()

                        break; // Need more data
                    }          // Don't complain about missing or corrupt data yet.  We'll
                    // catch it at the packet output phase

                    if (result == 1) {
                        os.pagein(og); // we can ignore any errors here
                        // as they'll also become apparent
                        // at packetout
                        while (i < 2) {
                            result = os.packetout(op);
                            if (result == 0) {
View Full Code Here

Examples of org.vorbis.jcraft.jogg.StreamState.pagein()

                        break; // need more data
                    }
                    if (result == -1) { // missing or corrupt data at this page position
                        LOG.log(Level.INFO, "Corrupt or missing data in bitstream; continuing...");
                    } else {
                        os.pagein(og); // can safely ignore errors at
                        // this point
                        while (true) {
                            result = os.packetout(op);

                            if (result == 0) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.