Searched refs:static_cast (Results 1 - 25 of 103) sorted by path

12345

/frameworks/av/include/media/
H A DAudioResampler.h122 // (static_cast<uint64_t>(outFrameCount)*mInSampleRate + (mSampleRate - 1))/mSampleRate;
125 // ceil(static_cast<double>(outFrameCount) * mInSampleRate / mSampleRate);
143 return (static_cast<uint64_t>(outFrameCount)*mInSampleRate
H A DInterpolator.h297 ss << "Interpolator{mInterpolatorType=" << static_cast<int32_t>(mInterpolatorType);
H A DModulo.h141 return static_cast<signedT>(mValue - other.unsignedValue()) > 0;
148 return static_cast<signedT>(mValue - other.unsignedValue()) >= 0;
155 return static_cast<signedT>(mValue - other.unsignedValue()) == 0;
162 return static_cast<signedT>(mValue - other.unsignedValue()) <= 0;
169 return static_cast<signedT>(mValue - other.unsignedValue()) < 0;
H A DTypeConverter.h193 value |= static_cast<uint32_t>(type);
213 toString(static_cast<typename Traits::Type>(0), str);
H A DVolumeShaper.h137 : Interpolator<S, T>(*static_cast<const Interpolator<S, T> *>(&configuration))
317 ss << "VolumeShaper::Configuration{mType=" << static_cast<int32_t>(mType);
320 ss << ", mOptionFlags=" << static_cast<int32_t>(mOptionFlags);
441 ss << "VolumeShaper::Operation{mFlags=" << static_cast<int32_t>(mFlags) ;
688 const double minScale = 1. / static_cast<double>(INT64_MAX);
695 mXTranslate.setOffset(static_cast<float>(static_cast<double>(startFrame)
696 - static_cast<double>(normalizedTime) / scale));
697 mXTranslate.setScale(static_cast<float>(scale));
H A Dconvert.h246 result = static_cast<int16_t>(res);
/frameworks/av/include/media/omx/1.0/
H A DConversion.h198 t.isOk() ? static_cast<status_t>(static_cast<Status>(t)) : UNKNOWN_ERROR);
218 return t.isOk() ? static_cast<status_t>(static_cast<Status>(t)) : UNKNOWN_ERROR;
240 return static_cast<status_t>(t);
251 return static_cast<Status>(l);
463 static_cast<ColorAspects::Range>(l.mRange),
464 static_cast<ColorAspects::Primaries>(l.mPrimaries),
465 static_cast<ColorAspects::Transfer>(l.mTransfer),
466 static_cast<ColorAspect
[all...]
/frameworks/av/include/media/stagefright/foundation/
H A DAData.h245 *data = static_cast<Tp*>(src.get());
251 *data = static_cast<Tp*>(__tmp.get());
257 *data = static_cast<Tp*>(__tmp.get());
343 *data = static_cast<Tp*>(__tmp.get());
355 *data = std::unique_ptr<Tp, Td>(static_cast<Tp*>(src.release()));
/frameworks/av/media/img_utils/include/img_utils/
H A DTiffEntryImpl.h66 : mTag(tag), mType(static_cast<uint16_t>(type)), mCount(count), mEnd(end) {
87 return static_cast<TagType>(mType);
/frameworks/av/media/libaudiohal/
H A DConversionHelperHidl.h43 *retval = static_cast<T>(static_cast<R>(ret));
/frameworks/av/media/libaudioprocessing/
H A DAudioMixerOps.h107 return static_cast<float>(value) * static_cast<float>(volume) * norm;
113 return static_cast<float>(value) * static_cast<float>(volume) * norm;
H A DAudioResamplerFirGen.h156 return static_cast<int64_t>(ival);
160 return static_cast<int64_t>(floor(x * maxval + 0.5));
424 double accum = static_cast<double>(coef[0])*0.5; // "center coefficient" from first bank
430 accum += cos(ix*w)*static_cast<double>(*coef++);
475 sc = static_cast<double>(*coef++) + dcos*sc - sp;
689 double x = static_cast<double>(ix);
700 *coef++ = static_cast<T>(toint(y, 1ULL<<(sizeof(T)*8-1), err));
702 *coef++ = static_cast<T>(toint(y, 1ULL<<(sizeof(T)*8-1)));
704 *coef++ = static_cast<T>(y);
H A DAudioResamplerFirOps.h76 int16_t v = left ? static_cast<int16_t>(vRL) : static_cast<int16_t>(vRL>>16);
77 return static_cast<int32_t>((static_cast<int64_t>(in) * v) >> 16);
107 return a + static_cast<int32_t>((static_cast<int64_t>(v) * in) >> 16);
122 return a + static_cast<int32_t>((static_cast<int64_t>(v) * in) >> 32);
144 int16_t s = left ? static_cast<int16_t>(inRL) : static_cast<int16_
[all...]
H A DAudioResamplerFirProcess.h123 return (static_cast<int16_t>(lerp) * static_cast<int16_t>(coef_1 - coef_0) >> 15) + coef_0;
130 return (lerp * static_cast<int64_t>(coef_1 - coef_0) >> 31) + coef_0;
/frameworks/av/media/libaudioprocessing/include/
H A DAudioResampler.h122 // (static_cast<uint64_t>(outFrameCount)*mInSampleRate + (mSampleRate - 1))/mSampleRate;
125 // ceil(static_cast<double>(outFrameCount) * mInSampleRate / mSampleRate);
143 return (static_cast<uint64_t>(outFrameCount)*mInSampleRate
/frameworks/av/media/libeffects/loudness/common/core/
H A Dmath.h45 return static_cast<float>(val + log_2);
82 return static_cast<T>(std::floor(static_cast<double>(x) + 0.5));
/frameworks/av/media/libeffects/loudness/dsp/core/
H A Dinterpolator_base-inl.h124 status_ = static_cast<Algorithm*>(this)->SetInternalState();
175 return static_cast<Algorithm*>(this)->MethodSpecificInterpolation(x);
/frameworks/av/media/libmedia/include/media/
H A DModulo.h141 return static_cast<signedT>(mValue - other.unsignedValue()) > 0;
148 return static_cast<signedT>(mValue - other.unsignedValue()) >= 0;
155 return static_cast<signedT>(mValue - other.unsignedValue()) == 0;
162 return static_cast<signedT>(mValue - other.unsignedValue()) <= 0;
169 return static_cast<signedT>(mValue - other.unsignedValue()) < 0;
H A DTypeConverter.h193 value |= static_cast<uint32_t>(type);
213 toString(static_cast<typename Traits::Type>(0), str);
H A Dconvert.h246 result = static_cast<int16_t>(res);
/frameworks/av/media/libstagefright/codec2/include/
H A DC2.h256 static_cast<typename c2_types<T, U>::mintype>(a_ < b_ ? a_ : b_);
277 static_cast<typename c2_types<T, rest_type>::mintype>(a_ < b_ ? a_ : b_);
/frameworks/av/media/libstagefright/foundation/include/foundation/
H A DAData.h245 *data = static_cast<Tp*>(src.get());
251 *data = static_cast<Tp*>(__tmp.get());
257 *data = static_cast<Tp*>(__tmp.get());
343 *data = static_cast<Tp*>(__tmp.get());
355 *data = std::unique_ptr<Tp, Td>(static_cast<Tp*>(src.release()));
/frameworks/av/media/libstagefright/include/foundation/
H A DAData.h245 *data = static_cast<Tp*>(src.get());
251 *data = static_cast<Tp*>(__tmp.get());
257 *data = static_cast<Tp*>(__tmp.get());
343 *data = static_cast<Tp*>(__tmp.get());
355 *data = std::unique_ptr<Tp, Td>(static_cast<Tp*>(src.release()));
/frameworks/av/media/libstagefright/omx/1.0/
H A DConversion.h211 return t.isOk() ? static_cast<status_t>(static_cast<Status>(t)) : UNKNOWN_ERROR;
233 return static_cast<status_t>(t);
244 return static_cast<Status>(l);
456 static_cast<ColorAspects::Range>(l.mRange),
457 static_cast<ColorAspects::Primaries>(l.mPrimaries),
458 static_cast<ColorAspects::Transfer>(l.mTransfer),
459 static_cast<ColorAspects::MatrixCoeffs>(l.mMatrixCoeffs)};
471 static_cast<ColorAspects::Range>((l >> 24) & 0xFF),
472 static_cast<ColorAspect
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h503 static_cast<ARTSPResponse *>(obj.get());
619 static_cast<ASessionDescription *>(obj.get());
675 static_cast<ARTSPResponse *>(obj.get());
805 static_cast<ARTSPResponse *>(obj.get());
1144 static_cast<ARTSPResponse *>(obj.get());
1290 static_cast<ARTSPResponse *>(obj.get());

Completed in 789 milliseconds

12345