/hardware/intel/common/libmix/mix_video/test/src/ |
test_framemanager.c | 13 guint64 pts; local 20 mixresult = mix_videoframe_get_timestamp(mvf, &pts); 21 g_print("dequeued timestamp = %"G_GINT64_FORMAT"\n", pts); 62 guint64 pts = 0; local 96 pts = idx * G_USEC_PER_SEC * G_GINT64_CONSTANT(1000) * fps_d / fps_n; 97 mixresult = mix_videoframe_set_timestamp(mvf, pts); 102 g_print("original timestamp = %"G_GINT64_FORMAT"\n", pts); 138 mixresult = mix_videoframe_get_timestamp(mvf_1st, &pts); 142 g_print("shuffled timestamp = %"G_GINT64_FORMAT"\n", pts); 164 mixresult = mix_videoframe_get_timestamp(mvf, &pts); [all...] |
/external/skia/src/core/ |
SkEdge.cpp | 176 int SkQuadraticEdge::setQuadratic(const SkPoint pts[3], int shift) 182 x0 = SkScalarRoundToFDot6(pts[0].fX, shift); 183 y0 = SkScalarRoundToFDot6(pts[0].fY, shift); 184 x1 = SkScalarRoundToFDot6(pts[1].fX, shift); 185 y1 = SkScalarRoundToFDot6(pts[1].fY, shift); 186 x2 = SkScalarRoundToFDot6(pts[2].fX, shift); 187 y2 = SkScalarRoundToFDot6(pts[2].fY, shift); 190 x0 = int(pts[0].fX * scale); 191 y0 = int(pts[0].fY * scale); 192 x1 = int(pts[1].fX * scale) [all...] |
SkCubicClipper.h | 30 static bool ChopMonoAtY(const SkPoint pts[4], SkScalar y, SkScalar* t);
|
SkLineClipper.h | 21 /* Clip the line pts[0]...pts[1] against clip, ignoring segments that 32 static int ClipLine(const SkPoint pts[2], const SkRect& clip,
|
SkLineClipper.cpp | 166 const SkPoint pts[] = { local 170 float x = sect_with_horizontal(pts, 0); 171 SkASSERT(is_between_unsorted(x, pts[0].fX, pts[1].fX)); 175 int SkLineClipper::ClipLine(const SkPoint pts[], const SkRect& clip, SkPoint lines[], 190 if (pts[0].fY < pts[1].fY) { 200 if (pts[index1].fY <= clip.fTop) { // we're above the clip 203 if (pts[index0].fY >= clip.fBottom) { // we're below the clip 210 memcpy(tmp, pts, sizeof(tmp)) [all...] |
/external/opencv3/modules/java/generator/src/java/ |
utils+Converters.java | 22 public static Mat vector_Point_to_Mat(List<Point> pts) { 23 return vector_Point_to_Mat(pts, CvType.CV_32S); 26 public static Mat vector_Point2f_to_Mat(List<Point> pts) { 27 return vector_Point_to_Mat(pts, CvType.CV_32F); 30 public static Mat vector_Point2d_to_Mat(List<Point> pts) { 31 return vector_Point_to_Mat(pts, CvType.CV_64F); 34 public static Mat vector_Point_to_Mat(List<Point> pts, int typeDepth) { 36 int count = (pts != null) ? pts.size() : 0; 43 Point p = pts.get(i) [all...] |
/external/skia/samplecode/ |
SampleFatBits.cpp | 29 static void apply_grid(SkPoint pts[], int count) { 31 pts[i].set(apply_grid(pts[i].fX), apply_grid(pts[i].fY)); 102 void drawLine(SkCanvas*, SkPoint pts[2]); 103 void drawRect(SkCanvas* canvas, SkPoint pts[2]); 104 void drawTriangle(SkCanvas* canvas, SkPoint pts[3]); 139 void drawTriangleSkeleton(SkCanvas* max, const SkPoint pts[]); 140 void drawLineSkeleton(SkCanvas* max, const SkPoint pts[]); 230 void FatBits::drawLineSkeleton(SkCanvas* max, const SkPoint pts[]) { [all...] |
/external/libvpx/libvpx/ |
ivfenc.h | 27 void ivf_write_frame_header(FILE *outfile, int64_t pts, size_t frame_size);
|
video_writer.h | 41 int64_t pts);
|
/external/skia/src/pathops/ |
SkIntersectionHelper.h | 51 const SkPoint* pts() const { function in class:SkIntersectionHelper 52 return fSegment->pts(); 95 return x() != pts()[0].fX; 103 return y() != pts()[0].fY;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
ivfenc.h | 27 void ivf_write_frame_header(FILE *outfile, int64_t pts, size_t frame_size);
|
video_writer.h | 41 int64_t pts);
|
/external/opencv3/samples/gpu/ |
generalized_hough.cpp | 171 Point2f pts[4]; local 172 rect.points(pts); 174 line(out, pts[0], pts[1], Scalar(0, 0, 255), 3); 175 line(out, pts[1], pts[2], Scalar(0, 0, 255), 3); 176 line(out, pts[2], pts[3], Scalar(0, 0, 255), 3); 177 line(out, pts[3], pts[0], Scalar(0, 0, 255), 3) [all...] |
/external/skia/src/effects/ |
SkDashPathEffect.cpp | 59 static bool cull_line(SkPoint* pts, const SkStrokeRec& rec, 67 SkScalar dx = pts[1].x() - pts[0].x(); 68 SkScalar dy = pts[1].y() - pts[0].y(); 77 // cullRect is in device space while pts are in the local coordinate system 90 SkScalar minX = pts[0].fX; 91 SkScalar maxX = pts[1].fX; 117 pts[0].fX = minX; 118 pts[1].fX = maxX 181 SkPoint pts[2]; local [all...] |
/external/skia/src/fonts/ |
SkTestScalerContext.cpp | 80 void SkTestFont::init(const SkScalar* pts, const unsigned char* verbs) { 88 path->moveTo(pts[0], pts[1]); 89 pts += 2; 92 path->lineTo(pts[0], pts[1]); 93 pts += 2; 96 path->quadTo(pts[0], pts[1], pts[2], pts[3]) [all...] |
/external/skia/src/utils/ |
SkDashPath.cpp | 100 SkPoint pts[2]; local 101 if (!srcPath.isLine(pts)) { 108 SkScalar dx = pts[1].x() - pts[0].x(); 109 SkScalar dy = pts[1].y() - pts[0].y(); 116 SkScalar minX = pts[0].fX; 117 SkScalar maxX = pts[1].fX; 145 pts[0].fX = minX; 146 pts[1].fX = maxX 205 SkPoint pts[4]; local [all...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PhotoTouchListener.java | 53 private float[] pts = new float[MAX_POINTER_COUNT]; field in class:PhotoTouchListener 72 alpha = (float) (Math.atan2(pts[2*a + 1] - pts[2*b + 1], 73 pts[2*a] - pts[2*b]) * 99 final float x0 = pts[0]; 100 final float y0 = pts[1]; 127 pts[i*2] = ev.getX(i); 128 pts[i*2 + 1] = ev.getY(i); 130 target.getMatrix().mapPoints(pts); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
MeasureText.java | 83 float[] pts = new float[2 + count*2]; local 86 pts[0] = x; 87 pts[1] = y; 90 pts[2 + i*2] = x; 91 pts[2 + i*2 + 1] = y; 97 canvas.drawPoints(pts, 0, (count + 1) << 1, mPaint);
|
/external/opencv3/modules/cudaimgproc/test/ |
test_gftt.cpp | 86 std::vector<cv::Point2f> pts(d_pts.cols); 87 cv::Mat pts_mat(1, d_pts.cols, CV_32FC2, (void*) &pts[0]); 93 ASSERT_EQ(pts_gold.size(), pts.size()); 96 for (size_t i = 0; i < pts.size(); ++i) 99 cv::Point2i b = pts[i]; 107 double bad_ratio = static_cast<double>(mistmatch) / pts.size();
|
/external/opencv3/modules/imgproc/test/ocl/ |
test_gftt.cpp | 101 std::vector<Point2f> upts, pts; local 105 UMatToVector(points, pts); 111 ASSERT_EQ(upts.size(), pts.size()); 114 for (size_t i = 0; i < pts.size(); ++i) 116 Point2i a = upts[i], b = pts[i]; 124 double bad_ratio = static_cast<double>(mistmatch) / pts.size();
|
/external/skia/tests/ |
PathOpsLineIntersectionTest.cpp | 113 int pts = i.intersect(line1, line2); local 114 REPORTER_ASSERT(reporter, pts); 115 REPORTER_ASSERT(reporter, pts == i.used()); 156 int pts = ts.intersect(line1, line2); local 157 REPORTER_ASSERT(reporter, pts == 2); 158 REPORTER_ASSERT(reporter, pts == ts.used()); 168 REPORTER_ASSERT(reporter, pts == 2); 169 REPORTER_ASSERT(reporter, pts == ts.used()); 177 REPORTER_ASSERT(reporter, pts == 2); 178 REPORTER_ASSERT(reporter, pts == ts.used()) 218 int pts = ts.intersect(line1, line2); local [all...] |
/external/skia/gm/ |
blurrect.cpp | 62 SkPoint pts[2] = { local 73 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), 74 SkScalarAve(pts[0].fY, pts[1].fY)); 75 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), 76 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); 77 return SkGradientShader::CreateTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7 [all...] |
blurroundrect.cpp | 96 SkPoint pts[2] = { local 107 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), 108 SkScalarAve(pts[0].fY, pts[1].fY)); 109 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), 110 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); 111 return SkGradientShader::CreateTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7 [all...] |
emptypath.cpp | 133 static void make_path_move(SkPath* path, const SkPoint pts[3]) { 135 path->moveTo(pts[i]); 139 static void make_path_move_close(SkPath* path, const SkPoint pts[3]) { 141 path->moveTo(pts[i]); 146 static void make_path_move_line(SkPath* path, const SkPoint pts[3]) { 148 path->moveTo(pts[i]); 149 path->lineTo(pts[i]); 153 typedef void (*MakePathProc)(SkPath*, const SkPoint pts[3]); 155 static void make_path_move_mix(SkPath* path, const SkPoint pts[3]) { 156 path->moveTo(pts[0]) [all...] |
/external/skia/bench/ |
DashBench.cpp | 111 SkPoint pts[2]; variable 112 if (!path.isLine(pts) || pts[0].fY != pts[1].fY) { 116 rect.fLeft = pts[0].fX; 117 rect.fTop = pts[0].fY - paint.getStrokeWidth() / 2; 125 int count = SkScalarRoundToInt((pts[1].fX - pts[0].fX) / (2*fWidth)); 283 SkPoint pts[2] = { variable 289 pts[0].fY = pts[1].fY = SkIntToScalar(i % 480) 349 const SkPoint pts[2] = { local 409 SkPoint pts[4] = { variable [all...] |