Home
last modified time | relevance | path

Searched refs:window_size (Results 1 – 25 of 65) sorted by relevance

123

/external/opencv3/modules/viz/src/
Dtypes.cpp95 cv::viz::Camera::Camera(double fx, double fy, double cx, double cy, const Size &window_size) in Camera() argument
97 init(fx, fy, cx, cy, window_size); in Camera()
100 cv::viz::Camera::Camera(const Vec2d &fov, const Size &window_size) in Camera() argument
102 CV_Assert(window_size.width > 0 && window_size.height > 0); in Camera()
105 window_size_ = window_size; in Camera()
107 …principal_point_ = Vec2f(static_cast<float>(window_size.width)*0.5f, static_cast<float>(window_siz… in Camera()
111 cv::viz::Camera::Camera(const cv::Matx33d & K, const Size &window_size) in Camera() argument
117 init(f_x, f_y, c_x, c_y, window_size); in Camera()
120 cv::viz::Camera::Camera(const Matx44d &proj, const Size &window_size) in Camera() argument
122 CV_Assert(window_size.width > 0 && window_size.height > 0); in Camera()
[all …]
Dvizimpl.cpp58 cv::Vec2i window_size = cv::Vec2i(window_->GetScreenSize()) / 2; in VizImpl() local
59 window_->SetSize(window_size.val); in VizImpl()
117 Vec2i window_size(window_->GetSize()); in recreateRenderWindow() local
125 window_->SetSize(window_size.val); in recreateRenderWindow()
311 void cv::viz::Viz3d::VizImpl::showImage(InputArray image, const Size& window_size) in showImage() argument
314 if (window_size.width > 0 && window_size.height > 0) in showImage()
315 setWindowSize(window_size); in showImage()
412 Size window_size(renderer_->GetRenderWindow()->GetSize()[0], in getCamera() local
414 double aspect_ratio = window_size.width / (double)window_size.height; in getCamera()
417 return Camera(Matx44d(*proj_matrix->Element), window_size); in getCamera()
[all …]
Dviz3d.cpp117 …iz::Viz3d::showImage(InputArray image, const Size& window_size) { impl_->showImage(image, window_s… in showImage() argument
135 void cv::viz::Viz3d::setWindowSize(const Size &window_size) { impl_->setWindowSize(window_size); } in setWindowSize() argument
Dvizimpl.hpp71 void showImage(InputArray image, const Size& window_size);
95 void setWindowSize(const Size& window_size);
/external/squashfs-tools/squashfs-tools/
Dgzip_wrapper.c48 static int window_size = GZIP_DEFAULT_WINDOW_SIZE; variable
92 window_size = atoi(argv[1]); in gzip_options()
93 if(window_size < 8 || window_size > 15) { in gzip_options()
186 window_size == GZIP_DEFAULT_WINDOW_SIZE && in gzip_dump_options()
194 comp_opts.window_size = window_size; in gzip_dump_options()
232 window_size = GZIP_DEFAULT_WINDOW_SIZE; in gzip_extract_options()
252 if(comp_opts->window_size < 8 || in gzip_extract_options()
253 comp_opts->window_size > 15) { in gzip_extract_options()
258 window_size = comp_opts->window_size; in gzip_extract_options()
299 if(comp_opts->window_size < 8 || in gzip_display_options()
[all …]
Dgzip_wrapper.h41 (s)->window_size = inswap_le16((s)->window_size); \
54 short window_size; member
/external/zopfli/src/zopfli/
Dhash.c29 void ZopfliInitHash(size_t window_size, ZopfliHash* h) { in ZopfliInitHash() argument
34 h->prev = (unsigned short*)malloc(sizeof(*h->prev) * window_size); in ZopfliInitHash()
35 h->hashval = (int*)malloc(sizeof(*h->hashval) * window_size); in ZopfliInitHash()
39 for (i = 0; i < window_size; i++) { in ZopfliInitHash()
45 h->same = (unsigned short*)malloc(sizeof(*h->same) * window_size); in ZopfliInitHash()
46 for (i = 0; i < window_size; i++) { in ZopfliInitHash()
54 h->prev2 = (unsigned short*)malloc(sizeof(*h->prev2) * window_size); in ZopfliInitHash()
55 h->hashval2 = (int*)malloc(sizeof(*h->hashval2) * window_size); in ZopfliInitHash()
59 for (i = 0; i < window_size; i++) { in ZopfliInitHash()
/external/webrtc/webrtc/modules/audio_processing/agc/
Dhistogram.cc76 Histogram::Histogram(int window_size) in Histogram() argument
80 activity_probability_(new int[window_size]), in Histogram()
81 hist_bin_index_(new int[window_size]), in Histogram()
84 len_circular_buffer_(window_size), in Histogram()
174 Histogram* Histogram::Create(int window_size) { in Create() argument
175 if (window_size < 0) in Create()
177 return new Histogram(window_size); in Create()
/external/sfntly/cpp/src/test/
Dfont_data_test.cc165 void ReadFontDataWithSlidingWindow(ReadableFontData* rfd, int32_t window_size, in ReadFontDataWithSlidingWindow() argument
171 std::min<int32_t>(window_size, b->size() - index); in ReadFontDataWithSlidingWindow()
200 int32_t window_size) { in WriteFontDataWithSlidingWindow() argument
204 int32_t sliding_size = std::min<int32_t>(window_size, b.size() - index); in WriteFontDataWithSlidingWindow()
240 for (int32_t window_size = 1; window_size <= length; in ReadComparison() local
241 window_size += increments) { in ReadComparison()
246 ReadFontDataWithSlidingWindow(rfd1, window_size, &b1); in ReadComparison()
247 ReadFontDataWithSlidingWindow(rfd2, window_size, &b2); in ReadComparison()
293 for (int window_size = 1; window_size < length; window_size += increments) { in SlicingWriteTest() local
296 WriteFontDataWithSlidingWindow(r_slice, w_slice, window_size); in SlicingWriteTest()
Dbyte_array_test.cc46 void ReadByteArrayWithSlidingWindow(ByteArray* ba, int window_size, in ReadByteArrayWithSlidingWindow() argument
50 int32_t actual_window_size = window_size; in ReadByteArrayWithSlidingWindow()
81 for (int window_size = 1; window_size < ba1->Length(); in ReadComparison() local
82 window_size += increments) { in ReadComparison()
83 ReadByteArrayWithSlidingWindow(ba1, window_size, &b1); in ReadComparison()
84 ReadByteArrayWithSlidingWindow(ba2, window_size, &b2); in ReadComparison()
/external/libvpx/libvpx/examples/
Dvpx_temporal_svc_encoder.c70 int window_size; member
106 rc->window_size = 15; in set_rate_control_metrics()
149 printf("Short-time stats, for window of %d frames: \n",rc->window_size); in printout_rate_control_summary()
778 if (frame_cnt > rc.window_size) { in main()
780 if (frame_cnt % rc.window_size == 0) { in main()
782 rc.avg_st_encoding_bitrate += sum_bitrate / rc.window_size; in main()
784 (sum_bitrate / rc.window_size) * in main()
785 (sum_bitrate / rc.window_size); in main()
790 if (frame_cnt > rc.window_size + rc.window_size / 2) { in main()
792 if (frame_cnt > 2 * rc.window_size && in main()
[all …]
Dvp9_spatial_svc_encoder.c393 int window_size; member
433 rc->window_size = 15; in set_rate_control_stats()
483 printf("Short-time stats, for window of %d frames: \n", rc->window_size); in printout_rate_control_summary()
798 if (frame_cnt > rc.window_size) { in main()
803 if (frame_cnt % rc.window_size == 0) { in main()
805 rc.avg_st_encoding_bitrate += sum_bitrate / rc.window_size; in main()
807 (sum_bitrate / rc.window_size) * in main()
808 (sum_bitrate / rc.window_size); in main()
814 if (frame_cnt > rc.window_size + rc.window_size / 2) { in main()
820 if (frame_cnt > 2 * rc.window_size && in main()
[all …]
/external/chromium-trace/catapult/dashboard/dashboard/
Dfind_change_points_exp.py52 def _GetLastWindow(series, window_size): argument
54 if not window_size:
56 return series[-window_size:]
/external/opencv3/modules/viz/include/opencv2/viz/
Dtypes.hpp155 Camera(double fx, double fy, double cx, double cy, const Size &window_size);
161 explicit Camera(const Vec2d &fov, const Size &window_size);
167 explicit Camera(const Matx33d &K, const Size &window_size);
173 explicit Camera(const Matx44d &proj, const Size &window_size);
179 void setWindowSize(const Size &window_size);
198 static Camera KinectCamera(const Size &window_size);
201 void init(double fx, double fy, double cx, double cy, const Size &window_size);
Dviz3d.hpp114 void showImage(InputArray image, const Size& window_size = Size(-1, -1));
186 void setWindowSize(const Size &window_size);
/external/opencv3/3rdparty/libwebp/enc/
Dbackward_references.c147 int cache_bits, int* window_size, in GetParamsForHashChainFindCopy() argument
156 *window_size = (max_window_size > WINDOW_SIZE) ? WINDOW_SIZE in GetParamsForHashChainFindCopy()
167 int window_size, int iter_pos, int iter_limit, in HashChainFindCopy() argument
176 (base_position > window_size) ? base_position - window_size : 0; in HashChainFindCopy()
274 int window_size = WINDOW_SIZE; in BackwardReferencesHashChain() local
288 &window_size, &iter_pos, &iter_limit); in BackwardReferencesHashChain()
299 window_size, iter_pos, iter_limit, in BackwardReferencesHashChain()
315 window_size, iter_pos, iter_limit, in BackwardReferencesHashChain()
490 int window_size = WINDOW_SIZE; in BackwardReferencesHashChainDistanceOnly() local
514 &window_size, &iter_pos, &iter_limit); in BackwardReferencesHashChainDistanceOnly()
[all …]
/external/opencv3/samples/python2/
Dstereo_match.py39 window_size = 3 variable
45 P1 = 8*3*window_size**2,
46 P2 = 32*3*window_size**2,
/external/webp/src/enc/
Dbackward_references.c266 int window_size, int* const distance_ptr) { in HashChainFindOffset() argument
269 (base_position > window_size) ? base_position - window_size : 0; in HashChainFindOffset()
285 int window_size, int iter_max, in HashChainFindCopy() argument
293 (base_position > window_size) ? base_position - window_size : 0; in HashChainFindCopy()
397 const int window_size = GetWindowSizeForHashChain(quality, xsize); in BackwardReferencesLz77() local
411 HashChainFindCopy(hash_chain, i, argb, max_len, window_size, in BackwardReferencesLz77()
423 window_size, iter_max, &offset2, in BackwardReferencesLz77()
607 const int window_size = GetWindowSizeForHashChain(quality, xsize); in BackwardReferencesHashChainDistanceOnly() local
635 HashChainFindCopy(hash_chain, i, argb, max_len, window_size, in BackwardReferencesHashChainDistanceOnly()
675 HashChainFindOffset(hash_chain, i, argb, MIN_LENGTH, window_size, in BackwardReferencesHashChainDistanceOnly()
[all …]
/external/srtp/googlepatches/
Dvidyo-4-srtp-rtx.patch6 unsigned long window_size; /**< The window size to use for replay
71 policy.window_size = 128;
82 policy.window_size = 128;
90 policy.window_size = 0;
101 policy.window_size = 128;
149 policy.window_size = 128;
/external/autotest/client/site_tests/power_BacklightControl/
Dpower_BacklightControl.py200 window_size=10, argument
231 if len(samples) >= window_size:
236 if len(samples) >= window_size and \
/external/webrtc/webrtc/modules/desktop_capture/
Dscreen_capturer_x11.cc257 new BasicDesktopFrame(x_server_pixel_buffer_.window_size())); in Capture()
311 assert(x_server_pixel_buffer_.window_size().equals(frame->size())); in CaptureScreen()
348 DesktopRect::MakeSize(x_server_pixel_buffer_.window_size())); in CaptureScreen()
/external/clang/test/CoverageMapping/
Dcasts.c5 …int window_size = (sizeof(int) <= 2 ? (unsigned)512 : 1024); // CHECK-NEXT: File 0, [[@LINE]]:57 -… in main() local
/external/libnfc-nxp/src/
DphLlcNfc_Frame.c285 psLlcCtxt->s_frameinfo.window_size = in phLlcNfc_H_Frame_Init()
623 psFrameInfo->window_size = llcInfo.llcpayload[payload_index]; in phLlcNfc_H_Update_ReceivedRSETInfo()
702 if(((ns <= nr) && ((nr - ns) <= psFrameInfo->window_size)) in phLlcNfc_H_UpdateIFrameList()
706 if(((ns < nr) && ((nr - ns) <= psFrameInfo->window_size)) in phLlcNfc_H_UpdateIFrameList()
1237 ((ps_frame_info->n_r - ns_index) < ps_frame_info->window_size)) in phLlcNfc_H_ProcessIFrame()
1239 ((ns_index - ps_frame_info->n_r) > ps_frame_info->window_size)) in phLlcNfc_H_ProcessIFrame()
1258 ((ps_frame_info->n_r - ns_index) < ps_frame_info->window_size)) in phLlcNfc_H_ProcessIFrame()
1260 ((ns_index - ps_frame_info->n_r) > ps_frame_info->window_size))) in phLlcNfc_H_ProcessIFrame()
1407 if (ps_frame_info->window_size == ps_frame_info->resp_recvd_count) in phLlcNfc_H_ProcessIFrame()
1657 (ps_store_frame->winsize_cnt < ps_frame_info->window_size)) in phLlcNfc_H_ProcessSFrame()
/external/selinux/policycoreutils/run_init/
Dopen_init_pty.c203 struct winsize window_size; in main() local
244 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &window_size) < 0) { in main()
249 child_pid = forkpty(&pty_master, NULL, &tty_attr, &window_size); in main()
/external/zlib/src/
Ddeflate.c1109 s->window_size = (ulg)2L*s->w_size;
1193 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
1234 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
1266 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
1311 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
1340 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
1401 more = (unsigned)(s->window_size -(ulg)s->lookahead -(ulg)s->strstart);
1503 if (s->high_water < s->window_size) {
1511 init = s->window_size - curr;
1523 if (init > s->window_size - s->high_water)
[all …]

123