Home
last modified time | relevance | path

Searched refs:kI420 (Results 1 – 25 of 28) sorted by relevance

12

/external/webrtc/webrtc/common_video/libyuv/
Dscaler_unittest.cc57 frame_length_(CalcBufferSize(kI420, width_, height_)) { in TestScaler()
82 EXPECT_EQ(-1, test_scaler_.Set(0, 288, 352, 288, kI420, kI420, kScalePoint)); in TEST_F()
83 EXPECT_EQ(-1, test_scaler_.Set(704, 0, 352, 288, kI420, kI420, kScaleBox)); in TEST_F()
84 EXPECT_EQ(-1, test_scaler_.Set(704, 576, 352, 0, kI420, kI420, in TEST_F()
86 EXPECT_EQ(-1, test_scaler_.Set(704, 576, 0, 288, kI420, kI420, kScalePoint)); in TEST_F()
98 kI420, kI420, in TEST_F()
307 size_t required_size = CalcBufferSize(kI420, width, height); in ComputeAvgSequencePSNR()
325 EXPECT_EQ(0, ConvertToI420(kI420, input_buffer, 0, 0, width, height, in ComputeAvgSequencePSNR()
327 EXPECT_EQ(0, ConvertToI420(kI420, output_buffer, 0, 0, width, height, in ComputeAvgSequencePSNR()
347 kI420, kI420, method)); in ScaleSequence()
[all …]
Dlibyuv_unittest.cc101 frame_length_(CalcBufferSize(kI420, 352, 288)) { in TestLibYuv()
150 EXPECT_EQ(0, ConvertFromI420(orig_frame_, kI420, 0, in TEST_F()
152 EXPECT_EQ(0, ConvertToI420(kI420, out_i420_buffer.get(), 0, 0, width_, in TEST_F()
206 EXPECT_EQ(0, ConvertFromYV12(yv12_frame, kI420, 0, res_i420_buffer.get())); in TEST_F()
212 ConvertToI420(kI420, res_i420_buffer.get(), 0, 0, width_, height_, 0, in TEST_F()
287 EXPECT_EQ(0, ConvertFromI420(orig_frame_, kI420, 0, in TEST_F()
289 EXPECT_EQ(0, ConvertToI420(kI420, out_i420_buffer.get(), 0, 0, width_, in TEST_F()
314 EXPECT_EQ(0, ConvertToI420(kI420, orig_buffer_.get(), 0, 0, width_, height_, in TEST_F()
316 EXPECT_EQ(0, ConvertToI420(kI420, orig_buffer_.get(), 0, 0, width_, height_, in TEST_F()
321 EXPECT_EQ(0, ConvertToI420(kI420, orig_buffer_.get(), 0, 0, width_, height_, in TEST_F()
Dwebrtc_libyuv.cc26 return kI420; in RawVideoTypeToCommonVideoVideoType()
74 case kI420: in CalcBufferSize()
131 CalcBufferSize(kI420, input_frame.width(), input_frame.height()); in ExtractBuffer()
197 case kI420: in ConvertVideoType()
Dscaler.cc104 if ((src_video_type == kI420) || (src_video_type == kIYUV) || in SupportedVideoType()
/external/webrtc/webrtc/modules/video_coding/codecs/i420/
Di420.cc60 CalcBufferSize(kI420, codecSettings->width, codecSettings->height) + in InitEncode()
99 CalcBufferSize(kI420, inputImage.width(), inputImage.height()) + in Encode()
199 size_t req_length = CalcBufferSize(kI420, _width, _height) + kI420HeaderSize; in Decode()
209 int ret = ConvertToI420(kI420, buffer, 0, 0, _width, _height, 0, in Decode()
/external/webrtc/webrtc/modules/video_processing/test/
Dvideo_processing_unittest.cc66 frame_length_(CalcBufferSize(kI420, width_, height_)) {} in VideoProcessingTest()
122 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
141 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
156 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
177 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
242 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
344 ConvertToI420(kI420, source_data, offset_x, offset_y, source_width,
Dbrightness_detection_test.cc29 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_, in TEST_F()
55 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_, in TEST_F()
92 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_, in TEST_F()
Dcontent_metrics_test.cc35 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_, in TEST_F()
Ddeflickering_test.cc60 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, in TEST_F()
Ddenoiser_test.cc144 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_, in TEST_F()
/external/webrtc/webrtc/modules/video_coding/test/
Dvideo_source.h58 webrtc::VideoType type = webrtc::kI420);
63 webrtc::VideoType type = webrtc::kI420);
/external/webrtc/webrtc/modules/video_processing/
Dspatial_resampler.cc64 target_height_, kI420, kI420, kScaleBox); in ResampleFrame()
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/test/
Dvp8_impl_unittest.cc121 length_source_frame_ = CalcBufferSize(kI420, kWidth, kHeight); in SetUp()
144 EXPECT_EQ(0, ConvertToI420(kI420, source_buffer_.get(), 0, 0, in SetUp()
174 return CalcBufferSize(kI420, decoded_frame_.width(), in WaitForDecodedFrame()
273 size_t length = CalcBufferSize(kI420, kWidth, kHeight); in TEST_F()
/external/webrtc/webrtc/modules/video_coding/codecs/test/
Dvideoprocessor.cc330 config_.codec_settings->height, kI420, kI420, kScaleBilinear); in FrameDecoded()
343 size_t length = CalcBufferSize(kI420, up_image.width(), up_image.height()); in FrameDecoded()
357 size_t length = CalcBufferSize(kI420, image.width(), image.height()); in FrameDecoded()
/external/webrtc/webrtc/modules/video_coding/utility/
Dquality_scaler.cc126 scaler_.Set(frame.width(), frame.height(), res.width, res.height, kI420, in GetScaledFrame()
127 kI420, kScaleBox); in GetScaledFrame()
/external/webrtc/webrtc/test/testsupport/metrics/
Dvideo_metrics.cc126 ConvertToI420(kI420, ref_buffer.get(), 0, 0, width, height, 0, in CalculateMetrics()
128 ConvertToI420(kI420, test_buffer.get(), 0, 0, width, height, 0, in CalculateMetrics()
/external/webrtc/webrtc/modules/video_capture/test/
Dvideo_capture_unittest.cc483 size_t length = webrtc::CalcBufferSize(webrtc::kI420, in TEST_F()
505 size_t length = webrtc::CalcBufferSize(webrtc::kI420, in TEST_F()
521 size_t length = webrtc::CalcBufferSize(webrtc::kI420, in TEST_F()
539 size_t length = webrtc::CalcBufferSize(webrtc::kI420, in TEST_F()
/external/webrtc/webrtc/tools/frame_editing/
Dframe_editing_lib.cc40 size_t frame_length = CalcBufferSize(kI420, width, height); in EditFrames()
Dframe_editing_unittest.cc27 const size_t kFrameSize = CalcBufferSize(kI420, kWidth, kHeight);
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dvp8_sequence_coder.cc149 size_t length = webrtc::CalcBufferSize(webrtc::kI420, width, height); in SequenceCoder()
169 webrtc::ConvertToI420(webrtc::kI420, frame_buffer.get(), 0, 0, width, in SequenceCoder()
/external/webrtc/webrtc/common_video/libyuv/include/
Dwebrtc_libyuv.h30 kI420, enumerator
/external/webrtc/webrtc/test/
Dframe_generator.cc65 frame_size_(CalcBufferSize(kI420, in YuvFileGenerator()
113 ConvertToI420(kI420, frame_buffer_.get(), 0, 0, static_cast<int>(width_), in ReadNextFrame()
/external/webrtc/talk/media/webrtc/
Dwebrtcvideocapturer.cc420 webrtc::CalcBufferSize(webrtc::kI420, frame.width(), frame.height()); in SignalFrameCapturedOnStartThread()
/external/webrtc/webrtc/modules/video_render/mac/
Dvideo_render_agl.cc140 _incomingBufferSize = CalcBufferSize(kI420, _width, _height); in FrameSizeChange()
230 if (CalcBufferSize(kI420, videoFrame.width(), videoFrame.height()) != in DeliverFrame()
Dvideo_render_nsopengl.mm152 _incomingBufferSize = CalcBufferSize(kI420, _width, _height);
216 if (CalcBufferSize(kI420, videoFrame.width(), videoFrame.height()) !=

12