HomeSort by relevance Sort by last modified time
    Searched defs:Log2 (Results 1 - 17 of 17) 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...]
  /external/chromium_org/third_party/sfntly/cpp/src/sfntly/math/
font_math.h 26 static int32_t Log2(int32_t a) {
  /external/sfntly/cpp/src/sfntly/math/
font_math.h 26 static int32_t Log2(int32_t a) {
  /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 289 // log2(Y*0.5)
294 static void detectLog2OfHalf(Value *&Op, Value *&Y, IntrinsicInst *&Log2) {
302 if (II->getIntrinsicID() != Intrinsic::log2 || !II->hasUnsafeAlgebra())
304 Log2 = II;
477 // X * log2(0.5*Y) = X*log2(Y) - X
481 IntrinsicInst *Log2;
482 detectLog2OfHalf(Op0, OpY, Log2);
486 detectLog2OfHalf(Op1, OpY, Log2);
493 Log2->setArgOperand(0, OpY)
    [all...]
  /hardware/qcom/media/mm-video-legacy/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-v4l2/vidc/venc/src/
video_encoder_device.cpp 130 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } }
131 #define Q16ToFraction(q,num,den) { OMX_U32 power; Log2(q,power); num = q >> power; den = 0x1 << (16 - power); }
    [all...]
video_encoder_device_v4l2.cpp 159 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } }
160 #define Q16ToFraction(q,num,den) { OMX_U32 power; Log2(q,power); num = q >> power; den = 0x1 << (16 - power); }
    [all...]
  /hardware/qcom/media/mm-video-legacy/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-v4l2/vidc/venc/test/
venc_test.cpp 249 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } }
250 #define FractionToQ16(q,num,den) { OMX_U32 power; Log2(den,power); q = num << (16 - power); }
    [all...]
  /hardware/qcom/media/mm-video-legacy/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...]
  /hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
omx_vdec.cpp 161 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } }
162 #define Q16ToFraction(q,num,den) { OMX_U32 power; Log2(q,power); num = q >> power; den = 0x1 << (16 - power); }
    [all...]
omx_vdec_hevc.cpp 127 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } }
128 #define Q16ToFraction(q,num,den) { OMX_U32 power; Log2(q,power); num = q >> power; den = 0x1 << (16 - power); }
    [all...]
omx_vdec_msm8974.cpp 126 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } }
127 #define Q16ToFraction(q,num,den) { OMX_U32 power; Log2(q,power); num = q >> power; den = 0x1 << (16 - power); }
    [all...]

Completed in 3431 milliseconds