/// <summary> /// Create frame_end block. /// </summary> public virtual void CreateFrameEndBlock() { // Create frame end block. RFX_Progressive_FRAME_END frame_end_block = new RFX_Progressive_FRAME_END(); blkList.Add(frame_end_block); }
/// <summary> /// Create frame_end block. /// </summary> public override void CreateFrameEndBlock() { if ((bmTestType != RdpegfxNegativeTypes.RfxProgCodec_MissedFrameEndBlock) && (bmTestType != RdpegfxNegativeTypes.RfxProgCodec_RegionBlock_AfterFrameEndBlock)) { // Create frame end block. RFX_Progressive_FRAME_END frame_end_block = new RFX_Progressive_FRAME_END(); if (bmTestType == RdpegfxNegativeTypes.RfxProgCodec_FrameEndBlock_IncorrectLength) { frame_end_block.blockLen -= 1; // Set frame end block length to other than 6. } blkList.Add(frame_end_block); } if ((bmTestType == RdpegfxNegativeTypes.RfxProgCodec_NestedFrameBlock) || (bmTestType == RdpegfxNegativeTypes.RfxProgCodec_DuplicatedFrameEndBlock)) { // Create a frame end block. base.CreateFrameEndBlock(); } }