org.jcodec.codecs.h264
Class H264Decoder
java.lang.Object
org.jcodec.codecs.h264.H264Decoder
- All Implemented Interfaces:
- VideoDecoder
public class H264Decoder
- extends Object
- implements VideoDecoder
This class is part of JCodec ( www.jcodec.org ) This software is distributed
under FreeBSD License
MPEG 4 AVC ( H.264 ) Decoder
Conforms to H.264 ( ISO/IEC 14496-10 ) specifications
- Author:
- The JCodec project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
H264Decoder
public H264Decoder()
decodeFrame
public Frame decodeFrame(ByteBuffer data,
int[][] buffer)
- Description copied from interface:
VideoDecoder
- Decodes a video frame to an uncompressed picture in codec native
colorspace
- Specified by:
decodeFrame in interface VideoDecoder
- Parameters:
data - Compressed frame data
decodeFrame
public Frame decodeFrame(List<ByteBuffer> nalUnits,
int[][] buffer)
createFrame
public static Frame createFrame(SeqParameterSet sps,
int[][] buffer,
int frame_num,
int[][][][] mvs,
Frame[][][] refsUsed,
int POC)
addSps
public void addSps(List<ByteBuffer> spsList)
addPps
public void addPps(List<ByteBuffer> ppsList)
probe
public int probe(ByteBuffer data)
- Description copied from interface:
VideoDecoder
- Tests if compressed frame can be decoded with this decoder
- Specified by:
probe in interface VideoDecoder
- Parameters:
data - Compressed frame data
- Returns:
setDebug
public void setDebug(boolean b)
Copyright © 2013. All Rights Reserved.