org.jcodec.codecs.h264.io.model
Class Frame
java.lang.Object
org.jcodec.common.model.Picture
org.jcodec.codecs.h264.io.model.Frame
public class Frame
- extends Picture
This class is part of JCodec ( www.jcodec.org ) This software is distributed
under FreeBSD License
Picture extension with frame number, makes it easier to debug reordering
- Author:
- The JCodec project
|
Constructor Summary |
Frame(int width,
int height,
int[][] data,
ColorSpace color,
Rect crop,
int frameNo,
int[][][][] mvs,
Frame[][][] refsUsed,
int poc)
|
| Methods inherited from class org.jcodec.common.model.Picture |
compatible, copyFrom, create, create, createCompatible, getColor, getCrop, getCroppedHeight, getCroppedWidth, getData, getHeight, getPlaneData, getPlaneHeight, getPlaneWidth, getWidth, setCrop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POCAsc
public static Comparator<Frame> POCAsc
POCDesc
public static Comparator<Frame> POCDesc
Frame
public Frame(int width,
int height,
int[][] data,
ColorSpace color,
Rect crop,
int frameNo,
int[][][][] mvs,
Frame[][][] refsUsed,
int poc)
createFrame
public static Frame createFrame(Frame pic)
cropped
public Frame cropped()
- Overrides:
cropped in class Picture
copyFrom
public void copyFrom(Frame src)
getFrameNo
public int getFrameNo()
getMvs
public int[][][][] getMvs()
isShortTerm
public boolean isShortTerm()
setShortTerm
public void setShortTerm(boolean shortTerm)
getPOC
public int getPOC()
getRefsUsed
public Frame[][][] getRefsUsed()
Copyright © 2013. All Rights Reserved.