首页> 外国专利> A method and apparatus for computing the average of two integers rounded from zero within a single instruction cycle (Calculating the average of two integer numbers rounded away from a single instruction cycle)

A method and apparatus for computing the average of two integers rounded from zero within a single instruction cycle (Calculating the average of two integer numbers rounded away from a single instruction cycle)

机译:一种用于在单个指令周期内计算从零取整的两个整数的平均值的方法和装置(计算从单个指令周期取整的两个整数的平均值)

摘要

The average of two integers with or without a sign rounded from 0 as defined in the MPEG standard is calculated by shifting each operand number to the right, summing the shifted operand numbers, and then incrementing the result, /RTI The shifted operation numbers are added by the adder, and the adder provides the sum of the shifted operation numbers and the sum of the shifted operation numbers + 1. The multiplexer controlled by the control circuit selects one of the sum output and sum + 1 output. The increment (selection of sum + 1 output) is made based on the checking of the shifted out bits of the operands and the most significant bit of the sum and the mode signal indicating whether the operands are signed or not.
机译:通过将每个操作数向右移位,将移位后的操作数相加,然后将结果递增,来计算MPEG标准中定义的,带有或没有从0舍入的符号的两个整数的平均值。由加法器相加后,加法器提供移位后的操作数之和与移位后的操作数之和+1。由控制电路控制的多路复用器选择和输出和和+1输出之一。基于对操作数的移出位和和的最高有效位以及指示操作数是否带符号的模式信号的检查,来进行增量(选择总和+1输出)。

著录项

  • 公开/公告号KR970073161A

    专利类型

  • 公开/公告日1997-11-07

    原文格式PDF

  • 申请/专利权人 윤종용;

    申请/专利号KR19970012509

  • 发明设计人 로니 에스 웡;

    申请日1997-04-04

  • 分类号H04N7/32;

  • 国家 KR

  • 入库时间 2022-08-22 03:16:12

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号