Home
last modified time | relevance | path

Searched refs:aspect_ratio (Results 1 – 17 of 17) sorted by relevance

/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/
DVUIParameters.java62 public AspectRatio aspect_ratio; field in VUIParameters
91 ", aspect_ratio=" + aspect_ratio + "\n" + in toString()
DSeqParameterSet.java198 vuip.aspect_ratio = AspectRatio.fromValue((int) reader.readNBit(8, in ReadVUIParameters()
200 if (vuip.aspect_ratio == AspectRatio.Extended_SAR) { in ReadVUIParameters()
406 writer.writeNBit(vuip.aspect_ratio.getValue(), 8, in writeVUIParameters()
408 if (vuip.aspect_ratio == AspectRatio.Extended_SAR) { in writeVUIParameters()
/external/opencv3/modules/calib3d/src/
Dcheckchessboard.cpp75 float aspect_ratio = box.size.width/MAX(box.size.height, 1); in icvGetQuadrangleHypotheses() local
76 if(aspect_ratio < min_aspect_ratio || aspect_ratio > max_aspect_ratio) in icvGetQuadrangleHypotheses()
Dfisheye.cpp545 …double aspect_ratio = (K.depth() == CV_32F) ? K.getMat().at<float >(0,0)/K.getMat().at<float> (1,1) in estimateNewCameraMatrixForUndistortRectify() local
549 cn[0] *= aspect_ratio; in estimateNewCameraMatrixForUndistortRectify()
551 pptr[i][1] *= aspect_ratio; in estimateNewCameraMatrixForUndistortRectify()
575 double f3 = h * 0.5 * aspect_ratio/(cn[1] - miny); in estimateNewCameraMatrixForUndistortRectify()
576 double f4 = h * 0.5 * aspect_ratio/(maxy - cn[1]); in estimateNewCameraMatrixForUndistortRectify()
584 cv::Vec2d new_f(f, f), new_c = -cn * f + Vec2d(w, h * aspect_ratio) * 0.5; in estimateNewCameraMatrixForUndistortRectify()
587 new_f[1] /= aspect_ratio; in estimateNewCameraMatrixForUndistortRectify()
588 new_c[1] /= aspect_ratio; in estimateNewCameraMatrixForUndistortRectify()
/external/opencv3/samples/cpp/
Dsmiledetect.cpp208 double aspect_ratio = (double)r->width/r->height; in detectAndDraw() local
209 if( 0.75 < aspect_ratio && aspect_ratio < 1.3 ) in detectAndDraw()
Dfacedetect.cpp252 double aspect_ratio = (double)r->width/r->height; in detectAndDraw() local
253 if( 0.75 < aspect_ratio && aspect_ratio < 1.3 ) in detectAndDraw()
Dufacedetect.cpp252 double aspect_ratio = (double)r->width/r->height; in detectAndDraw() local
253 if( 0.75 < aspect_ratio && aspect_ratio < 1.3 ) in detectAndDraw()
/external/webrtc/talk/app/webrtc/
Dvideosource_unittest.cc328 double aspect_ratio = static_cast<double>(format->width) / format->height; in TEST_F() local
329 EXPECT_LT(aspect_ratio, 2); in TEST_F()
363 double aspect_ratio = static_cast<double>(format->width) / format->height; in TEST_F() local
364 EXPECT_LE(requested_aspect_ratio, aspect_ratio); in TEST_F()
/external/opencv3/modules/viz/src/
Dshapes.cpp744 … static vtkSmartPointer<vtkPolyData> createFrustum(double aspect_ratio, double fovy, double scale) in createFrustum()
754 camera->GetFrustumPlanes(aspect_ratio, planes_array); in createFrustum()
808 double aspect_ratio = f_y / f_x; in WCameraPosition() local
810 …vtkSmartPointer<vtkPolyData> polydata = CameraPositionUtils::createFrustum(aspect_ratio, fovy, sca… in WCameraPosition()
824 double aspect_ratio = tan(fov[0] * 0.5) / tan(fov[1] * 0.5); in WCameraPosition() local
827 …vtkSmartPointer<vtkPolyData> polydata = CameraPositionUtils::createFrustum(aspect_ratio, fovy, sca… in WCameraPosition()
849 double aspect_ratio = image.cols/(double)image.rows; in WCameraPosition() local
856 …vtkSmartPointer<vtkPolyData> frustum = CameraPositionUtils::createFrustum(aspect_ratio, fovy, scal… in WCameraPosition()
881 double aspect_ratio = image.cols/(double)image.rows; in WCameraPosition() local
888 …vtkSmartPointer<vtkPolyData> frustum = CameraPositionUtils::createFrustum(aspect_ratio, fovy, scal… in WCameraPosition()
Dvizimpl.cpp389 …double aspect_ratio = static_cast<double>(camera.getWindowSize().width)/static_cast<double>(camera… in setCamera() local
395 …er<vtkMatrix4x4> vtk_matrix = active_camera->GetProjectionTransformMatrix(aspect_ratio, -1.0, 1.0); in setCamera()
414 double aspect_ratio = window_size.width / (double)window_size.height; in getCamera() local
416 …vtkMatrix4x4> proj_matrix = active_camera->GetProjectionTransformMatrix(aspect_ratio, -1.0f, 1.0f); in getCamera()
/external/kernel-headers/original/uapi/linux/dvb/
Dvideo.h61 video_format_t aspect_ratio; member
/external/opencv3/modules/calib3d/test/
Dtest_undistort.cpp107 double aspect_ratio = cvtest::randReal(rng)*0.6 + 0.7; in prepare_test_case() local
113 a[4] = aspect_ratio*a[0]; in prepare_test_case()
292 double aspect_ratio = cvtest::randReal(rng)*0.6 + 0.7; in prepare_test_case() local
296 cam[4] = aspect_ratio*cam[0]; in prepare_test_case()
716 double aspect_ratio = cvtest::randReal(rng)*0.6 + 0.7; in prepare_test_case() local
720 cam[4] = aspect_ratio*cam[0]; in prepare_test_case()
/external/opencv3/modules/calib3d/include/opencv2/calib3d/
Dcalib3d_c.h188 double aspect_ratio CV_DEFAULT(0));
206 double aspect_ratio CV_DEFAULT(1.) );
/external/opencv3/modules/imgproc/test/
Dtest_imgwarp.cpp764 double aspect_ratio = cvtest::randReal(rng)*0.6 + 0.7; in prepare_test_case() local
768 a[4] = aspect_ratio*a[0]; in prepare_test_case()
904 double aspect_ratio = cvtest::randReal(rng)*0.6 + 0.7; in prepare_test_case() local
908 a[4] = aspect_ratio*a[0]; in prepare_test_case()
1057 double aspect_ratio = cvtest::randReal(rng)*0.6 + 0.7; in prepare_test_case() local
1061 a[4] = aspect_ratio*a[0]; in prepare_test_case()
/external/opencv3/doc/py_tutorials/py_imgproc/py_contours/py_contour_properties/
Dpy_contour_properties.markdown19 aspect_ratio = float(w)/h
/external/opencv/cv/include/
Dcv.h1241 double aspect_ratio CV_DEFAULT(0)); in LOAD_CHDL()
1258 double aspect_ratio CV_DEFAULT(1.) ); in LOAD_CHDL()
/external/libpng/
Dlibpng-manual.txt1601 aspect_ratio = png_get_pixel_aspect_ratio(png_ptr,