HomeSort by relevance Sort by last modified time
    Searched defs:Log2 (Results 1 - 9 of 9) sorted by null

  /frameworks/av/media/libstagefright/codecs/amrnb/common/src/
log2.cpp 30 Filename: /audio/gsm_amr/c/src/log2.c
59 #include "log2.h"
87 FUNCTION NAME: log2()
93 pExponent = pointer to the integer part of Log2 of type Word16 whose
95 pFraction = pointer to the fractional part of Log2 of type Word16
101 pExponent -> integer part of the newly calculated Log2
102 pFraction -> fractional part of the newly calculated Log2
103 pOverflow -> 1 if the log2() operation resulted in saturation
131 [1] log2.c, UMTS GSM AMR speech codec, R99 - Version 3.2.0, March 2, 2001
163 void Log2(
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
log2.c 19 * File : log2.c *
20 * Purpose : Computes log2(L_x) *
24 #include "log2.h"
34 #include "log2_tab.h" /* Table for Log2() */
40 * PURPOSE: Computes log2(L_x, exp), where L_x is positive and
45 * The function Log2(L_x) is approximated by a table and linear
46 * interpolation. The following steps are used to compute Log2(L_x)
59 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */
60 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */
88 * FUNCTION: Log2()
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
typedefs.h 183 #define Log2 voAWB_Log2
  /external/llvm/lib/Transforms/InstCombine/
InstCombineMulDivRem.cpp 257 // log2(Y*0.5)
262 static void detectLog2OfHalf(Value *&Op, Value *&Y, IntrinsicInst *&Log2) {
270 if (II->getIntrinsicID() != Intrinsic::log2 || !II->hasUnsafeAlgebra())
272 Log2 = II;
445 // X * log2(0.5*Y) = X*log2(Y) - X
449 IntrinsicInst *Log2;
450 detectLog2OfHalf(Op0, OpY, Log2);
454 detectLog2OfHalf(Op1, OpY, Log2);
461 Log2->setArgOperand(0, OpY)
    [all...]
  /hardware/qcom/media/mm-video/vidc/venc/src/
video_encoder_device.cpp 135 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } }
136 #define Q16ToFraction(q,num,den) { OMX_U32 power; Log2(q,power); num = q >> power; den = 0x1 << (16 - power); }
    [all...]
video_encoder_device_copper.cpp 134 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } }
135 #define Q16ToFraction(q,num,den) { OMX_U32 power; Log2(q,power); num = q >> power; den = 0x1 << (16 - power); }
    [all...]
  /hardware/qcom/media/mm-video/vidc/venc/test/
venc_test.cpp 209 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } }
210 #define FractionToQ16(q,num,den) { OMX_U32 power; Log2(den,power); q = num << (16 - power); }
    [all...]
  /hardware/qcom/media/mm-video/vidc/vdec/src/
omx_vdec_copper.cpp 121 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } }
122 #define Q16ToFraction(q,num,den) { OMX_U32 power; Log2(q,power); num = q >> power; den = 0x1 << (16 - power); }
    [all...]
omx_vdec.cpp 147 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } }
148 #define Q16ToFraction(q,num,den) { OMX_U32 power; Log2(q,power); num = q >> power; den = 0x1 << (16 - power); }
    [all...]

Completed in 130 milliseconds