/* * myLib - https://github.com/taktod/myLib * Copyright (c) 2014 ttProject. All rights reserved. * * Licensed under The MIT license. */ package com.ttProject.frame.flv1.type; import com.ttProject.frame.flv1.Flv1Frame; import com.ttProject.unit.extra.Bit; import com.ttProject.unit.extra.bit.Bit17; import com.ttProject.unit.extra.bit.Bit1; import com.ttProject.unit.extra.bit.Bit2; import com.ttProject.unit.extra.bit.Bit3; import com.ttProject.unit.extra.bit.Bit5; import com.ttProject.unit.extra.bit.Bit8; /** * intraFrame(keyFrame) * @author taktod */ public class IntraFrame extends Flv1Frame { /** * constructor * @param pictureStartCode * @param version * @param temporalReference * @param pictureSize * @param customWidth * @param customHeight * @param width * @param height * @param pictureType * @param deblockingFlag * @param quantizer * @param extraInformationFlag * @param extraInformation * @param extra */ public IntraFrame(Bit17 pictureStartCode, Bit5 version, Bit8 temporalReference, Bit3 pictureSize, Bit customWidth, Bit customHeight, int width, int height, Bit2 pictureType, Bit1 deblockingFlag, Bit5 quantizer, Bit1 extraInformationFlag, Bit8 extraInformation, Bit extra) { super(pictureStartCode, version, temporalReference, pictureSize, customWidth, customHeight, width, height, pictureType, deblockingFlag, quantizer, extraInformationFlag, extraInformation, extra); super.setKeyFrame(true); } }