Home
last modified time | relevance | path

Searched refs:new_width (Results 1 – 25 of 38) sorted by relevance

12

/external/webrtc/talk/media/webrtc/
Dwebrtcvideoframefactory_unittest.cc89 int new_width = captured_frame.width / 2; in TestCreateAliasedFrame() local
91 frame.reset(factory.CreateAliasedFrame(&captured_frame, new_width, in TestCreateAliasedFrame()
92 new_height, new_width, new_height)); in TestCreateAliasedFrame()
93 VerifyFrame(frame.get(), webrtc::kVideoRotation_270, new_width, new_height, in TestCreateAliasedFrame()
97 &captured_frame, new_width, new_height, new_width / 2, new_height / 2)); in TestCreateAliasedFrame()
98 VerifyFrame(frame.get(), webrtc::kVideoRotation_270, new_width / 2, in TestCreateAliasedFrame()
105 &captured_frame, new_width, new_height, new_width / 2, new_height / 2)); in TestCreateAliasedFrame()
106 VerifyFrame(frame.get(), webrtc::kVideoRotation_270, new_width / 2, in TestCreateAliasedFrame()
Dwebrtcvideoframe.cc212 int new_width = dw; in Reset() local
216 new_width = dh; in Reset()
220 InitToEmptyBuffer(new_width, new_height, pixel_width, pixel_height, in Reset()
/external/tensorflow/tensorflow/core/kernels/
Dops_util_test.cc44 int new_width; member
71 int64 new_height, new_width, pad_rows, pad_cols; in VerifyGet2dOutputSizeBoundaries() local
79 pad_struct.input.col_stride, pad_struct.input.padding, &new_width, in VerifyGet2dOutputSizeBoundaries()
86 int64 new_height, new_width, pad_rows, pad_cols; in VerifyGet2dOutputSizeValues() local
94 pad_struct.input.col_stride, pad_struct.input.padding, &new_width, in VerifyGet2dOutputSizeValues()
98 EXPECT_EQ(pad_struct.output.new_width, new_width); in VerifyGet2dOutputSizeValues()
105 int64 new_height, new_width, pad_top, pad_bottom, pad_left, pad_right; in VerifyGet2dOutputVerboseSizeValues() local
113 pad_struct.input.col_stride, pad_struct.input.padding, &new_width, in VerifyGet2dOutputVerboseSizeValues()
117 EXPECT_EQ(pad_struct.output.new_width, new_width); in VerifyGet2dOutputVerboseSizeValues()
/external/webrtc/talk/media/base/
Dvideoadapter.cc427 int new_width, new_height; in OnOutputFormatRequest() local
428 bool changed = AdaptToMinimumFormat(&new_width, &new_height); in OnOutputFormatRequest()
433 << " To: " << new_width << "x" << new_height; in OnOutputFormatRequest()
497 int new_width, new_height; in OnEncoderResolutionRequest() local
498 bool changed = AdaptToMinimumFormat(&new_width, &new_height); in OnEncoderResolutionRequest()
512 << " To: " << new_width << "x" << new_height; in OnEncoderResolutionRequest()
558 int new_width, new_height; in OnCpuResolutionRequest() local
559 bool changed = AdaptToMinimumFormat(&new_width, &new_height); in OnCpuResolutionRequest()
565 << " To: " << new_width << "x" << new_height; in OnCpuResolutionRequest()
624 bool CoordinatedVideoAdapter::AdaptToMinimumFormat(int* new_width, in AdaptToMinimumFormat() argument
[all …]
Dvideoadapter.h169 bool AdaptToMinimumFormat(int* new_width, int* new_height);
/external/libchrome/ui/gfx/geometry/
Drect_f.cc167 float new_width = width(); in AdjustToFit() local
169 AdjustAlongAxis(rect.x(), rect.width(), &new_x, &new_width); in AdjustToFit()
171 SetRect(new_x, new_y, new_width, new_height); in AdjustToFit()
179 float new_width = std::min(width(), size.width()); in ClampToCenteredSize() local
181 float new_x = x() + (width() - new_width) / 2; in ClampToCenteredSize()
183 SetRect(new_x, new_y, new_width, new_height); in ClampToCenteredSize()
Drect.cc241 int new_width = width(); in AdjustToFit() local
243 AdjustAlongAxis(rect.x(), rect.width(), &new_x, &new_width); in AdjustToFit()
245 SetRect(new_x, new_y, new_width, new_height); in AdjustToFit()
253 int new_width = std::min(width(), size.width()); in ClampToCenteredSize() local
255 int new_x = x() + (width() - new_width) / 2; in ClampToCenteredSize()
257 SetRect(new_x, new_y, new_width, new_height); in ClampToCenteredSize()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ResizeNearestNeighbor.pbtxt12 = A 1-D int32 Tensor of 2 elements: `new_height, new_width`. The
20 `[batch, new_height, new_width, channels]`.
Dapi_def_QuantizedResizeBilinear.pbtxt12 = A 1-D int32 Tensor of 2 elements: `new_height, new_width`. The
20 `[batch, new_height, new_width, channels]`.
Dapi_def_ResizeBilinear.pbtxt12 = A 1-D int32 Tensor of 2 elements: `new_height, new_width`. The
20 `[batch, new_height, new_width, channels]`.
Dapi_def_ResizeBicubic.pbtxt12 = A 1-D int32 Tensor of 2 elements: `new_height, new_width`. The
20 `[batch, new_height, new_width, channels]`.
Dapi_def_ResizeArea.pbtxt12 = A 1-D int32 Tensor of 2 elements: `new_height, new_width`. The
20 `[batch, new_height, new_width, channels]`.
Dapi_def_FusedResizeAndPadConv2D.pbtxt12 A 1-D int32 Tensor of 2 elements: `new_height, new_width`. The
/external/v8/src/compiler/
Dloop-analysis.cc274 int new_width = width_ + 1; in ResizeBackwardMarks() local
276 uint32_t* new_backward = zone_->NewArray<uint32_t>(new_width * max); in ResizeBackwardMarks()
277 memset(new_backward, 0, new_width * max * sizeof(uint32_t)); in ResizeBackwardMarks()
280 uint32_t* np = &new_backward[i * new_width]; in ResizeBackwardMarks()
285 width_ = new_width; in ResizeBackwardMarks()
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dimage_data.h140 const int new_width = in GetPyramidSqrt2Level() local
146 pyramid_sqrt2_[level] = new Image<uint8_t>(new_width, new_height); in GetPyramidSqrt2Level()
Dimage-inl.h116 const int new_width = right - left + 1; in Crop() local
119 Image<T>* const cropped_image = new Image(new_width, new_height); in Crop()
123 new_width * sizeof(T)); in Crop()
Dobject_tracker_jni.cc445 const int new_width = (width + factor - 1) / factor; in OBJECT_TRACKER_METHOD() local
449 new_width, new_height, reinterpret_cast<uint8_t*>(output_array), false); in OBJECT_TRACKER_METHOD()
/external/libxcam/modules/ocl/
Dcl_image_scaler.cpp215 uint32_t new_width = XCAM_ALIGN_UP ((uint32_t)(video_info.width * _h_scaler_factor), in prepare_scaler_buf() local
220 scaler_video_info.init (video_info.format, new_width, new_height); in prepare_scaler_buf()
Dcl_retinex_handler.cpp232 uint32_t new_width = XCAM_ALIGN_UP ((uint32_t)(video_info.width * _scaler_factor), 8); in prepare_scaler_buf() local
235 scaler_video_info.init (video_info.format, new_width, new_height); in prepare_scaler_buf()
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DMediaCodecVideoDecoder.java541 int new_width = format.getInteger(MediaFormat.KEY_WIDTH); in dequeueOutputBuffer() local
543 if (hasDecodedFirstFrame && (new_width != width || new_height != height)) { in dequeueOutputBuffer()
545 height + ". New " + new_width + "*" + new_height); in dequeueOutputBuffer()
/external/libvpx/libvpx/vp8/encoder/
Dfirstpass.c2988 int new_width = cpi->oxcf.Width; in find_next_key_frame() local
3071 new_height, new_width); in find_next_key_frame()
3122 new_width = ((hs - 1) + (cpi->oxcf.Width * hr)) / hs; in find_next_key_frame()
3129 effective_size_ratio = (double)(new_width * new_height) / in find_next_key_frame()
3146 new_height, new_width); in find_next_key_frame()
3152 if ((cpi->common.Width != new_width) || in find_next_key_frame()
3154 cpi->common.Width = new_width; in find_next_key_frame()
/external/fonttools/Lib/fontTools/varLib/
DvarStore.py377 for new_width in range(self.width+1, self.width+self.room+1):
378 for new_encoding in done_by_width[new_width]:
/external/webrtc/webrtc/modules/video_coding/
Dqm_select_unittest.cc65 uint16_t new_width,
1293 uint16_t new_width, in IsSelectedActionCorrect() argument
1299 qm_scale->codec_width == new_width && in IsSelectedActionCorrect()
/external/pdfium/core/fxcrt/
Dfx_coordinates.h66 CFX_STemplate(BaseType new_width, BaseType new_height) in CFX_STemplate() argument
67 : width(new_width), height(new_height) {} in CFX_STemplate()
/external/pdfium/core/fxge/dib/
Dcfx_dibitmap.cpp1035 int new_width = rect.right / 8 - rect.left / 8; in CompositeRect() local
1052 if (new_width) { in CompositeRect()
1053 memset(dest_scan_top + 1, index ? 255 : 0, new_width - 1); in CompositeRect()

12