Searched refs:coeffs (Results 1 - 25 of 92) sorted by last modified time

1234

/external/webp/src/dec/
H A Dframe.c746 const int16_t* const coeffs = block->coeffs_; local
780 DoTransform(bits, coeffs + n * 16, dst);
788 DoTransform(bits, coeffs + n * 16, y_dst + kScan[n]);
798 DoUVTransform(bits_uv >> 0, coeffs + 16 * 16, u_dst);
799 DoUVTransform(bits_uv >> 8, coeffs + 20 * 16, v_dst);
/external/webp/src/dsp/
H A Ddsp.h133 typedef void (*VP8DecIdct)(const int16_t* coeffs, uint8_t* dst);
134 // when doing two transforms, coeffs is actually int16_t[2][16].
135 typedef void (*VP8DecIdct2)(const int16_t* coeffs, uint8_t* dst, int do_two);
H A Denc_mips32.c540 res_coeffs = (int)res->coeffs;
611 const int v = abs(res->coeffs[n]);
H A Denc_sse2.c933 void VP8SetResidualCoeffsSSE2(const int16_t* const coeffs,
936 void VP8SetResidualCoeffsSSE2(const int16_t* const coeffs, argument
938 const __m128i c0 = _mm_loadu_si128((const __m128i*)coeffs);
939 const __m128i c1 = _mm_loadu_si128((const __m128i*)(coeffs + 8));
948 // according to res->first, since coeffs[0] is 0 if res->first > 0
954 assert(res->first == 0 || coeffs[0] == 0);
956 res->coeffs = coeffs;
/external/webp/src/enc/
H A Dcost.c506 const int v = abs(res->coeffs[n]);
514 const int v = abs(res->coeffs[n]);
561 static void SetResidualCoeffs(const int16_t* const coeffs, argument
565 assert(res->first == 0 || coeffs[0] == 0);
567 if (coeffs[n]) {
572 res->coeffs = coeffs;
579 extern void VP8SetResidualCoeffsSSE2(const int16_t* const coeffs,
693 while ((v = res->coeffs[n++]) == 0) {
H A Dcost.h30 const int16_t* coeffs; member in struct:__anon33368
41 typedef void (*VP8SetResidualCoeffsFunc)(const int16_t* const coeffs,
H A Dframe.c236 const int c = res->coeffs[n++];
414 res.first, res.last, res.coeffs, tokens);
428 res.first, res.last, res.coeffs, tokens);
442 res.first, res.last, res.coeffs, tokens);
H A Dtoken.c112 const int16_t* const coeffs,
121 const int c = coeffs[n++];
111 VP8RecordCoeffTokens(int ctx, int coeff_type, int first, int last, const int16_t* const coeffs, VP8TBuffer* const tokens) argument
H A Dvp8enci.h385 const int16_t* const coeffs,
/external/skia/src/opts/
H A DSkBitmapProcState_arm_neon.cpp125 int16x4_t coeffs, coeff0, coeff1, coeff2, coeff3; local
126 coeffs = vld1_s16(filterValues);
127 coeff0 = vreinterpret_s16_u8(vtbl1_u8(vreinterpret_u8_s16(coeffs), coeff_mask0));
128 coeff1 = vreinterpret_s16_u8(vtbl1_u8(vreinterpret_u8_s16(coeffs), coeff_mask1));
129 coeff2 = vreinterpret_s16_u8(vtbl1_u8(vreinterpret_u8_s16(coeffs), coeff_mask2));
130 coeff3 = vreinterpret_s16_u8(vtbl1_u8(vreinterpret_u8_s16(coeffs), coeff_mask3));
164 uint16x4_t coeffs; local
166 coeffs = vld1_u16(reinterpret_cast<const uint16_t*>(filterValues));
167 coeffs &= vld1_u16(&mask[r][0]);
168 coeff0 = vreinterpret_s16_u8(vtbl1_u8(vreinterpret_u8_u16(coeffs), coeff_mask
415 int16x4_t coeffs, coeff0, coeff1, coeff2, coeff3; local
452 int16x4_t coeffs, coeff0, coeff1, coeff2, coeff3; local
[all...]
/external/skia/tools/
H A Dgenerate_fir_coeff.py55 coeffs = []
71 coeffs.append(coverage * target_sum)
81 # The coeffs add up to too much. Subtract 1 from the ones which were rounded up the most.
85 # The coeffs add up to too little. Add 1 to the ones which were rounded down the most.
91 for coeff, coeff_rounded in zip(coeffs, coeffs_rounded)]
111 print "Adding %d to index %d to force round %f." % (delta, coeff_pkg[i].index, coeffs[coeff_pkg[i].index])
118 print sum(coeffs), hex(sum(coeffs_rounded))
/external/skia/experimental/Intersection/
H A DCubicParameterizationCode.cpp177 typedef std::vector<coeff> coeffs; typedef
178 typedef std::vector<coeffs> n_coeffs;
194 static void match(const char* str, size_t len, coeffs& co, const char pattern[]) {
277 coeffs& co = *it;
290 for (coeffs::iterator ct = co.begin(); ct < co.end(); ++ct) {
H A DCubicParameterization_TestUtility.cpp6 static void parameter_coeffs(const Cubic& cubic, double coeffs[coeff_count]) { argument
18 calc_ABCD(ax, ay, coeffs);
30 calc_ABCD(ax, bx, cx, dx, ay, by, cy, dy, coeffs);
34 coeffs[index] = (*calc_proc[procIndex])(ax, bx, cx, dx, ay, by, cy, dy);
39 double coeffs[coeff_count]; local
40 parameter_coeffs(cubic, coeffs);
41 double xxx = coeffs[xxx_coeff] * point.x * point.x * point.x;
42 double xxy = coeffs[xxy_coeff] * point.x * point.x * point.y;
43 double xyy = coeffs[xyy_coeff] * point.x * point.y * point.y;
44 double yyy = coeffs[yyy_coef
[all...]
/external/skia/include/gpu/gl/
H A DGrGLFunctions.h245 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPathColorGenProc)(GrGLenum color, GrGLenum genMode, GrGLenum colorFormat, const GrGLfloat *coeffs);
246 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPathTexGenProc)(GrGLenum texCoordSet, GrGLenum genMode, GrGLint components, const GrGLfloat *coeffs);
/external/opencv/cv/src/
H A D_cvipp.h224 const double* coeffs, int interpolate ))
241 const double* coeffs, int interpolate ))
259 const double* coeffs, int interpolate ))
H A Dcvfilter.cpp2138 float* coeffs;
2175 coeffs = (float*)((uchar**)(nz_loc + k_sparse_count) + k_sparse_count);
2179 coeffs[k] = CV_MAT_ELEM( *kernel, float, nz_loc[k].y, nz_loc[k].x );
H A Dcvfundam.cpp691 CvMat coeffs = cvMat( 1, 4, CV_64F, c ); local
762 n = cvSolveCubic( &coeffs, &roots );
H A Dcvimgwarp.cpp1068 const double* coeffs, int interpolation );
1344 const double* coeffs, int interpolation );
/external/opencv/cvaux/include/
H A Dcvaux.h91 float* coeffs );
95 void* userData, float* coeffs, IplImage* avg,
530 double coeffs[2][3][3];/* coefficients for transformation */ member in struct:CvStereoCamera
553 CVAPI(int) icvConvertWarpCoordinates(double coeffs[3][3],
566 CvStereoLineCoeff* coeffs,
599 CVAPI(void) cvComputePerspectiveMap( const double coeffs[3][3], CvArr* rectMapX, CvArr* rectMapY );
611 CvStereoLineCoeff* coeffs,
626 CvStereoLineCoeff* coeffs);
/external/opencv/cvaux/src/
H A Dcvcalibfilter.cpp684 /* Save coeffs */
689 fprintf(f, "%15.10lf ", stereo.coeffs[i][j/3][j%3] );
739 /* Load coeffs */
744 fscanf(f, "%lf ", &(stereo.coeffs[i][j/3][j%3]) );
812 cvComputePerspectiveMap(stereo.coeffs[i], rectMap[i][0], rectMap[i][1]);
H A Dcveigenobjects.cpp954 // coeffs - calculated coefficients (output data)
964 CvSize size, float *coeffs )
975 if( obj == NULL || eigInput == NULL || coeffs == NULL || avg == NULL )
1013 coeffs[i] = w;
1027 coeffs[i] = w;
1043 // coeffs - Previously calculated decomposition coefficients
1056 int ioFlags, void *userData, float *coeffs,
1068 if( rest == NULL || eigInput == NULL || avg == NULL || coeffs == NULL )
1110 float c = coeffs[k];
1592 // coeffs
1055 icvEigenProjection_8u32fR( int nEigObjs, void *eigInput, int eigStep, int ioFlags, void *userData, float *coeffs, float *avg, int avgStep, uchar * rest, int restStep, CvSize size ) argument
1715 cvEigenProjection( void* eigInput, int nEigObjs, int ioFlags, void* userData, float* coeffs, IplImage* avg, IplImage* proj ) argument
[all...]
H A Dcvepilines.cpp100 CvStereoLineCoeff* coeffs,
116 partX = coeffs->Xcoef + coeffs->XcoefA *alpha +
117 coeffs->XcoefB*betta + coeffs->XcoefAB*alphabetta;
119 partY = coeffs->Ycoef + coeffs->YcoefA *alpha +
120 coeffs->YcoefB*betta + coeffs->YcoefAB*alphabetta;
122 partZ = coeffs
99 icvCompute3DPoint( double alpha,double betta, CvStereoLineCoeff* coeffs, CvPoint3D64d* point) argument
339 icvComCoeffForLine( CvPoint2D64d point1, CvPoint2D64d point2, CvPoint2D64d point3, CvPoint2D64d point4, CvMatr64d camMatr1, CvMatr64d rotMatr1, CvMatr64d transVect1, CvMatr64d camMatr2, CvMatr64d rotMatr2, CvMatr64d transVect2, CvStereoLineCoeff* coeffs, int* needSwapCamera) argument
598 icvComputeStereoLineCoeffs( CvPoint3D64d pointA, CvPoint3D64d pointB, CvPoint3D64d pointCam1, double gamma, CvStereoLineCoeff* coeffs) argument
2365 icvComputePerspectiveCoeffs(const CvPoint2D32f srcQuad[4],const CvPoint2D32f dstQuad[4],double coeffs[3][3]) argument
[all...]
H A Dcvtrifocal.cpp336 /* we have computed coeffs for reduced project matrix */
1570 CvMat coeffs; local
1574 coeffs = cvMat(1,4,CV_64F,coeffs_dat);
1582 num = cvSolveCubic(&coeffs,&result);
1684 /* Get second coeffs */
2681 /* Now first 10 elements has coeffs */
/external/opencv/cxcore/include/
H A Dcxcore.h689 CVAPI(int) cvSolveCubic( const CvMat* coeffs, CvMat* roots );
692 CVAPI(void) cvSolvePoly(const CvMat* coeffs, CvMat *roots,
/external/opencv/cxcore/src/
H A D_cxipp.h583 CvSize roisize, const float* coeffs ))

Completed in 608 milliseconds

1234