/frameworks/base/core/tests/coretests/src/android/content/ |
ContentValuesTest.java | 38 ContentValues cv = new ContentValues(); local 39 assertTrue(cv.isEmpty()); 40 assertEquals(0, cv.size()); 42 cv.put("key", "value"); 43 assertFalse(cv.isEmpty()); 44 assertEquals(1, cv.size());
|
/external/libxcam/plugins/smart/dvs/libdvs/ |
stabilizer.h | 31 class OnePassVideoStabilizer : public cv::videostab::OnePassStabilizer 36 virtual cv::Mat nextStabilizedMotion(DvsData* frame, int& stablizedPos); 39 virtual cv::Mat estimateMotion(); 40 virtual void setUpFrame(const cv::Mat &firstFrame); 46 class TwoPassVideoStabilizer : public cv::videostab::TwoPassStabilizer 51 virtual cv::Mat nextStabilizedMotion(DvsData* frame, int& stablizedPos); 54 virtual cv::Mat estimateMotion(); 55 virtual void setUpFrame(const cv::Mat &firstFrame); 70 cv::Ptr<cv::videostab::StabilizerBase> stabilizer() const [all...] |
/external/libxcam/modules/ocl/ |
cv_image_process_helper.cpp | 33 cv::Mat 34 CVImageProcessHelper::erosion (const cv::Mat &image, int erosion_size, int erosion_type) 36 cv::Mat element = cv::getStructuringElement (erosion_type, 37 cv::Size (2 * erosion_size + 1, 2 * erosion_size + 1), 38 cv::Point (erosion_size, erosion_size)); 39 cv::Mat eroded; 40 cv::erode (image, eroded, element); 45 CVImageProcessHelper::get_snr (const cv::Mat &noisy, const cv::Mat &noiseless [all...] |
cv_image_sharp.cpp | 33 cv::Mat 34 CVImageSharp::sharp_image_gray (const cv::Mat &image, float sigmar) 36 cv::Mat temp_image; 38 cv::Mat bilateral_image; 39 cv::bilateralFilter (temp_image, bilateral_image, 5, sigmar, 2); 41 cv::Mat sharp_filter = (cv::Mat_<float>(3, 3) << -1, -1, -1, -1, 8, -1, -1, -1, -1); 42 cv::Mat filtered_image; 43 cv::filter2D (bilateral_image, filtered_image, -1, sharp_filter); 44 cv::normalize (filtered_image, filtered_image, 0, 255.0f, cv::NORM_MINMAX) [all...] |
cv_edgetaper.h | 39 void edgetaper (const cv::Mat &image, const cv::Mat &psf, cv::Mat &output); 42 void create_weights (const cv::Mat &image, const cv::Mat &psf, cv::Mat &coefficients);
|
cv_wiener_filter.cpp | 34 CVWienerFilter::wiener_filter (const cv::Mat &blurred_image, const cv::Mat &known, cv::Mat &unknown, float noise_power) 38 cv::Mat y_ft; 41 cv::Mat padded = cv::Mat::zeros (image_h, image_w, CV_32FC1); 44 cv::copyMakeBorder (known, padded, 0, pady, 0, padx, cv::BORDER_CONSTANT, cv::Scalar::all(0)); 45 cv::Mat padded_ft [all...] |
cv_edgetaper.cpp | 34 CVEdgetaper::create_weights (const cv::Mat &image, const cv::Mat &psf, cv::Mat &coefficients) 36 cv::Mat rows_proj, cols_proj; 37 cv::Mat rows_proj_border, cols_proj_border; 38 cv::Mat rows_cor, cols_cor; 40 cv::reduce (psf, rows_proj, 1, CV_REDUCE_SUM, -1); 41 cv::reduce (psf, cols_proj, 0, CV_REDUCE_SUM, -1); 43 cv::copyMakeBorder (rows_proj, rows_proj_border, (psf.rows - 1) / 2, (psf.rows - 1) / 2, 0, 0, cv::BORDER_CONSTANT, cv::Scalar::all (0)) [all...] |
cv_image_process_helper.h | 38 void compute_dft (const cv::Mat &image, cv::Mat &result); 39 void compute_idft (cv::Mat *input, cv::Mat &result); 40 void apply_constraints (cv::Mat &image, float threshold_min_value = 0.0f, float threshold_max_value = 255.0f, float min_value = 0.0f, float max_value = 255.0f); 41 float get_snr (const cv::Mat &noisy, const cv::Mat &noiseless); 42 cv::Mat erosion (const cv::Mat &image, int erosion_size, int erosion_type); 43 void normalize_weights (cv::Mat &weights) [all...] |
cv_feature_match.cpp | 45 const SmartPtr<VideoBuffer> &buffer, const Rect &crop_rect, cv::UMat &img) 51 cv::UMat umat; 52 cv::ocl::convertFromBuffer (cl_mem_id, info.strides[0], info.height, info.width, CV_8U, umat); 58 img = umat (cv::Rect(crop_rect.pos_x, crop_rect.pos_y, crop_rect.width, crop_rect.height)); 65 cv::InputArray image, cv::Ptr<cv::Feature2D> detector, std::vector<cv::Point2f> &corners) 67 std::vector<cv::KeyPoint> keypoints; 71 cv::KeyPoint &kp = keypoints[i] [all...] |
cv_image_sharp.h | 37 float measure_sharp (const cv::Mat &image); 38 cv::Mat sharp_image_gray (const cv::Mat &image, float sigmar);
|
cv_feature_match.h | 56 bool get_crop_image (const SmartPtr<VideoBuffer> &buffer, const Rect &crop_rect, cv::UMat &img); 58 void add_detected_data (cv::InputArray image, cv::Ptr<cv::Feature2D> detector, std::vector<cv::Point2f> &corners); 59 void get_valid_offsets (std::vector<cv::Point2f> &corner0, std::vector<cv::Point2f> &corner1, 62 cv::InputOutputArray debug_img, cv::Size &img0_size); 64 void calc_of_match (cv::InputArray image0, cv::InputArray image1 [all...] |
/external/valgrind/none/tests/arm/ |
v6intThumb.c | 339 #define NOCARRY { int cv = 0; { 340 #define TESTCARRY { int cv = 0; for (cv = 0; cv < 4; cv++) { 408 TESTINST2("movs r0, r1", 1, r0, r1, cv); 409 TESTINST2("movs r0, r1", 0, r0, r1, cv); 410 TESTINST2("movs r0, r1", 0x80000000, r0, r1, cv); 411 TESTINST2("movs r0, #0", 0, r0, r1, cv); 412 TESTINST2("movs r0, #1", 0, r0, r1, cv); [all...] |
/external/compiler-rt/test/tsan/ |
bench_mutex.cc | 10 pthread_cond_t cv; variable 17 pthread_cond_wait(&cv, &mtx); 19 pthread_cond_signal(&cv); 26 pthread_cond_init(&cv, 0);
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/ |
default.pass.cpp | 23 std::condition_variable cv; local
|
wait.pass.cpp | 23 std::condition_variable cv; variable 34 cv.notify_one(); 36 cv.wait(lk); 46 cv.wait(lk); 50 cv.notify_one();
|
destructor.pass.cpp | 23 std::condition_variable* cv; variable 34 cv->notify_one(); 35 delete cv; 42 cv->notify_one(); 44 cv->wait(lk); 49 cv = new std::condition_variable; 53 cv->wait(lk);
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/ |
default.pass.cpp | 23 std::condition_variable_any cv; local
|
wait.pass.cpp | 24 std::condition_variable_any cv; variable 39 cv.notify_one(); 41 cv.wait(lk); 51 cv.wait(lk); 55 cv.notify_one();
|
destructor.pass.cpp | 23 std::condition_variable_any* cv; variable 33 cv->notify_one(); 34 delete cv; 42 cv->notify_one(); 44 cv->wait(m); 50 cv = new std::condition_variable_any; 54 cv->wait(m);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.condition/thread.condition.condvar/ |
default.pass.cpp | 23 std::condition_variable cv; local
|
wait.pass.cpp | 23 std::condition_variable cv; variable 34 cv.notify_one(); 36 cv.wait(lk); 46 cv.wait(lk); 50 cv.notify_one();
|
destructor.pass.cpp | 23 std::condition_variable* cv; variable 34 cv->notify_one(); 35 delete cv; 42 cv->notify_one(); 44 cv->wait(lk); 49 cv = new std::condition_variable; 53 cv->wait(lk);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.condition/thread.condition.condvarany/ |
default.pass.cpp | 23 std::condition_variable_any cv; local
|
wait.pass.cpp | 24 std::condition_variable_any cv; variable 39 cv.notify_one(); 41 cv.wait(lk); 51 cv.wait(lk); 55 cv.notify_one();
|
destructor.pass.cpp | 23 std::condition_variable_any* cv; variable 33 cv->notify_one(); 34 delete cv; 42 cv->notify_one(); 44 cv->wait(m); 50 cv = new std::condition_variable_any; 54 cv->wait(m);
|