Searched refs:vector (Results 1 - 25 of 130) sorted by path

123456

/frameworks/av/media/libstagefright/chromium_http/
H A Dsupport.cpp211 const std::vector<std::string>& cert_chain,
H A Dsupport.h70 const std::vector<std::string>& cert_chain,
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtransform.c434 * description: Calculate max possible scale factor for input vector of shorts
438 static Word16 getScalefactorOfShortVectorStride(const Word16 *vector, /*!< Pointer to input vector */ argument
439 Word16 len, /*!< Length of input vector */
440 Word16 stride) /*!< Stride of input vector */
447 absVal = abs_s(vector[i*stride]);
458 * description: Calculate transform filter for input vector of shorts
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvlc_decode.cpp264 * 5/10/00 : check whether the decoded vector is legal.
315 * 5/10/2000 : check to see if the decoded vector falls within
323 MOT *vector /* --> Obtained MV component in 1/2 units */
344 *vector += (MOT)(diff_vector);
346 *vector = (MOT)((*vector + half_range) & mask) - half_range;
H A Dvlc_decode.h97 PV_STATUS PV_DeScaleMVD(int f_code, int residual, int vlc_code_mag, MOT *vector);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s17 ; * The motion vector padding process is specified in subclause 7.6.1.6 of
29 ; * [in] pSrcMVLeftMB pointers to the motion vector buffers of the
32 ; * [in] pSrcMVUpperMB pointers to the motion vector buffers of the
35 ; * [in] pSrcMVUpperRightMB pointers to the motion vector buffers of the
42 ; * motion vector buffer is still filled with the
43 ; * same decoded vector.
50 ; * [out] pDstMVCurMB pointer to the motion vector buffer of the current
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s17 ; * The motion vector padding process is specified in subclause 7.6.1.6 of
29 ; * [in] pSrcMVLeftMB pointers to the motion vector buffers of the
32 ; * [in] pSrcMVUpperMB pointers to the motion vector buffers of the
35 ; * [in] pSrcMVUpperRightMB pointers to the motion vector buffers of the
42 ; * motion vector buffer is still filled with the
43 ; * same decoded vector.
50 ; * [out] pDstMVCurMB pointer to the motion vector buffer of the current
/frameworks/base/core/java/android/gesture/
H A DGestureStore.java139 return mClassifier.classify(mSequenceType, mOrientationStyle, instance.vector);
H A DGestureUtils.java271 float[] vector = new float[vectorLength];
279 vector[index] = lstPointX;
281 vector[index] = lstPointY;
301 vector[index] = nx;
303 vector[index] = ny;
318 vector[i] = lstPointX;
319 vector[i + 1] = lstPointY;
321 return vector;
H A DInstance.java35 // the feature vector
36 final float[] vector; field in class:Instance
46 vector = sample;
51 float[] sample = vector;
H A DInstanceLearner.java44 ArrayList<Prediction> classify(int sequenceType, int orientationType, float[] vector) { argument
51 if (sample.vector.length != vector.length) {
56 distance = GestureUtils.minimumCosineDistance(sample.vector, vector, orientationType);
58 distance = GestureUtils.squaredEuclideanDistance(sample.vector, vector);
H A DLearner.java83 abstract ArrayList<Prediction> classify(int sequenceType, int orientationType, float[] vector); argument
/frameworks/base/core/jni/
H A Dandroid_hardware_SensorManager.cpp141 jint accuracy = event.vector.status;
142 env->SetFloatArrayRegion(values, 0, 3, event.vector.v);
/frameworks/base/libs/androidfw/
H A DInput.cpp422 // Construct and transform a vector oriented at the specified clockwise angle from vertical.
424 SkPoint vector; local
425 vector.fX = SkFloatToScalar(sinf(angleRadians));
426 vector.fY = SkFloatToScalar(-cosf(angleRadians));
427 matrix->mapVectors(& vector, 1);
429 // Derive the transformed vector's clockwise angle from vertical.
430 float result = atan2f(SkScalarToFloat(vector.fX), SkScalarToFloat(-vector.fY));
/frameworks/base/libs/hwui/
H A DSkiaColorFilter.cpp37 SkiaColorMatrixFilter::SkiaColorMatrixFilter(SkColorFilter* skFilter, float* matrix, float* vector): argument
38 SkiaColorFilter(skFilter, kColorMatrix, true), mMatrix(matrix), mVector(vector) {
39 // Skia uses the range [0..255] for the addition vector, but we need
40 // the [0..1] range to apply the vector in GLSL
H A DSkiaColorFilter.h81 * A color filter that multiplies the source color with a matrix and adds a vector.
84 ANDROID_API SkiaColorMatrixFilter(SkColorFilter *skFilter, float* matrix, float* vector);
/frameworks/base/libs/hwui/utils/
H A DSortedList.h85 ssize_t merge(const Vector<TYPE>& vector);
86 ssize_t merge(const SortedList<TYPE>& vector);
185 inline ssize_t SortedList<TYPE>::merge(const Vector<TYPE>& vector) {
186 return SortedListImpl::merge(reinterpret_cast<const VectorImpl&> (vector));
190 inline ssize_t SortedList<TYPE>::merge(const SortedList<TYPE>& vector) {
191 return SortedListImpl::merge(reinterpret_cast<const SortedListImpl&> (vector));
H A DSortedListImpl.cpp84 ssize_t SortedListImpl::merge(const VectorImpl& vector) { argument
86 if (!vector.isEmpty()) {
87 const void* buffer = vector.arrayImpl();
89 size_t s = vector.size();
100 ssize_t SortedListImpl::merge(const SortedListImpl& vector) { argument
101 // we've merging a sorted vector... nice!
103 if (!vector.isEmpty()) {
105 if (do_compare(vector.itemLocation(vector.size() - 1), arrayImpl()) <= 0) {
106 err = VectorImpl::insertVectorAt(static_cast<const VectorImpl&> (vector),
[all...]
H A DSortedListImpl.h36 ssize_t merge(const VectorImpl& vector);
37 ssize_t merge(const SortedListImpl& vector);
52 ssize_t insertVectorAt(const VectorImpl& vector, size_t index);
53 ssize_t appendVector(const VectorImpl& vector);
/frameworks/base/media/jni/
H A Dandroid_media_Utils.h34 KeyedVector<String8, String8>* vector);
/frameworks/base/media/mca/filterfw/jni/
H A Djni_native_program.cpp18 #include <vector>
143 std::vector<const char*> input_buffers(input_count, NULL);
144 std::vector<int> input_sizes(input_count, 0);
H A Djni_shader_program.cpp18 #include <vector>
103 std::vector<const GLFrame*> input_frames;
/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.h20 #include <vector>
64 const std::vector<Point>& points() const { return points_; }
68 std::vector<Point> points_;
H A Dgl_frame.cpp23 #include <vector>
206 std::vector<const GLFrame*> sources;
377 std::vector<const GLFrame*> sources;
H A Dnative_program.cpp24 #include <vector>
103 bool NativeProgram::CallProcess(const std::vector<const char*>& inputs,
104 const std::vector<int>& input_sizes,

Completed in 2215 milliseconds

123456