/external/webrtc/talk/media/base/ |
D | videoframe_unittest.h | 494 static bool IsEqual(const cricket::VideoFrame& frame1, in IsEqual() argument 497 return IsEqual(frame1, in IsEqual() 507 static bool IsEqualWithCrop(const cricket::VideoFrame& frame1, in IsEqualWithCrop() argument 510 return frame1.GetWidth() <= frame2.GetWidth() && in IsEqualWithCrop() 511 frame1.GetHeight() <= frame2.GetHeight() && in IsEqualWithCrop() 512 IsEqual(frame1, in IsEqualWithCrop() 573 T frame1, frame2; in ConstructI422() local 574 ASSERT_TRUE(LoadFrameNoRepeat(&frame1)); in ConstructI422() 580 EXPECT_EQ(0, libyuv::I420ToI422(frame1.GetYPlane(), frame1.GetYPitch(), in ConstructI422() 581 frame1.GetUPlane(), frame1.GetUPitch(), in ConstructI422() [all …]
|
D | testutils.cc | 325 bool VideoFrameEqual(const VideoFrame* frame0, const VideoFrame* frame1) { in VideoFrameEqual() argument 329 const uint8_t* y1 = frame1->GetYPlane(); in VideoFrameEqual() 330 const uint8_t* u1 = frame1->GetUPlane(); in VideoFrameEqual() 331 const uint8_t* v1 = frame1->GetVPlane(); in VideoFrameEqual() 338 y1 += frame1->GetYPitch(); in VideoFrameEqual() 350 u1 += frame1->GetUPitch(); in VideoFrameEqual() 351 v1 += frame1->GetVPitch(); in VideoFrameEqual()
|
/external/google-breakpad/src/processor/ |
D | stackwalker_x86_unittest.cc | 281 StackFrameX86 *frame1 = static_cast<StackFrameX86 *>(frames->at(1)); in TEST_F() local 282 EXPECT_EQ(StackFrame::FRAME_TRUST_FP, frame1->trust); in TEST_F() 286 frame1->context_validity); in TEST_F() 287 EXPECT_EQ(0x40008679U, frame1->instruction + 1); in TEST_F() 288 EXPECT_EQ(0x40008679U, frame1->context.eip); in TEST_F() 289 EXPECT_EQ(frame1_ebp.Value(), frame1->context.ebp); in TEST_F() 290 EXPECT_EQ(NULL, frame1->windows_frame_info); in TEST_F() 346 StackFrameX86 *frame1 = static_cast<StackFrameX86 *>(frames->at(1)); in TEST_F() local 347 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust); in TEST_F() 351 frame1->context_validity); in TEST_F() [all …]
|
D | stackwalker_mips_unittest.cc | 279 StackFrameMIPS* frame1 = static_cast<StackFrameMIPS*>(frames->at(1)); in TEST_F() local 280 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust); in TEST_F() 285 frame1->context_validity); in TEST_F() 286 EXPECT_EQ(return_address1 - 2 * sizeof(return_address1), frame1->context.epc); in TEST_F() 287 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_MIPS_REG_SP]); in TEST_F() 355 StackFrameMIPS* frame1 = static_cast<StackFrameMIPS*>(frames->at(1)); in TEST_F() local 356 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust); in TEST_F() 361 frame1->context_validity); in TEST_F() 362 EXPECT_EQ(return_address - 2 * sizeof(return_address), frame1->context.epc); in TEST_F() 363 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_MIPS_REG_SP]); in TEST_F() [all …]
|
D | stackwalker_amd64_unittest.cc | 286 StackFrameAMD64 *frame1 = static_cast<StackFrameAMD64 *>(frames->at(1)); in TEST_F() local 287 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust); in TEST_F() 291 frame1->context_validity); in TEST_F() 292 EXPECT_EQ(return_address1, frame1->context.rip); in TEST_F() 293 EXPECT_EQ(frame1_sp.Value(), frame1->context.rsp); in TEST_F() 294 EXPECT_EQ(frame1_rbp.Value(), frame1->context.rbp); in TEST_F() 360 StackFrameAMD64 *frame1 = static_cast<StackFrameAMD64 *>(frames->at(1)); in TEST_F() local 361 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust); in TEST_F() 365 frame1->context_validity); in TEST_F() 366 EXPECT_EQ(return_address, frame1->context.rip); in TEST_F() [all …]
|
D | stackwalker_arm64_unittest.cc | 245 StackFrameARM64 *frame1 = static_cast<StackFrameARM64 *>(frames->at(1)); in TEST_F() local 246 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust); in TEST_F() 249 frame1->context_validity); in TEST_F() 250 EXPECT_EQ(return_address1, frame1->context.iregs[MD_CONTEXT_ARM64_REG_PC]); in TEST_F() 251 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM64_REG_SP]); in TEST_F() 317 StackFrameARM64 *frame1 = static_cast<StackFrameARM64 *>(frames->at(1)); in TEST_F() local 318 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust); in TEST_F() 321 frame1->context_validity); in TEST_F() 322 EXPECT_EQ(return_address, frame1->context.iregs[MD_CONTEXT_ARM64_REG_PC]); in TEST_F() 323 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM64_REG_SP]); in TEST_F() [all …]
|
D | stackwalker_arm_unittest.cc | 267 StackFrameARM *frame1 = static_cast<StackFrameARM *>(frames->at(1)); in TEST_F() local 268 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust); in TEST_F() 271 frame1->context_validity); in TEST_F() 272 EXPECT_EQ(return_address1, frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F() 273 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F() 338 StackFrameARM *frame1 = static_cast<StackFrameARM *>(frames->at(1)); in TEST_F() local 339 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust); in TEST_F() 342 frame1->context_validity); in TEST_F() 343 EXPECT_EQ(return_address, frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F() 344 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F() [all …]
|
/external/webrtc/webrtc/video/ |
D | video_capture_input_unittest.cc | 42 bool EqualFrames(const VideoFrame& frame1, const VideoFrame& frame2); 43 bool EqualTextureFrames(const VideoFrame& frame1, const VideoFrame& frame2); 44 bool EqualBufferFrames(const VideoFrame& frame1, const VideoFrame& frame2); 250 bool EqualFrames(const VideoFrame& frame1, const VideoFrame& frame2) { in EqualFrames() argument 251 if (frame1.native_handle() != NULL || frame2.native_handle() != NULL) in EqualFrames() 252 return EqualTextureFrames(frame1, frame2); in EqualFrames() 253 return EqualBufferFrames(frame1, frame2); in EqualFrames() 256 bool EqualTextureFrames(const VideoFrame& frame1, const VideoFrame& frame2) { in EqualTextureFrames() argument 257 return ((frame1.native_handle() == frame2.native_handle()) && in EqualTextureFrames() 258 (frame1.width() == frame2.width()) && in EqualTextureFrames() [all …]
|
D | video_send_stream_tests.cc | 47 void ExpectEqualFrames(const VideoFrame& frame1, const VideoFrame& frame2); 48 void ExpectEqualTextureFrames(const VideoFrame& frame1, 50 void ExpectEqualBufferFrames(const VideoFrame& frame1, 1191 void ExpectEqualFrames(const VideoFrame& frame1, const VideoFrame& frame2) { in ExpectEqualFrames() argument 1192 if (frame1.native_handle() != nullptr || frame2.native_handle() != nullptr) in ExpectEqualFrames() 1193 ExpectEqualTextureFrames(frame1, frame2); in ExpectEqualFrames() 1195 ExpectEqualBufferFrames(frame1, frame2); in ExpectEqualFrames() 1198 void ExpectEqualTextureFrames(const VideoFrame& frame1, in ExpectEqualTextureFrames() argument 1200 EXPECT_EQ(frame1.native_handle(), frame2.native_handle()); in ExpectEqualTextureFrames() 1201 EXPECT_EQ(frame1.width(), frame2.width()); in ExpectEqualTextureFrames() [all …]
|
/external/webrtc/webrtc/common_video/ |
D | i420_video_frame_unittest.cc | 137 VideoFrame frame1; in TEST() local 138 EXPECT_EQ(0, frame1.CreateFrame(buffer_y, buffer_u, buffer_v, width, height, in TEST() 140 frame1.set_timestamp(timestamp); in TEST() 141 frame1.set_ntp_time_ms(ntp_time_ms); in TEST() 142 frame1.set_render_time_ms(render_time_ms); in TEST() 144 frame2.ShallowCopy(frame1); in TEST() 147 const VideoFrame* const_frame1_ptr = &frame1; in TEST() 157 EXPECT_EQ(frame2.timestamp(), frame1.timestamp()); in TEST() 158 EXPECT_EQ(frame2.ntp_time_ms(), frame1.ntp_time_ms()); in TEST() 159 EXPECT_EQ(frame2.render_time_ms(), frame1.render_time_ms()); in TEST() [all …]
|
/external/webrtc/webrtc/modules/utility/source/ |
D | audio_frame_operations_unittest.cc | 43 void VerifyFramesAreEqual(const AudioFrame& frame1, const AudioFrame& frame2) { in VerifyFramesAreEqual() argument 44 EXPECT_EQ(frame1.num_channels_, frame2.num_channels_); in VerifyFramesAreEqual() 45 EXPECT_EQ(frame1.samples_per_channel_, in VerifyFramesAreEqual() 48 for (size_t i = 0; i < frame1.samples_per_channel_ * frame1.num_channels_; in VerifyFramesAreEqual() 50 EXPECT_EQ(frame1.data_[i], frame2.data_[i]); in VerifyFramesAreEqual()
|
/external/valgrind/memcheck/tests/ |
D | xml1.c | 42 int frame1 ( void ) in frame1() function 49 int ret = frame1() - 1; in main()
|
/external/deqp/modules/egl/ |
D | teglGetFrameTimestampsTests.cpp | 257 void verifyNeighboringFrames (const FrameTimes& frame1, const FrameTimes& frame2, tcu::ResultCollec… in verifyNeighboringFrames() argument 260 …check_lt(result, frame1.swapBufferBeginNs, frame2.swapBufferBeginNs, "Swap begin times not monoton… in verifyNeighboringFrames() 261 check_lt(result, frame1.latch, frame2.latch, "Latch times not monotonic."); in verifyNeighboringFrames() 262 …check_lt(result, frame1.lastCompositionStart, frame2.latch, "Old buffer composited after new buffe… in verifyNeighboringFrames() 263 …check_lt(result, frame1.lastCompositionStart, frame2.firstCompositionStart, "Composition times ove… in verifyNeighboringFrames() 264 check_lt(result, frame1.dequeueReady, frame2.dequeueReady, "Dequeue ready times not monotonic."); in verifyNeighboringFrames() 267 …check_lt(result, frame1.renderingComplete, frame2.renderingComplete, "Rendering complete times not… in verifyNeighboringFrames() 269 …if (timestampValid(frame1.firstCompositionGpuFinished) && timestampValid(frame2.firstCompositionGp… in verifyNeighboringFrames() 270 …check_lt(result, frame1.firstCompositionGpuFinished, frame2.firstCompositionGpuFinished, "Composit… in verifyNeighboringFrames() 272 if (timestampValid(frame1.displayPresent) && timestampValid(frame2.displayPresent)) in verifyNeighboringFrames() [all …]
|
/external/webrtc/talk/media/webrtc/ |
D | webrtcvideoframe_unittest.cc | 317 cricket::WebRtcVideoFrame frame1(buffer, 200, webrtc::kVideoRotation_0); in TEST_F() local 318 cricket::VideoFrame* frame2 = frame1.Copy(); in TEST_F() 319 EXPECT_EQ(frame1.GetNativeHandle(), frame2->GetNativeHandle()); in TEST_F() 320 EXPECT_EQ(frame1.GetWidth(), frame2->GetWidth()); in TEST_F() 321 EXPECT_EQ(frame1.GetHeight(), frame2->GetHeight()); in TEST_F() 322 EXPECT_EQ(frame1.GetTimeStamp(), frame2->GetTimeStamp()); in TEST_F()
|
/external/webrtc/webrtc/modules/video_capture/test/ |
D | video_capture_unittest.cc | 65 static bool CompareFrames(const webrtc::VideoFrame& frame1, in CompareFrames() argument 68 (frame1.stride(webrtc::kYPlane) == frame2.stride(webrtc::kYPlane)) && in CompareFrames() 69 (frame1.stride(webrtc::kUPlane) == frame2.stride(webrtc::kUPlane)) && in CompareFrames() 70 (frame1.stride(webrtc::kVPlane) == frame2.stride(webrtc::kVPlane)) && in CompareFrames() 71 (frame1.width() == frame2.width()) && in CompareFrames() 72 (frame1.height() == frame2.height()); in CompareFrames() 78 int allocated_size1 = frame1.allocated_size(plane_type); in CompareFrames() 82 const uint8_t* plane_buffer1 = frame1.buffer(plane_type); in CompareFrames()
|
/external/libvpx/libvpx/vp8/encoder/mips/msa/ |
D | temporal_filter_msa.c | 128 v16i8 frame1 = { 0 }; in temporal_filter_apply_8size_msa() local 160 INSERT_D2_SB(f0, f1, frame1); in temporal_filter_apply_8size_msa() 164 ILVRL_B2_UB(frame1, frame2, frame_l, frame_h); in temporal_filter_apply_8size_msa() 243 void vp8_temporal_filter_apply_msa(uint8_t *frame1, uint32_t stride, in vp8_temporal_filter_apply_msa() argument 248 temporal_filter_apply_8size_msa(frame1, stride, frame2, strength, in vp8_temporal_filter_apply_msa() 251 temporal_filter_apply_16size_msa(frame1, stride, frame2, strength, in vp8_temporal_filter_apply_msa() 261 int src_byte = frame1[byte]; in vp8_temporal_filter_apply_msa()
|
/external/autotest/server/cros/ap_configurators/ |
D | netgear3700_ap_configurator.py | 31 frame1 = self.driver.find_element_by_xpath('//frame[@name="contents"]') 32 frame2 = self.driver.switch_to_frame(frame1)
|
D | buffalo_wzr_d1800h_ap_configurator.py | 133 frame1 = self.driver.find_element_by_xpath('//frame[@name="lower"]') 134 self.driver.switch_to_frame(frame1)
|
/external/python/cpython2/Tools/pynche/ |
D | StripViewer.py | 329 frame1 = Frame(frame) 330 frame1.pack(expand=YES, fill=BOTH) 331 self.__reds = StripWidget(switchboard, frame1, 337 self.__greens = StripWidget(switchboard, frame1, 343 self.__blues = StripWidget(switchboard, frame1,
|
/external/webrtc/webrtc/modules/video_processing/test/ |
D | video_processing_unittest.cc | 53 static bool CompareFrames(const webrtc::VideoFrame& frame1, 380 bool CompareFrames(const webrtc::VideoFrame& frame1, argument 384 int allocated_size1 = frame1.allocated_size(plane_type); 388 const uint8_t* plane_buffer1 = frame1.buffer(plane_type);
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_rtcd_defs.pl | 201 add_proto qw/void vp9_temporal_filter_apply/, "const uint8_t *frame1, unsigned int stride, const ui… 221 …add_proto qw/void vp9_highbd_temporal_filter_apply/, "const uint8_t *frame1, unsigned int stride, …
|
/external/python/cpython2/Modules/_ctypes/libffi/src/pa/ |
D | hpux32.S | 306 L$frame1: 323 .word L$ASFDE1-L$frame1 ;# FDE CIE offset 351 .word L$ASFDE2-L$frame1 ;# FDE CIE offset
|
/external/skia/tests/ |
D | PathOpsConicIntersectionTest.cpp | 188 const SkDConic frame1[] = { variable 231 frame0, frame1, frame2, frame3, frame4, frame5, frame6 234 const int frameSizes[] = { (int) SK_ARRAY_COUNT(frame0), (int) SK_ARRAY_COUNT(frame1),
|
/external/libvpx/libvpx/vp8/encoder/x86/ |
D | temporal_filter_apply_sse2.asm | 15 ; (unsigned char *frame1, | 0
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_temporal_filter.c | 97 void vp9_temporal_filter_apply_c(const uint8_t *frame1, unsigned int stride, in vp9_temporal_filter_apply_c() argument 129 int diff = frame1[byte + idy * (int)stride + idx] - in vp9_temporal_filter_apply_c() 170 const uint16_t *frame1 = CONVERT_TO_SHORTPTR(frame1_8); in vp9_highbd_temporal_filter_apply_c() local 190 int diff = frame1[byte + idy * (int)stride + idx] - in vp9_highbd_temporal_filter_apply_c()
|