/// <summary>
 /// Write instruction operands into bytecode stream.
 /// </summary>
 /// <param name="writer">Bytecode writer.</param>
 public override void WriteOperands(WordWriter writer)
 {
     RefOffset.Write(writer);
     SrcCoord.Write(writer);
     RefWindowSize.Write(writer);
     ImageSize.Write(writer);
 }
 /// <summary>
 /// Write instruction operands into bytecode stream.
 /// </summary>
 /// <param name="writer">Bytecode writer.</param>
 public override void WriteOperands(WordWriter writer)
 {
     SrcCoord.Write(writer);
     MotionVectors.Write(writer);
     MajorShapes.Write(writer);
     MinorShapes.Write(writer);
     Direction.Write(writer);
     PixelResolution.Write(writer);
     SadAdjustment.Write(writer);
 }
Пример #3
0
        /// <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 += PartitionMask.GetWordCount();
            wordCount += SADAdjustment.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 += RefOffset.GetWordCount();
            wordCount += SrcCoord.GetWordCount();
            wordCount += RefWindowSize.GetWordCount();
            wordCount += ImageSize.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 += SadAdjustment.GetWordCount();
            return(wordCount);
        }
Пример #6
0
 /// <summary>
 /// Write instruction operands into bytecode stream.
 /// </summary>
 /// <param name="writer">Bytecode writer.</param>
 public override void WriteOperands(WordWriter writer)
 {
     SrcCoord.Write(writer);
     PartitionMask.Write(writer);
     SADAdjustment.Write(writer);
 }