Home
last modified time | relevance | path

Searched refs:video_frame_ (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/video_processing/main/test/unit_test/
Dvideo_processing_unittest.cc46 ASSERT_EQ(0, video_frame_.CreateEmptyFrame(width_, height_, width_, in SetUp()
49 memset(video_frame_.buffer(kYPlane), 0, video_frame_.allocated_size(kYPlane)); in SetUp()
50 memset(video_frame_.buffer(kUPlane), 0, video_frame_.allocated_size(kUPlane)); in SetUp()
51 memset(video_frame_.buffer(kVPlane), 0, video_frame_.allocated_size(kVPlane)); in SetUp()
97 0, kRotateNone, &video_frame_)); in TEST_F()
99 EXPECT_EQ(-1, vpm_->Deflickering(&video_frame_, &stats)); in TEST_F()
101 EXPECT_EQ(-3, vpm_->BrightnessDetection(video_frame_, stats)); in TEST_F()
107 video_frame_.ResetSize(); in TEST_F()
108 video_frame_.set_width(width_); in TEST_F()
109 video_frame_.set_height(0); in TEST_F()
[all …]
Dbrightness_detection_test.cc28 0, kRotateNone, &video_frame_)); in TEST_F()
31 ASSERT_EQ(0, vpm_->GetFrameStats(&stats, video_frame_)); in TEST_F()
32 ASSERT_GE(brightnessWarning = vpm_->BrightnessDetection(video_frame_, in TEST_F()
56 0, kRotateNone, &video_frame_)); in TEST_F()
59 uint8_t* frame = video_frame_.buffer(kYPlane); in TEST_F()
72 ASSERT_EQ(0, vpm_->GetFrameStats(&stats, video_frame_)); in TEST_F()
73 ASSERT_GE(brightnessWarning = vpm_->BrightnessDetection(video_frame_, in TEST_F()
96 0, kRotateNone, &video_frame_)); in TEST_F()
99 uint8_t* y_plane = video_frame_.buffer(kYPlane); in TEST_F()
108 ASSERT_EQ(0, vpm_->GetFrameStats(&stats, video_frame_)); in TEST_F()
[all …]
Dcolor_enhancement_test.cc49 0, kRotateNone, &video_frame_)); in TEST_F()
52 ASSERT_EQ(0, VideoProcessingModule::ColorEnhancement(&video_frame_)); in TEST_F()
55 if (PrintI420VideoFrame(video_frame_, modFile) < 0) { in TEST_F()
96 0, kRotateNone, &video_frame_)); in TEST_F()
102 EXPECT_EQ(0, memcmp(video_frame_.buffer(kYPlane), in TEST_F()
105 EXPECT_EQ(0, memcmp(video_frame_.buffer(kUPlane), in TEST_F()
108 EXPECT_EQ(0, memcmp(video_frame_.buffer(kVPlane), in TEST_F()
Ddeflickering_test.cc61 0, kRotateNone, &video_frame_)); in TEST_F()
62 video_frame_.set_timestamp(timeStamp); in TEST_F()
66 ASSERT_EQ(0, vpm_->GetFrameStats(&stats, video_frame_)); in TEST_F()
67 ASSERT_EQ(0, vpm_->Deflickering(&video_frame_, &stats)); in TEST_F()
73 if (PrintI420VideoFrame(video_frame_, deflickerFile) < 0) { in TEST_F()
Ddenoising_test.cc58 0, kRotateNone, &video_frame_)); in TEST_F()
60 uint8_t* sourceBuffer = video_frame_.buffer(kYPlane); in TEST_F()
100 if (PrintI420VideoFrame(video_frame_, noiseFile) < 0) { in TEST_F()
106 ASSERT_GE(modifiedPixels = vpm_->Denoising(&video_frame_), 0); in TEST_F()
112 if (PrintI420VideoFrame(video_frame_, noiseFile) < 0) { in TEST_F()
Dcontent_metrics_test.cc32 0, kRotateNone, &video_frame_)); in TEST_F()
33 _cM_c = ca__c.ComputeContentMetrics(video_frame_); in TEST_F()
34 _cM_SSE = ca__sse.ComputeContentMetrics(video_frame_); in TEST_F()
Dvideo_processing_unittest.h36 I420VideoFrame video_frame_; variable
/external/chromium_org/ppapi/cpp/private/
Dvideo_frame_private.cc10 : video_frame_() { in VideoFrame_Private()
11 video_frame_.image_data = image_data_.pp_resource(); in VideoFrame_Private()
16 : image_data_(image_data), video_frame_() { in VideoFrame_Private()
17 video_frame_.timestamp = timestamp; in VideoFrame_Private()
18 video_frame_.image_data = image_data_.pp_resource(); in VideoFrame_Private()
24 : video_frame_(pp_video_frame) { in VideoFrame_Private()
26 image_data_ = ImageData(PASS_REF, video_frame_.image_data); in VideoFrame_Private()
30 : video_frame_() { in VideoFrame_Private()
Dvideo_frame_private.h51 return video_frame_; in pp_video_frame()
61 video_frame_.image_data = image_data_.pp_resource(); in set_image_data()
64 PP_TimeTicks timestamp() const { return video_frame_.timestamp; } in timestamp()
66 video_frame_.timestamp = timestamp; in set_timestamp()
71 PP_VideoFrame_Private video_frame_; variable
/external/chromium_org/media/cast/transport/rtp_sender/rtp_packetizer/
Drtp_packetizer_unittest.cc103 video_frame_(), in RtpPacketizerTest()
115 video_frame_.dependency = EncodedFrame::DEPENDENT; in RtpPacketizerTest()
116 video_frame_.frame_id = 0; in RtpPacketizerTest()
117 video_frame_.referenced_frame_id = kStartFrameId; in RtpPacketizerTest()
118 video_frame_.data.assign(kFrameSize, 123); in RtpPacketizerTest()
119 video_frame_.rtp_timestamp = in RtpPacketizerTest()
133 EncodedFrame video_frame_; member in media::cast::transport::RtpPacketizerTest
147 transport_->set_rtp_timestamp(video_frame_.rtp_timestamp); in TEST_F()
150 video_frame_.reference_time = testing_clock_.NowTicks(); in TEST_F()
151 rtp_packetizer_->SendFrameAsPackets(video_frame_); in TEST_F()
[all …]
/external/chromium_org/media/cast/video_sender/
Dvideo_encoder_impl_unittest.cc84 video_frame_ = media::VideoFrame::CreateFrame( in VideoEncoderImplTest()
86 PopulateVideoFrame(video_frame_, 123); in VideoEncoderImplTest()
116 scoped_refptr<media::VideoFrame> video_frame_; member in media::cast::VideoEncoderImplTest
134 video_frame_, capture_time, frame_encoded_callback)); in TEST_F()
141 video_frame_, capture_time, frame_encoded_callback)); in TEST_F()
148 video_frame_, capture_time, frame_encoded_callback)); in TEST_F()
157 video_frame_, capture_time, frame_encoded_callback)); in TEST_F()
176 video_frame_, capture_time, frame_encoded_callback)); in TEST_F()
183 video_frame_, capture_time, frame_encoded_callback)); in TEST_F()
190 video_frame_, capture_time, frame_encoded_callback)); in TEST_F()
[all …]
Dexternal_video_encoder_unittest.cc104 video_frame_ = media::VideoFrame::CreateFrame( in ExternalVideoEncoderTest()
106 PopulateVideoFrame(video_frame_, 123); in ExternalVideoEncoderTest()
135 scoped_refptr<media::VideoFrame> video_frame_; member in media::cast::ExternalVideoEncoderTest
152 video_frame_, capture_time, frame_encoded_callback)); in TEST_F()
159 video_frame_, capture_time, frame_encoded_callback)); in TEST_F()
182 video_frame_, capture_time, frame_encoded_callback)); in TEST_F()
/external/chromium_org/media/video/capture/
Dfile_video_capture_device.cc193 video_frame_.reset(new uint8[frame_size_]); in OnAllocateAndStart()
208 video_frame_.reset(); in OnStopAndDeAllocate()
216 reinterpret_cast<char*>(video_frame_.get()), in OnCaptureTask()
225 reinterpret_cast<char*>(video_frame_.get()), in OnCaptureTask()
233 client_->OnIncomingCapturedData(video_frame_.get(), in OnCaptureTask()
Dfile_video_capture_device.h66 scoped_ptr<uint8[]> video_frame_; variable
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_video.cc74 payload_data_length_ = sizeof(video_frame_); in SetUp()
77 video_frame_[n] = n%10; in SetUp()
139 uint8_t video_frame_[65000]; member in webrtc::RtpRtcpVideoTest
150 video_frame_, in TEST_F()
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dwebrtcvideoframe.cc60 webrtc::VideoFrame video_frame_; member in cricket::WebRtcVideoFrame::FrameBuffer
76 video_frame_.Swap(new_memory, new_length, new_size); in ~FrameBuffer()
89 video_frame_.Swap(new_memory, new_length, new_size); in Alias()
93 return video_frame_.Buffer(); in data()
97 return video_frame_.Length(); in length()
101 return &video_frame_; in frame()
105 return &video_frame_; in frame()
Dwebrtcvideoengine2.cc1500 ConvertToI420VideoFrame(*frame, &video_frame_); in InputFrame()
1503 CreateBlackFrame(&video_frame_, 1, 1); in InputFrame()
1514 SetDimensions(video_frame_.width(), video_frame_.height()); in InputFrame()
1516 LOG(LS_VERBOSE) << "SwapFrame: " << video_frame_.width() << "x" in InputFrame()
1517 << video_frame_.height() << " -> (codec) " in InputFrame()
1520 stream_->Input()->SwapFrame(&video_frame_); in InputFrame()
Dwebrtcvideoengine2.h328 webrtc::I420VideoFrame video_frame_ GUARDED_BY(frame_lock_);