Package entagged.audioformats.asf.data

Examples of entagged.audioformats.asf.data.VideoStreamChunk


          audioStreamChunk.setCodecData (codecSpecificData);
        } else if (GUID.GUID_VIDEOSTREAM.equals(streamTypeGUID)) {
          /*
           * Reading video specific information
           */
          VideoStreamChunk videoStreamChunk = new VideoStreamChunk(
              chunkStart, chunkLength);
          result = videoStreamChunk;

          long pictureWidth = Utils.readUINT32(raf);
          long pictureHeight = Utils.readUINT32(raf);

          // Skipt unknown field
          raf.skipBytes(1);

          /*
           * Now read the format specific data
           */
          // Size of the data section
          Utils.readUINT16(raf);
         
          raf.skipBytes(16);
          byte[] fourCC = new byte[4];
          raf.read(fourCC);
 
          videoStreamChunk.setPictureWidth(pictureWidth);
          videoStreamChunk.setPictureHeight(pictureHeight);
          videoStreamChunk.setCodecId(fourCC);
        }

        /*
         * Setting common values for audio and video
         */
 
View Full Code Here

TOP

Related Classes of entagged.audioformats.asf.data.VideoStreamChunk

Copyright © 2018 www.massapicom. 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.