All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.monte.media.BufferFlag Maven / Gradle / Ivy

There is a newer version: 1.1
Show newest version
/*
 * @(#)BufferFlag.java 
 * 
 * Copyright (c) 2011 Werner Randelshofer, Goldau, Switzerland.
 * All rights reserved.
 * 
 * You may not use, copy or modify this file, except in compliance with the
 * license agreement you entered into with Werner Randelshofer.
 * For details see accompanying license terms.
 */
package org.monte.media;

/**
 * {@code BufferFlag}.
 *
 * @author Werner Randelshofer
 * @version $Id: BufferFlag.java 299 2013-01-03 07:40:18Z werner $
 */
public enum BufferFlag {

    /** Indicates that the data in this buffer should be ignored. */
    DISCARD,
    /** Indicates that this Buffer holds an intra-coded picture, which can be 
     * decoded independently. */
    KEYFRAME,
    /** Indicates that the data in this buffer is at the end of the media. */
    END_OF_MEDIA,
    /** Indicates that the data in this buffer is used for initializing the
     * decoding queue.
     * 

* This flag is used when the media time of a track is set to a non-keyframe * sample. Thus decoding must start at a keyframe at an earlier time. *

* Decoders should decode the buffer. * Encoders and Multiplexers should discard the buffer. */ PREFETCH, /** Indicates that this buffer is known to have the same data as the * previous buffer. This may improve encoding performance. */ SAME_DATA; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy