Modifier and Type | Method and Description |
---|---|
static Picture |
FrameGrab.getFrameAtSec(File file,
double second)
Get frame at a specified second as JCodec image
|
static Picture |
FrameGrab.getFrameFromChannel(SeekableByteChannel file,
int frameNumber)
Get frame at a specified frame number as JCodec image
|
static Picture |
FrameGrab.getFrameFromChannelAtSec(SeekableByteChannel file,
double second)
Get frame at a specified second as JCodec image
|
static Picture |
FrameGrab.getFrameFromFile(File file,
int frameNumber)
Get frame at a specified frame number as JCodec image
|
Picture |
FrameGrab.getNativeFrame()
Get frame at current position in JCodec native image
|
static Picture |
FrameGrab.getNativeFrameAtFrame(SeekableDemuxerTrack vt,
ContainerAdaptor decoder,
int frameNumber)
Get a specified frame by number from an already open demuxer track
|
static Picture |
FrameGrab.getNativeFrameAtSec(SeekableDemuxerTrack vt,
ContainerAdaptor decoder,
double second)
Get a specified frame by second from an already open demuxer track
|
static Picture |
FrameGrab.getNativeFrameAtSecSloppy(SeekableDemuxerTrack vt,
ContainerAdaptor decoder,
double second)
Get a specified frame by second from an already open demuxer track (
sloppy mode, i.e.
|
static Picture |
FrameGrab.getNativeFrameSloppy(SeekableDemuxerTrack vt,
ContainerAdaptor decoder,
int frameNumber)
Get a specified frame by number from an already open demuxer track (
sloppy mode, i.e.
|
Picture |
PictureWithMetadata.getPicture() |
Modifier and Type | Method and Description |
---|---|
static PictureWithMetadata |
PictureWithMetadata.createPictureWithMetadata(Picture picture,
double timestamp,
double duration) |
void |
SequenceEncoder.encodeNativeFrame(Picture pic)
Encodes a frame into a movie.
|
Constructor and Description |
---|
PictureWithMetadata(Picture picture,
double timestamp,
double duration,
DemuxerTrackMeta.Orientation orientation) |
Modifier and Type | Method and Description |
---|---|
Picture |
GenericAdaptor.decodeFrame(Packet packet,
byte[][] data) |
Picture |
ContainerAdaptor.decodeFrame(Packet packet,
byte[][] data) |
Picture |
AVCMP4Adaptor.decodeFrame(Packet packet,
byte[][] data) |
Modifier and Type | Method and Description |
---|---|
Picture |
SourceImpl.decodeVideo(ByteBuffer data,
Picture target1) |
Picture |
PixelStore.LoanerPicture.getPicture() |
Modifier and Type | Method and Description |
---|---|
Picture |
SourceImpl.decodeVideo(ByteBuffer data,
Picture target1) |
protected VideoEncoder.EncodedFrame |
SinkImpl.encodeVideo(Picture frame,
ByteBuffer _out) |
PixelStore.LoanerPicture |
Filter.filter(Picture picture,
PixelStore store) |
Constructor and Description |
---|
LoanerPicture(Picture picture,
int refCnt) |
Modifier and Type | Method and Description |
---|---|
PixelStore.LoanerPicture |
ScaleFilter.filter(Picture picture,
PixelStore store) |
PixelStore.LoanerPicture |
DumpMvFilter.filter(Picture picture,
PixelStore pixelStore) |
PixelStore.LoanerPicture |
CropFilter.filter(Picture picture,
PixelStore store) |
PixelStore.LoanerPicture |
ColorTransformFilter.filter(Picture picture,
PixelStore store) |
Modifier and Type | Field and Description |
---|---|
static Picture |
H264Const.NO_PIC |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
H264Encoder.doEncodeFrame(Picture pic,
ByteBuffer _out,
boolean idr,
int frameNumber,
SliceType frameType) |
VideoEncoder.EncodedFrame |
H264Encoder.encodeFrame(Picture pic,
ByteBuffer _out)
Encode this picture into h.264 frame.
|
ByteBuffer |
H264Encoder.encodeIDRFrame(Picture pic,
ByteBuffer _out)
Encode this picture as an IDR frame.
|
ByteBuffer |
H264Encoder.encodePFrame(Picture pic,
ByteBuffer _out)
Encode this picture as a P-frame.
|
int |
H264Encoder.estimateBufferSize(Picture frame) |
Modifier and Type | Field and Description |
---|---|
protected Picture[] |
MBlockDecoderBase.mbb |
Modifier and Type | Method and Description |
---|---|
void |
MBlockDecoderInter8x8.decode(MBlock mBlock,
Frame[][] references,
Picture mb,
SliceType sliceType,
boolean ref0) |
void |
MBlockDecoderIPCM.decode(MBlock mBlock,
Picture mb) |
void |
MBlockDecoderIntraNxN.decode(MBlock mBlock,
Picture mb) |
void |
MBlockDecoderIntra16x16.decode(MBlock mBlock,
Picture mb) |
void |
MBlockDecoderBDirect.decode(MBlock mBlock,
Picture mb,
Frame[][] references) |
void |
SliceDecoder.decode(MBlock mBlock,
SliceType sliceType,
Picture mb,
Frame[][] references) |
void |
MBlockDecoderInter.decode16x16(MBlock mBlock,
Picture mb,
Frame[][] refs,
H264Const.PartPred p0) |
void |
MBlockDecoderInter.decode16x8(MBlock mBlock,
Picture mb,
Frame[][] refs,
H264Const.PartPred p0,
H264Const.PartPred p1) |
void |
MBlockDecoderInter.decode8x16(MBlock mBlock,
Picture mb,
Frame[][] refs,
H264Const.PartPred p0,
H264Const.PartPred p1) |
void |
MBlockDecoderBase.decodeChroma(MBlock mBlock,
int mbX,
int mbY,
boolean leftAvailable,
boolean topAvailable,
Picture mb,
int qp) |
void |
MBlockSkipDecoder.decodeChromaSkip(Frame[][] reference,
H264Utils.MvList vectors,
H264Const.PartPred[] pp,
int mbX,
int mbY,
Picture mb) |
void |
MBlockSkipDecoder.decodeSkip(MBlock mBlock,
Frame[][] refs,
Picture mb,
SliceType sliceType) |
void |
BlockInterpolator.getBlockLuma(Picture pic,
Picture out,
int off,
int x,
int y,
int w,
int h)
Get block of ( possibly interpolated ) luma pixels
|
void |
MBlockDecoderBDirect.predictBDirect(Frame[][] refs,
int mbX,
int mbY,
boolean lAvb,
boolean tAvb,
boolean tlAvb,
boolean trAvb,
H264Utils.MvList x,
H264Const.PartPred[] pp,
Picture mb,
int[] blocks) |
void |
MBlockDecoderBase.predictChromaInter(Frame[][] refs,
H264Utils.MvList vectors,
int x,
int y,
int comp,
Picture mb,
H264Const.PartPred[] predType) |
void |
MBlockSkipDecoder.predictPSkip(Frame[][] refs,
int mbX,
int mbY,
boolean lAvb,
boolean tAvb,
boolean tlAvb,
boolean trAvb,
H264Utils.MvList x,
Picture mb) |
Modifier and Type | Method and Description |
---|---|
void |
DeblockingFilter.deblockFrame(Picture result) |
Modifier and Type | Method and Description |
---|---|
Picture |
EncodedMB.getPixels() |
Modifier and Type | Method and Description |
---|---|
static void |
MBEncoderI16x16.chromaResidual(Picture pic,
int mbX,
int mbY,
BitWriter out,
int qp,
int[][] ac1,
int[][] ac2,
CAVLC cavlc1,
CAVLC cavlc2,
MBType leftMBType,
MBType topMBType) |
void |
MBEncoderP16x16.encodeMacroblock(Picture pic,
int mbX,
int mbY,
BitWriter out,
EncodedMB outMB,
EncodedMB leftOutMB,
EncodedMB topOutMB,
int qp,
int qpDelta) |
void |
MBEncoderI16x16.encodeMacroblock(Picture pic,
int mbX,
int mbY,
BitWriter out,
EncodedMB outMB,
EncodedMB leftOutMB,
EncodedMB topOutMB,
int qp,
int qpDelta) |
int[] |
MotionEstimator.estimate(Picture ref,
byte[] patch,
int mbX,
int mbY,
int mvpx,
int mvpy) |
int |
MBEncoderI16x16.getCbpChroma(Picture pic,
int mbX,
int mbY) |
int |
MBEncoderI16x16.getCbpLuma(Picture pic,
int mbX,
int mbY) |
int |
MBEncoderI16x16.getPredMode(Picture pic,
int mbX,
int mbY) |
static void |
MBEncoderHelper.putBlkPic(Picture dest,
Picture src,
int x,
int y) |
Constructor and Description |
---|
MBEncoderP16x16(SeqParameterSet sps,
Picture ref,
CAVLC[] cavlc,
MotionEstimator me) |
Modifier and Type | Class and Description |
---|---|
class |
Frame
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
|
Modifier and Type | Method and Description |
---|---|
Picture |
JpegToThumb4x4.decodeField(ByteBuffer data,
byte[][] data2,
int field,
int step) |
Picture |
JpegToThumb2x2.decodeField(ByteBuffer data,
byte[][] data2,
int field,
int step) |
Picture |
JpegDecoder.decodeField(ByteBuffer data,
byte[][] data2,
int field,
int step) |
Picture |
JpegDecoder.decodeFrame(ByteBuffer data,
byte[][] data2) |
Modifier and Type | Method and Description |
---|---|
Picture |
MPEGDecoder.decodeFrame(ByteBuffer buffer,
byte[][] buf) |
Picture |
MPEGDecoder.decodePicture(MPEGDecoder.Context context,
PictureHeader ph,
ByteBuffer buffer,
byte[][] buf,
int vertOff,
int vertStep) |
Modifier and Type | Method and Description |
---|---|
protected void |
MPEGPred.predict16x16Field(Picture[] reference,
int x,
int y,
BitReader bits,
int backward,
int[][] mbPix) |
protected void |
MPEGPred.predict16x16Frame(Picture reference,
int x,
int y,
BitReader bits,
int backward,
int[][] mbPix) |
void |
MPEGPred.predict16x16NoMV(Picture picture,
int x,
int y,
int pictureStructure,
int backward,
int[][] mbPix) |
protected void |
MPEGPred.predictGeneric(Picture reference,
int x,
int y,
BitReader bits,
int backward,
int[][] mbPix,
int tgtY,
int blkW,
int blkH,
int isSrcField,
int srcField,
int isDstField,
int vectIdx,
int predScale) |
void |
MPEGPred.predictInField(Picture[] reference,
int x,
int y,
int[][] mbPix,
BitReader bits,
int motionType,
int backward,
int fieldNo) |
void |
MPEGPred.predictInFrame(Picture reference,
int x,
int y,
int[][] mbPix,
BitReader _in,
int motionType,
int backward,
int spatial_temporal_weight_code) |
void |
MPEGPred.predictMB(Picture ref,
int refX,
int vectX,
int refY,
int vectY,
int blkW,
int blkH,
int refVertStep,
int refVertOff,
int[][] tgt,
int tgtY,
int tgtVertStep) |
Modifier and Type | Method and Description |
---|---|
Picture |
MPEG4Decoder.decodeFrame(ByteBuffer data,
byte[][] buffer) |
Modifier and Type | Method and Description |
---|---|
static void |
MPEG4Decoder.putPix(Picture p,
Macroblock mb,
int x,
int y) |
static void |
MPEG4BiRenderer.renderBi(MPEG4DecodingContext ctx,
Picture[] refs,
int fcodeForward,
int fcodeBackward,
Macroblock mb) |
static void |
MPEG4Renderer.renderInter(MPEG4DecodingContext ctx,
Picture[] refs,
Macroblock mb,
int fcode,
int ref,
boolean bvop) |
Modifier and Type | Method and Description |
---|---|
Picture |
PNGDecoder.decodeFrame(ByteBuffer data,
byte[][] buffer) |
Modifier and Type | Method and Description |
---|---|
VideoEncoder.EncodedFrame |
PNGEncoder.encodeFrame(Picture pic,
ByteBuffer out) |
int |
PNGEncoder.estimateBufferSize(Picture frame) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
PPMEncoder.encodeFrame(Picture picture) |
Modifier and Type | Method and Description |
---|---|
Picture[] |
ProresDecoder.decodeFields(ByteBuffer data,
byte[][][] target) |
Picture[] |
ProresDecoder.decodeFieldsHiBD(ByteBuffer data,
byte[][][] target,
byte[][][] lowBits) |
Picture |
ProresDecoder.decodeFrame(ByteBuffer data,
byte[][] target) |
Picture |
ProresToThumb4x4.decodeFrameHiBD(ByteBuffer data,
byte[][] target,
byte[][] lowBits) |
Picture |
ProresToThumb2x2.decodeFrameHiBD(ByteBuffer data,
byte[][] target,
byte[][] lowBits) |
Picture |
ProresToThumb.decodeFrameHiBD(ByteBuffer data,
byte[][] target,
byte[][] lowBits) |
Picture |
ProresDecoder.decodeFrameHiBD(ByteBuffer data,
byte[][] target,
byte[][] lowBits) |
Modifier and Type | Method and Description |
---|---|
VideoEncoder.EncodedFrame |
ProresEncoder.encodeFrame(Picture pic,
ByteBuffer buffer) |
protected void |
ProresEncoder.encodePicture(ByteBuffer out,
int[][] scaledLuma,
int[][] scaledChroma,
int[] scan,
Picture picture,
int vStep,
int vOffset) |
protected int |
ProresEncoder.encodeSlice(ByteBuffer out,
int[][] scaledLuma,
int[][] scaledChroma,
int[] scan,
int sliceMbCount,
int mbX,
int mbY,
Picture result,
int prevQp,
int mbWidth,
int mbHeight,
boolean unsafe,
int vStep,
int vOffset) |
int |
ProresEncoder.estimateBufferSize(Picture frame) |
Modifier and Type | Method and Description |
---|---|
Picture |
V210Decoder.decode(byte[] data) |
Picture |
RAWVideoDecoder.decodeFrame(ByteBuffer data,
byte[][] buffer) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
V210Encoder.encodeFrame(ByteBuffer _out,
Picture frame) |
VideoEncoder.EncodedFrame |
RAWVideoEncoder.encodeFrame(Picture pic,
ByteBuffer _out) |
int |
RAWVideoEncoder.estimateBufferSize(Picture frame) |
Modifier and Type | Method and Description |
---|---|
Picture |
VP8Decoder.decodeFrame(ByteBuffer frame,
byte[][] buffer) |
Modifier and Type | Method and Description |
---|---|
VideoEncoder.EncodedFrame |
VP8Encoder.encodeFrame(Picture pic,
ByteBuffer _buf) |
int |
VP8Encoder.estimateBufferSize(Picture frame) |
void |
VPXMacroblock.put(int mbRow,
int mbCol,
Picture p) |
Modifier and Type | Method and Description |
---|---|
abstract Picture |
VideoDecoder.decodeFrame(ByteBuffer data,
byte[][] buffer)
Decodes a video frame to an uncompressed picture in codec native
colorspace
|
Modifier and Type | Method and Description |
---|---|
abstract VideoEncoder.EncodedFrame |
VideoEncoder.encodeFrame(Picture pic,
ByteBuffer buffer)
Encode one video frame.
|
abstract int |
VideoEncoder.estimateBufferSize(Picture frame)
Estimate the output buffer size that will likely be needed for the
current instance of encoder to encode a given frame.
|
static void |
JCodecUtil.savePictureAsPPM(Picture pic,
File file) |
Modifier and Type | Method and Description |
---|---|
Picture |
Picture.cloneCropped()
Creates a cropped clone of this picture.
|
static Picture |
Picture.copyPicture(Picture other) |
static Picture |
Picture.create(int width,
int height,
ColorSpace colorSpace) |
Picture |
Picture.createCompatible() |
static Picture |
Picture.createCropped(int width,
int height,
ColorSpace colorSpace,
Rect crop) |
static Picture |
Picture.createCroppedHiBD(int width,
int height,
int lowBitsNum,
ColorSpace colorSpace,
Rect crop) |
static Picture |
Picture.createPicture(int width,
int height,
byte[][] data,
ColorSpace color) |
static Picture |
Picture.createPictureHiBD(int width,
int height,
byte[][] data,
byte[][] lowBits,
ColorSpace color,
int lowBitsNum) |
Picture |
Picture.cropped() |
static Picture |
Picture.fromPictureHiBD(PictureHiBD pic) |
Picture |
Frame.getPic() |
Modifier and Type | Method and Description |
---|---|
boolean |
Picture.compatible(Picture src) |
void |
Picture.copyFrom(Picture src) |
static Picture |
Picture.copyPicture(Picture other) |
Constructor and Description |
---|
Frame(Picture pic,
RationalLarge pts,
RationalLarge duration,
Rational pixelAspect,
int frameNo,
TapeTimecode tapeTimecode,
List<String> messages) |
Modifier and Type | Method and Description |
---|---|
static void |
ImageOP.subImageWithFillPic8(Picture _in,
Picture out,
Rect rect) |
Modifier and Type | Method and Description |
---|---|
void |
CVTColorFilter.yuv422BitTObgr24(Picture yuv,
ByteBuffer rgb32) |
Modifier and Type | Method and Description |
---|---|
void |
BaseResampler.resample(Picture src,
Picture dst)
Interpolates points using a 2d convolution
|
void |
Yuv444jToYuv420j.transform(Picture src,
Picture dst) |
void |
Yuv422pToYuv420p.transform(Picture src,
Picture dst) |
void |
Yuv422pToRgb.transform(Picture src,
Picture dst) |
void |
Yuv420pToYuv422p.transform(Picture src,
Picture dst) |
void |
Yuv420pToRgb.transform(Picture src,
Picture dst) |
void |
Yuv420jToRgb.transform(Picture src,
Picture dst) |
void |
Transform.transform(Picture src,
Picture dst) |
void |
RgbToYuv422p.transform(Picture img,
Picture dst) |
void |
RgbToYuv420p.transform(Picture img,
Picture dst) |
void |
RgbToYuv420j.transform(Picture img,
Picture dst) |
void |
RgbToBgr.transform(Picture src,
Picture dst) |
void |
ColorUtil.Idential.transform(Picture src,
Picture dst) |
Copyright © 2019. All rights reserved.