Home | History | Annotate | Download | only in src

Lines Matching refs:Shift

360  * Description: Divides a float value by 2^shift and 
368 * [in] shift Divides the input "v" by "2^shift"
375 OMX_U32 armShiftSat_F32(OMX_F32 v, OMX_INT shift, OMX_INT satBits)
379 OMX_F32 vShifted, vRounded, shiftDiv = (OMX_F32)(1 << shift);
716 * Returns the result of rounded right shift operation of input by the scalefactor
718 * output = Saturate_in_16Bits( ( Right/LeftShift( (Round(input) , shift ) )
722 * [in] shift The shift number
730 OMX_S16 armSatRoundRightShift_S32_S16(OMX_S32 input, OMX_INT shift)
732 input = armSatRoundLeftShift_S32(input,-shift);
753 * Returns the result of saturating left-shift operation on input
754 * Or rounded Right shift if the input Shift is negative.
758 * [in] Shift Operand for shift operation
765 OMX_S32 armSatRoundLeftShift_S32(OMX_S32 Value, OMX_INT Shift)
769 if (Shift < 0)
771 Shift = -Shift;
772 Value = armSatAdd_S32(Value, (1 << (Shift - 1)));
773 Value = Value >> Shift;
777 for (i = 0; i < Shift; i++)
789 * Returns the result of saturating left-shift operation on input
790 * Or rounded Right shift if the input Shift is negative.
794 * [in] shift Operand for shift operation
801 OMX_S64 armSatRoundLeftShift_S64(OMX_S64 Value, OMX_INT Shift)
805 if (Shift < 0)
807 Shift = -Shift;
808 Value = armSatAdd_S64(Value, ((OMX_S64)1 << (Shift - 1)));
809 Value = Value >> Shift;
813 for (i = 0; i < Shift; i++)