public class Frame extends Picture
| Modifier and Type | Field and Description |
|---|---|
static Comparator<Frame> |
POCAsc |
static Comparator<Frame> |
POCDesc |
| Constructor and Description |
|---|
Frame(int width,
int height,
byte[][] data,
ColorSpace color,
Rect crop,
int frameNo,
SliceType frameType,
H264Utils.MvList2D mvs,
Frame[][][] refsUsed,
int poc) |
| Modifier and Type | Method and Description |
|---|---|
Frame |
cloneCropped()
Creates a cropped clone of this picture.
|
void |
copyFromFrame(Frame src) |
static Frame |
createFrame(Frame pic) |
Frame |
cropped() |
int |
getFrameNo() |
SliceType |
getFrameType() |
H264Utils.MvList2D |
getMvs() |
int |
getPOC() |
Frame[][][] |
getRefsUsed() |
boolean |
isShortTerm() |
void |
setShortTerm(boolean shortTerm) |
compatible, copyFrom, copyPicture, create, createCompatible, createCropped, createCroppedHiBD, createPicture, createPictureHiBD, cropNeeded, equals, fill, fromPictureHiBD, getColor, getCrop, getCroppedHeight, getCroppedWidth, getData, getHeight, getLowBits, getLowBitsNum, getPlaneData, getPlaneHeight, getPlaneWidth, getSize, getStartX, getStartY, getWidth, isHiBD, setCrop, toPictureHiBD, toPictureHiBDWithBufferpublic static Comparator<Frame> POCAsc
public static Comparator<Frame> POCDesc
public Frame(int width,
int height,
byte[][] data,
ColorSpace color,
Rect crop,
int frameNo,
SliceType frameType,
H264Utils.MvList2D mvs,
Frame[][][] refsUsed,
int poc)
public void copyFromFrame(Frame src)
public Frame cloneCropped()
cloneCropped in class Picturepublic int getFrameNo()
public H264Utils.MvList2D getMvs()
public boolean isShortTerm()
public void setShortTerm(boolean shortTerm)
public int getPOC()
public Frame[][][] getRefsUsed()
public SliceType getFrameType()
Copyright © 2019. All rights reserved.