package org.jcodec.codecs.h264.encode; import org.jcodec.codecs.h264.io.model.MBType; import org.jcodec.common.model.ColorSpace; import org.jcodec.common.model.Picture8Bit; /** * This class is part of JCodec ( www.jcodec.org ) This software is distributed * under FreeBSD License * * @author The JCodec project */ public class EncodedMB { private Picture8Bit pixels; private MBType type; private int qp; private int[] nc; private int[] mx; private int[] my; public EncodedMB() { pixels = Picture8Bit.create(16, 16, ColorSpace.YUV420J); nc = new int[16]; mx = new int[16]; my = new int[16]; } public Picture8Bit getPixels() { return pixels; } public MBType getType() { return type; } public void setType(MBType type) { this.type = type; } public int getQp() { return qp; } public void setQp(int qp) { this.qp = qp; } public int[] getNc() { return nc; } public int[] getMx() { return mx; } public int[] getMy() { return my; } }