/// <summary> /// Calculate number of words to fit complete instruction bytecode. /// </summary> /// <returns>Number of words in instruction bytecode.</returns> public override uint GetWordCount() { uint wordCount = 0; wordCount += IdResultType.GetWordCount(); wordCount += IdResult.GetWordCount(); wordCount += SkipBlockPartitionType.GetWordCount(); wordCount += SkipMotionVectorMask.GetWordCount(); wordCount += MotionVectors.GetWordCount(); wordCount += BidirectionalWeight.GetWordCount(); wordCount += SadAdjustment.GetWordCount(); wordCount += Payload.GetWordCount(); return(wordCount); }
/// <summary> /// Calculate number of words to fit complete instruction bytecode. /// </summary> /// <returns>Number of words in instruction bytecode.</returns> public override uint GetWordCount() { uint wordCount = 0; wordCount += IdResultType.GetWordCount(); wordCount += IdResult.GetWordCount(); wordCount += SrcCoord.GetWordCount(); wordCount += MotionVectors.GetWordCount(); wordCount += MajorShapes.GetWordCount(); wordCount += MinorShapes.GetWordCount(); wordCount += Direction.GetWordCount(); wordCount += PixelResolution.GetWordCount(); wordCount += BidirectionalWeight.GetWordCount(); wordCount += SadAdjustment.GetWordCount(); return(wordCount); }