Home
last modified time | relevance | path

Searched refs:img_ (Results 1 – 25 of 377) sorted by relevance

12345678910>>...16

/dports/www/firefox-esr/firefox-91.8.0/media/libvpx/libvpx/test/
H A Dvpx_scale_test.h46 FillPlane(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetImages()
47 img_.y_stride); in ResetImages()
48 FillPlane(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages()
50 FillPlane(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages()
72 FillPlaneExtreme(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetScaleImages()
74 FillPlaneExtreme(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetScaleImages()
76 FillPlaneExtreme(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetScaleImages()
172 img_.y_buffer[x + y * img_.y_stride]; in ReferenceCopyFrame()
179 img_.u_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
181 img_.v_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
[all …]
H A Dvideo_source.h136 : img_(NULL), limit_(100), width_(80), height_(64), in DummyVideoSource()
141 virtual ~DummyVideoSource() { vpx_img_free(img_); } in ~DummyVideoSource()
153 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
188 if (img_) memset(img_->img_data, 0, raw_sz_); in FillFrame()
192 vpx_img_free(img_); in ReallocImage()
193 img_ = vpx_img_alloc(NULL, format_, width_, height_, 32); in ReallocImage()
194 raw_sz_ = ((img_->w + 31) & ~31) * img_->h * img_->bps / 8; in ReallocImage()
197 vpx_image_t *img_; variable
222 if (img_) { in FillFrame()
224 for (size_t i = 0; i < raw_sz_; ++i) img_->img_data[i] = rnd_.Rand8(); in FillFrame()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/libvpx/test/
H A Dvpx_scale_test.h46 FillPlane(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetImages()
47 img_.y_stride); in ResetImages()
48 FillPlane(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages()
50 FillPlane(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages()
72 FillPlaneExtreme(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetScaleImages()
74 FillPlaneExtreme(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetScaleImages()
76 FillPlaneExtreme(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetScaleImages()
172 img_.y_buffer[x + y * img_.y_stride]; in ReferenceCopyFrame()
179 img_.u_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
181 img_.v_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
[all …]
H A Dvideo_source.h136 : img_(NULL), limit_(100), width_(80), height_(64), in DummyVideoSource()
141 virtual ~DummyVideoSource() { vpx_img_free(img_); } in ~DummyVideoSource()
153 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
188 if (img_) memset(img_->img_data, 0, raw_sz_); in FillFrame()
192 vpx_img_free(img_); in ReallocImage()
193 img_ = vpx_img_alloc(NULL, format_, width_, height_, 32); in ReallocImage()
194 raw_sz_ = ((img_->w + 31) & ~31) * img_->h * img_->bps / 8; in ReallocImage()
197 vpx_image_t *img_; variable
222 if (img_) { in FillFrame()
224 for (size_t i = 0; i < raw_sz_; ++i) img_->img_data[i] = rnd_.Rand8(); in FillFrame()
[all …]
/dports/net-im/tg_owt/tg_owt-d578c76/src/third_party/libvpx/source/libvpx/test/
H A Dvpx_scale_test.h46 FillPlane(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetImages()
47 img_.y_stride); in ResetImages()
48 FillPlane(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages()
50 FillPlane(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages()
72 FillPlaneExtreme(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetScaleImages()
74 FillPlaneExtreme(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetScaleImages()
76 FillPlaneExtreme(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetScaleImages()
172 img_.y_buffer[x + y * img_.y_stride]; in ReferenceCopyFrame()
179 img_.u_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
181 img_.v_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
[all …]
H A Dvideo_source.h136 : img_(NULL), limit_(100), width_(80), height_(64), in DummyVideoSource()
141 virtual ~DummyVideoSource() { vpx_img_free(img_); } in ~DummyVideoSource()
153 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
188 if (img_) memset(img_->img_data, 0, raw_sz_); in FillFrame()
192 vpx_img_free(img_); in ReallocImage()
193 img_ = vpx_img_alloc(NULL, format_, width_, height_, 32); in ReallocImage()
194 raw_sz_ = ((img_->w + 31) & ~31) * img_->h * img_->bps / 8; in ReallocImage()
197 vpx_image_t *img_; variable
222 if (img_) { in FillFrame()
224 for (size_t i = 0; i < raw_sz_; ++i) img_->img_data[i] = rnd_.Rand8(); in FillFrame()
[all …]
/dports/multimedia/libvpx/libvpx-1.11.0/test/
H A Dvpx_scale_test.h46 FillPlane(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetImages()
47 img_.y_stride); in ResetImages()
48 FillPlane(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages()
50 FillPlane(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages()
72 FillPlaneExtreme(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetScaleImages()
74 FillPlaneExtreme(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetScaleImages()
76 FillPlaneExtreme(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetScaleImages()
172 img_.y_buffer[x + y * img_.y_stride]; in ReferenceCopyFrame()
179 img_.u_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
181 img_.v_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
[all …]
H A Dvideo_source.h136 : img_(NULL), limit_(100), width_(80), height_(64), in DummyVideoSource()
141 virtual ~DummyVideoSource() { vpx_img_free(img_); } in ~DummyVideoSource()
153 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
188 if (img_) memset(img_->img_data, 0, raw_sz_); in FillFrame()
192 vpx_img_free(img_); in ReallocImage()
193 img_ = vpx_img_alloc(NULL, format_, width_, height_, 32); in ReallocImage()
194 raw_sz_ = ((img_->w + 31) & ~31) * img_->h * img_->bps / 8; in ReallocImage()
197 vpx_image_t *img_; variable
222 if (img_) { in FillFrame()
224 for (size_t i = 0; i < raw_sz_; ++i) img_->img_data[i] = rnd_.Rand8(); in FillFrame()
[all …]
/dports/www/firefox/firefox-99.0/media/libvpx/libvpx/test/
H A Dvpx_scale_test.h46 FillPlane(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetImages()
47 img_.y_stride); in ResetImages()
48 FillPlane(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages()
50 FillPlane(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages()
72 FillPlaneExtreme(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetScaleImages()
74 FillPlaneExtreme(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetScaleImages()
76 FillPlaneExtreme(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetScaleImages()
172 img_.y_buffer[x + y * img_.y_stride]; in ReferenceCopyFrame()
179 img_.u_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
181 img_.v_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
[all …]
H A Dvideo_source.h136 : img_(NULL), limit_(100), width_(80), height_(64), in DummyVideoSource()
141 virtual ~DummyVideoSource() { vpx_img_free(img_); } in ~DummyVideoSource()
153 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
188 if (img_) memset(img_->img_data, 0, raw_sz_); in FillFrame()
192 vpx_img_free(img_); in ReallocImage()
193 img_ = vpx_img_alloc(NULL, format_, width_, height_, 32); in ReallocImage()
194 raw_sz_ = ((img_->w + 31) & ~31) * img_->h * img_->bps / 8; in ReallocImage()
197 vpx_image_t *img_; variable
222 if (img_) { in FillFrame()
224 for (size_t i = 0; i < raw_sz_; ++i) img_->img_data[i] = rnd_.Rand8(); in FillFrame()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libvpx/source/libvpx/test/
H A Dvpx_scale_test.h46 FillPlane(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetImages()
47 img_.y_stride); in ResetImages()
48 FillPlane(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages()
50 FillPlane(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages()
72 FillPlaneExtreme(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetScaleImages()
74 FillPlaneExtreme(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetScaleImages()
76 FillPlaneExtreme(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetScaleImages()
172 img_.y_buffer[x + y * img_.y_stride]; in ReferenceCopyFrame()
179 img_.u_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
181 img_.v_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
[all …]
H A Dvideo_source.h136 : img_(NULL), limit_(100), width_(80), height_(64), in DummyVideoSource()
141 virtual ~DummyVideoSource() { vpx_img_free(img_); } in ~DummyVideoSource()
153 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
188 if (img_) memset(img_->img_data, 0, raw_sz_); in FillFrame()
192 vpx_img_free(img_); in ReallocImage()
193 img_ = vpx_img_alloc(NULL, format_, width_, height_, 32); in ReallocImage()
194 raw_sz_ = ((img_->w + 31) & ~31) * img_->h * img_->bps / 8; in ReallocImage()
197 vpx_image_t *img_; variable
222 if (img_) { in FillFrame()
224 for (size_t i = 0; i < raw_sz_; ++i) img_->img_data[i] = rnd_.Rand8(); in FillFrame()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/media/libvpx/libvpx/test/
H A Dvpx_scale_test.h46 FillPlane(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetImages()
47 img_.y_stride); in ResetImages()
48 FillPlane(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages()
50 FillPlane(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages()
72 FillPlaneExtreme(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetScaleImages()
74 FillPlaneExtreme(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetScaleImages()
76 FillPlaneExtreme(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetScaleImages()
172 img_.y_buffer[x + y * img_.y_stride]; in ReferenceCopyFrame()
179 img_.u_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
181 img_.v_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/media/libvpx/libvpx/test/
H A Dvpx_scale_test.h46 FillPlane(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetImages()
47 img_.y_stride); in ResetImages()
48 FillPlane(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages()
50 FillPlane(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages()
72 FillPlaneExtreme(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetScaleImages()
74 FillPlaneExtreme(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetScaleImages()
76 FillPlaneExtreme(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetScaleImages()
172 img_.y_buffer[x + y * img_.y_stride]; in ReferenceCopyFrame()
179 img_.u_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
181 img_.v_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/media/libvpx/libvpx/test/
H A Dvpx_scale_test.cc33 memset(&img_, 0, sizeof(img_)); in ResetImage()
36 memset(img_.buffer_alloc, kBufFiller, img_.frame_size); in ResetImage()
37 FillPlane(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetImage()
38 img_.y_stride); in ResetImage()
39 FillPlane(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImage()
40 img_.uv_stride); in ResetImage()
41 FillPlane(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImage()
131 img_.y_buffer[x + y * img_.y_stride]; in ReferenceCopyFrame()
138 img_.u_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
140 img_.v_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
[all …]
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/draw/tests/
H A Dtest_draw.py23 img_[0, :] = 1
52 img_[0, :] = 1
64 img_[:, 0] = 1
76 img_[0, :] = 1
87 img_ = np.eye(5)
99 img_[0, :] = 1
111 img_[:, 0] = 1
165 img_ = np.array(
188 img_ = np.array(
212 img_[1:, :] = 1
[all …]
/dports/misc/vxl/vxl-3.3.2/contrib/mul/vil3d/tests/
H A Dtest_file_format_read.cxx59 img_ = im; in CheckPixelT()
61 std::cout << '\n' << std::flush; vil3d_print_all(std::cout, img_); in CheckPixelT()
76 vil3d_image_view< T > img_; member in CheckPixelT
91 return this->img_ && pixel.size() == 1 && in operator ()()
92 i < this->img_.ni() && j < this->img_.nj() && k < this->img_.nk() && in operator ()()
93 pixel[0] == (TruePixelType)this->img_(i,j,k) && in operator ()()
94 ( !(i > this->img_.ni()/2 && j > this->img_.nj()/2 && k > this->img_.nk()/2) in operator ()()
96 j-this->img_.nj()/2, k-this->img_.nk()/2) ); in operator ()()
109 return this->img_ && pixel.size() == 1 && pixel[0] == this->img_(i,j,k,p) && in operator ()()
110 ( !(i > this->img_.ni()/2 && j > this->img_.nj()/2 && k > this->img_.nk()/2) in operator ()()
[all …]
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/io/
H A Diter_mnist.cc82 img_.dptr_ = nullptr; in MNISTIter()
86 delete []img_.dptr_; in ~MNISTIter()
95 batch_data_.shape_ = mshadow::Shape4(param_.batch_size, 1, 1, img_.size(1) * img_.size(2)); in Init()
97 batch_data_.shape_ = mshadow::Shape4(param_.batch_size, 1, img_.size(1), img_.size(2)); in Init()
122 batch_data_.dptr_ = img_[loc_].dptr_; in Next()
169 img_.stride_ = img_.size(2); in LoadImage()
172 img_.dptr_ = new float[img_.MSize()]; in LoadImage()
178 img_[i][j][k] = ch; in LoadImage()
183 img_ *= 1.0f / 256.0f; in LoadImage()
218 mshadow::Copy(img_, tmpimg); in Shuffle()
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/io/
H A Diter_mnist.cc82 img_.dptr_ = nullptr; in MNISTIter()
86 delete []img_.dptr_; in ~MNISTIter()
95 batch_data_.shape_ = mshadow::Shape4(param_.batch_size, 1, 1, img_.size(1) * img_.size(2)); in Init()
97 batch_data_.shape_ = mshadow::Shape4(param_.batch_size, 1, img_.size(1), img_.size(2)); in Init()
122 batch_data_.dptr_ = img_[loc_].dptr_; in Next()
169 img_.stride_ = img_.size(2); in LoadImage()
172 img_.dptr_ = new float[img_.MSize()]; in LoadImage()
178 img_[i][j][k] = ch; in LoadImage()
183 img_ *= 1.0f / 256.0f; in LoadImage()
218 mshadow::Copy(img_, tmpimg); in Shuffle()
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/example/ctc/
H A Docr_predict.py63 def forward_ocr(self, img_): argument
74 img_ = cv2.resize(img_, (80, 30))
75 img_ = img_.transpose(1, 0)
76 print(img_.shape)
77 img_ = img_.reshape((1, 80, 30))
78 print(img_.shape)
80 img_ = np.multiply(img_, 1 / 255.0)
81 self.predictor.forward(data=img_, **self.init_state_dict)
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/example/ctc/
H A Docr_predict.py63 def forward_ocr(self, img_): argument
74 img_ = cv2.resize(img_, (80, 30))
75 img_ = img_.transpose(1, 0)
76 print(img_.shape)
77 img_ = img_.reshape((1, 80, 30))
78 print(img_.shape)
80 img_ = np.multiply(img_, 1 / 255.0)
81 self.predictor.forward(data=img_, **self.init_state_dict)
/dports/www/firefox-esr/firefox-91.8.0/third_party/aom/test/
H A Dvideo_source.h138 : img_(NULL), limit_(100), width_(80), height_(64), in DummyVideoSource()
143 virtual ~DummyVideoSource() { aom_img_free(img_); } in ~DummyVideoSource()
155 virtual aom_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
190 if (img_) memset(img_->img_data, 0, raw_sz_); in FillFrame()
194 aom_img_free(img_); in ReallocImage()
195 img_ = aom_img_alloc(NULL, format_, width_, height_, 32); in ReallocImage()
196 raw_sz_ = ((img_->w + 31) & ~31) * img_->h * img_->bps / 8; in ReallocImage()
199 aom_image_t *img_; variable
224 if (img_) { in FillFrame()
226 for (size_t i = 0; i < raw_sz_; ++i) img_->img_data[i] = rnd_.Rand8(); in FillFrame()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/aom/test/
H A Dvideo_source.h135 : img_(NULL), limit_(100), width_(80), height_(64), in DummyVideoSource()
140 virtual ~DummyVideoSource() { aom_img_free(img_); } in ~DummyVideoSource()
152 virtual aom_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
187 if (img_) memset(img_->img_data, 0, raw_sz_); in FillFrame()
191 aom_img_free(img_); in ReallocImage()
192 img_ = aom_img_alloc(NULL, format_, width_, height_, 32); in ReallocImage()
193 raw_sz_ = ((img_->w + 31) & ~31) * img_->h * img_->bps / 8; in ReallocImage()
196 aom_image_t *img_; variable
221 if (img_) { in FillFrame()
223 for (size_t i = 0; i < raw_sz_; ++i) img_->img_data[i] = rnd_.Rand8(); in FillFrame()
[all …]
/dports/www/firefox/firefox-99.0/third_party/aom/test/
H A Dvideo_source.h138 : img_(NULL), limit_(100), width_(80), height_(64), in DummyVideoSource()
143 virtual ~DummyVideoSource() { aom_img_free(img_); } in ~DummyVideoSource()
155 virtual aom_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
190 if (img_) memset(img_->img_data, 0, raw_sz_); in FillFrame()
194 aom_img_free(img_); in ReallocImage()
195 img_ = aom_img_alloc(NULL, format_, width_, height_, 32); in ReallocImage()
196 raw_sz_ = ((img_->w + 31) & ~31) * img_->h * img_->bps / 8; in ReallocImage()
199 aom_image_t *img_; variable
224 if (img_) { in FillFrame()
226 for (size_t i = 0; i < raw_sz_; ++i) img_->img_data[i] = rnd_.Rand8(); in FillFrame()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/aom/test/
H A Dvideo_source.h138 : img_(NULL), limit_(100), width_(80), height_(64), in DummyVideoSource()
143 virtual ~DummyVideoSource() { aom_img_free(img_); } in ~DummyVideoSource()
155 virtual aom_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
190 if (img_) memset(img_->img_data, 0, raw_sz_); in FillFrame()
194 aom_img_free(img_); in ReallocImage()
195 img_ = aom_img_alloc(NULL, format_, width_, height_, 32); in ReallocImage()
196 raw_sz_ = ((img_->w + 31) & ~31) * img_->h * img_->bps / 8; in ReallocImage()
199 aom_image_t *img_; variable
224 if (img_) { in FillFrame()
226 for (size_t i = 0; i < raw_sz_; ++i) img_->img_data[i] = rnd_.Rand8(); in FillFrame()
[all …]

12345678910>>...16