/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/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...] |
/external/opencv3/modules/cudev/include/opencv2/cudev/util/ |
type_traits.hpp | 76 // Log2 (compile time calculation) 78 template <int N, int CURRENT_VAL = N, int COUNT = 0> struct Log2 80 enum { value = Log2<N, (CURRENT_VAL >> 1), COUNT + 1>::VALUE }; 82 template <int N, int COUNT> struct Log2<N, 0, COUNT>
|
/external/webrtc/webrtc/base/ |
optional_unittest.cc | 55 Log2("swap", a, b); 58 Log2("operator==", a, b); 62 Log2("operator!=", a, b); 90 static void Log2(const char* msg, const Logger& a, const Logger& b) {
|
/external/llvm/include/llvm/Support/ |
MathExtras.h | 456 /// Log2 - This function returns the log base 2 of the specified value 457 inline double Log2(double Value) { 461 return log2(Value); 691 // Log2(Z) would be either Log2Z or Log2Z + 1.
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
typedefs.h | 183 #define Log2 voAWB_Log2
|
/external/llvm/lib/Target/Mips/ |
MipsSEISelDAGToDAG.cpp | 607 int32_t Log2 = ImmValue.exactLogBase2(); 609 if (Log2 != -1) { 610 Imm = CurDAG->getTargetConstant(Log2, SDLoc(N), EltTy); 694 int32_t Log2 = (~ImmValue).exactLogBase2(); 696 if (Log2 != -1) { 697 Imm = CurDAG->getTargetConstant(Log2, SDLoc(N), EltTy); [all...] |
MipsSEISelLowering.cpp | 577 unsigned Log2 = Log2IfPositive; 579 if ((Op0Opcode == MipsISD::VEXTRACT_ZEXT_ELT && Log2 >= ExtendTySize) || 580 Log2 == ExtendTySize) { 809 // If c is power of 2, return (shl x, log2(c)). 819 // where floor_c = pow(2, floor(log2(c))) and ceil_c = pow(2, ceil(log2(c))), [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineMulDivRem.cpp | 404 /// Detect pattern log2(Y * 0.5) with corresponding fast math flags. 405 static void detectLog2OfHalf(Value *&Op, Value *&Y, IntrinsicInst *&Log2) { 412 if (II->getIntrinsicID() != Intrinsic::log2 || !II->hasUnsafeAlgebra()) 414 Log2 = II; 622 // X * log2(0.5*Y) = X*log2(Y) - X 626 IntrinsicInst *Log2; 627 detectLog2OfHalf(Op0, OpY, Log2); 631 detectLog2OfHalf(Op1, OpY, Log2); 639 Builder->SetFastMathFlags(Log2->getFastMathFlags()) [all...] |
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
video_encoder_device.cpp | 133 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } } 134 #define Q16ToFraction(q,num,den) { OMX_U32 power; Log2(q,power); num = q >> power; den = 0x1 << (16 - power); } [all...] |
video_encoder_device_copper.cpp | 132 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } } 133 #define Q16ToFraction(q,num,den) { OMX_U32 power; Log2(q,power); num = q >> power; den = 0x1 << (16 - power); } [all...] |
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
video_encoder_device.cpp | 129 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } } 130 #define Q16ToFraction(q,num,den) { OMX_U32 power; Log2(q,power); num = q >> power; den = 0x1 << (16 - power); } [all...] |
video_encoder_device_v4l2.cpp | 206 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } } 207 #define Q16ToFraction(q,num,den) { OMX_U32 power; Log2(q,power); num = q >> power; den = 0x1 << (16 - power); } [all...] |
/hardware/qcom/media/msm8996/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...] |
/hardware/qcom/media/msmcobalt/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...] |
/hardware/qcom/media/msm8974/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/msm8974/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/msm8996/videopp/src/ |
omx_vdpp.cpp | 100 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } } 101 #define Q16ToFraction(q,num,den) { OMX_U32 power; Log2(q,power); num = q >> power; den = 0x1 << (16 - power); } [all...] |
/hardware/qcom/media/msmcobalt/videopp/src/ |
omx_vdpp.cpp | 100 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } } 101 #define Q16ToFraction(q,num,den) { OMX_U32 power; Log2(q,power); num = q >> power; den = 0x1 << (16 - power); } [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
TargetLowering.cpp | [all...] |
/hardware/qcom/media/msm8974/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/msm8974/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 | 133 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } } 134 #define Q16ToFraction(q,num,den) { OMX_U32 power; Log2(q,power); num = q >> power; den = 0x1 << (16 - power); } [all...] |