/external/chromium_org/third_party/webrtc/common_video/ |
D | i420_video_frame.cc | 65 int I420VideoFrame::CopyFrame(const I420VideoFrame& videoFrame) { in CopyFrame() argument 66 int ret = CreateFrame(videoFrame.allocated_size(kYPlane), in CopyFrame() 67 videoFrame.buffer(kYPlane), in CopyFrame() 68 videoFrame.allocated_size(kUPlane), in CopyFrame() 69 videoFrame.buffer(kUPlane), in CopyFrame() 70 videoFrame.allocated_size(kVPlane), in CopyFrame() 71 videoFrame.buffer(kVPlane), in CopyFrame() 72 videoFrame.width_, videoFrame.height_, in CopyFrame() 73 videoFrame.stride(kYPlane), videoFrame.stride(kUPlane), in CopyFrame() 74 videoFrame.stride(kVPlane)); in CopyFrame() [all …]
|
D | texture_video_frame.cc | 55 int TextureVideoFrame::CopyFrame(const I420VideoFrame& videoFrame) { in CopyFrame() argument 65 void TextureVideoFrame::SwapFrame(I420VideoFrame* videoFrame) { in SwapFrame() argument
|
/external/webrtc/src/modules/interface/ |
D | module_common_types.h | 458 WebRtc_Word32 SwapFrame(VideoFrame& videoFrame); 463 WebRtc_Word32 CopyFrame(const VideoFrame& videoFrame); 598 VideoFrame::SwapFrame(VideoFrame& videoFrame) in SwapFrame() argument 605 _timeStamp = videoFrame._timeStamp; in SwapFrame() 606 _width = videoFrame._width; in SwapFrame() 607 _height = videoFrame._height; in SwapFrame() 608 _renderTimeMs = videoFrame._renderTimeMs; in SwapFrame() 610 videoFrame._timeStamp = tmpTimeStamp; in SwapFrame() 611 videoFrame._width = tmpWidth; in SwapFrame() 612 videoFrame._height = tmpHeight; in SwapFrame() [all …]
|
/external/chromium_org/third_party/webrtc/modules/interface/ |
D | module_common_types.h | 431 int32_t SwapFrame(VideoFrame& videoFrame); 437 int32_t CopyFrame(const VideoFrame& videoFrame); 556 inline int32_t VideoFrame::SwapFrame(VideoFrame& videoFrame) { in SwapFrame() argument 562 _timeStamp = videoFrame._timeStamp; in SwapFrame() 563 _width = videoFrame._width; in SwapFrame() 564 _height = videoFrame._height; in SwapFrame() 565 _renderTimeMs = videoFrame._renderTimeMs; in SwapFrame() 567 videoFrame._timeStamp = tmpTimeStamp; in SwapFrame() 568 videoFrame._width = tmpWidth; in SwapFrame() 569 videoFrame._height = tmpHeight; in SwapFrame() [all …]
|
/external/chromium_org/third_party/webrtc/modules/video_render/linux/ |
D | video_x11_channel.cc | 47 I420VideoFrame& videoFrame) { in RenderFrame() argument 49 if (_width != videoFrame.width() || _height in RenderFrame() 50 != videoFrame.height()) { in RenderFrame() 51 if (FrameSizeChange(videoFrame.width(), videoFrame.height(), 1) == -1) { in RenderFrame() 55 return DeliverFrame(videoFrame); in RenderFrame() 75 int32_t VideoX11Channel::DeliverFrame(const I420VideoFrame& videoFrame) { in DeliverFrame() argument 85 ConvertFromI420(videoFrame, kARGB, 0, _buffer); in DeliverFrame()
|
D | video_x11_channel.h | 37 I420VideoFrame& videoFrame); 41 int32_t DeliverFrame(const I420VideoFrame& videoFrame);
|
/external/chromium_org/third_party/webrtc/modules/utility/source/ |
D | video_coder.cc | 76 int32_t VideoCoder::Encode(const I420VideoFrame& videoFrame, in Encode() argument 83 if(_vcm->AddVideoFrame(videoFrame) != VCM_OK) in Encode() 105 int32_t VideoCoder::FrameToRender(I420VideoFrame& videoFrame) in FrameToRender() argument 107 return _decodedVideo->CopyFrame(videoFrame); in FrameToRender()
|
D | file_recorder_impl.cc | 428 int32_t AviRecorder::RecordVideoToFile(const I420VideoFrame& videoFrame) in RecordVideoToFile() argument 431 if(!IsRecording() || videoFrame.IsZeroSize()) in RecordVideoToFile() 436 int32_t retVal = _videoFramesQueue->AddFrame(videoFrame); in RecordVideoToFile() 627 int32_t AviRecorder::EncodeAndWriteVideoToFile(I420VideoFrame& videoFrame) in EncodeAndWriteVideoToFile() argument 629 if (!IsRecording() || videoFrame.IsZeroSize()) in EncodeAndWriteVideoToFile() 634 if(_frameScaler->ResizeFrameIfNeeded(&videoFrame, _videoCodecInst.width, in EncodeAndWriteVideoToFile() 644 int length = CalcBufferSize(kI420, videoFrame.width(), in EncodeAndWriteVideoToFile() 645 videoFrame.height()); in EncodeAndWriteVideoToFile() 650 int ret_length = ExtractBuffer(videoFrame, length, in EncodeAndWriteVideoToFile() 658 if( _videoEncoder->Encode(videoFrame, _videoEncodedData) != 0) in EncodeAndWriteVideoToFile()
|
D | file_player_impl.cc | 489 int32_t VideoFilePlayerImpl::GetVideoFromFile(I420VideoFrame& videoFrame, in GetVideoFromFile() argument 495 int32_t retVal = GetVideoFromFile(videoFrame); in GetVideoFromFile() 500 if (!videoFrame.IsZeroSize()) in GetVideoFromFile() 502 retVal = _frameScaler.ResizeFrameIfNeeded(&videoFrame, outWidth, in GetVideoFromFile() 508 int32_t VideoFilePlayerImpl::GetVideoFromFile(I420VideoFrame& videoFrame) in GetVideoFromFile() argument 514 videoFrame.ResetSize(); in GetVideoFromFile() 529 videoFrame.CreateFrame(size_y, buffer_y, in GetVideoFromFile() 539 retVal = video_decoder_->Decode(videoFrame, _encodedData); in GetVideoFromFile() 543 videoFrame.set_render_time_ms(renderTimeMs); in GetVideoFromFile()
|
D | video_coder.h | 38 int32_t Encode(const I420VideoFrame& videoFrame, 46 virtual int32_t FrameToRender(I420VideoFrame& videoFrame) OVERRIDE;
|
D | file_recorder_impl.h | 81 virtual int32_t RecordVideoToFile(const I420VideoFrame& videoFrame) in RecordVideoToFile() argument 149 virtual int32_t RecordVideoToFile(const I420VideoFrame& videoFrame); 165 int32_t EncodeAndWriteVideoToFile(I420VideoFrame& videoFrame);
|
D | file_player_impl.h | 96 virtual int32_t GetVideoFromFile(I420VideoFrame& videoFrame); 97 virtual int32_t GetVideoFromFile(I420VideoFrame& videoFrame,
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/ |
D | normal_test.cc | 150 VCMNTDecodeCompleCallback::FrameToRender(webrtc::I420VideoFrame& videoFrame) in FrameToRender() argument 152 if (videoFrame.width() != _currentWidth || in FrameToRender() 153 videoFrame.height() != _currentHeight) in FrameToRender() 155 _currentWidth = videoFrame.width(); in FrameToRender() 156 _currentHeight = videoFrame.height(); in FrameToRender() 164 if (PrintI420VideoFrame(videoFrame, _decodedFile) < 0) { in FrameToRender() 168 videoFrame.width(), videoFrame.height()); in FrameToRender()
|
D | quality_modes_test.cc | 486 VCMQMDecodeCompleCallback::FrameToRender(I420VideoFrame& videoFrame) in FrameToRender() argument 492 last_frame_.CopyFrame(videoFrame); in FrameToRender() 497 (videoFrame.timestamp() - (last_frame_.timestamp() + (9e4 / frame_rate_))) / in FrameToRender() 513 if (_origWidth == videoFrame.width() && _origHeight == videoFrame.height()) in FrameToRender() 515 if (PrintI420VideoFrame(videoFrame, _decodedFile) < 0) { in FrameToRender() 534 _decodedBytes += CalcBufferSize(kI420, videoFrame.width(), in FrameToRender() 535 videoFrame.height()); in FrameToRender() 536 videoFrame.SwapFrame(&last_frame_); in FrameToRender()
|
D | test_callbacks.cc | 192 VCMDecodeCompleteCallback::FrameToRender(I420VideoFrame& videoFrame) in FrameToRender() argument 194 if (PrintI420VideoFrame(videoFrame, _decodedFile) < 0) { in FrameToRender() 197 _decodedBytes+= CalcBufferSize(kI420, videoFrame.width(), in FrameToRender() 198 videoFrame.height()); in FrameToRender()
|
/external/chromium_org/third_party/webrtc/modules/video_capture/ios/ |
D | rtc_video_capture_ios_objc.mm | 360 CVImageBufferRef videoFrame = CMSampleBufferGetImageBuffer(sampleBuffer); 362 if (CVPixelBufferLockBaseAddress(videoFrame, kFlags) != kCVReturnSuccess) { 370 (uint8_t*)CVPixelBufferGetBaseAddressOfPlane(videoFrame, kYPlaneIndex); 372 CVPixelBufferGetBytesPerRowOfPlane(videoFrame, kYPlaneIndex); 373 int yPlaneHeight = CVPixelBufferGetHeightOfPlane(videoFrame, kYPlaneIndex); 375 CVPixelBufferGetBytesPerRowOfPlane(videoFrame, kUVPlaneIndex); 376 int uvPlaneHeight = CVPixelBufferGetHeightOfPlane(videoFrame, kUVPlaneIndex); 381 tempCaptureCapability.width = CVPixelBufferGetWidth(videoFrame); 382 tempCaptureCapability.height = CVPixelBufferGetHeight(videoFrame); 388 CVPixelBufferUnlockBaseAddress(videoFrame, kFlags);
|
/external/chromium_org/third_party/webrtc/modules/video_capture/mac/qtkit/ |
D | video_capture_qtkit_objc.mm | 226 didOutputVideoFrame:(CVImageBufferRef)videoFrame 237 if (CVPixelBufferLockBaseAddress(videoFrame, kFlags) == kCVReturnSuccess) { 238 void *baseAddress = CVPixelBufferGetBaseAddress(videoFrame); 239 size_t bytesPerRow = CVPixelBufferGetBytesPerRow(videoFrame); 240 int frameHeight = CVPixelBufferGetHeight(videoFrame); 252 CVPixelBufferUnlockBaseAddress(videoFrame, kFlags);
|
/external/chromium_org/third_party/webrtc/modules/video_processing/main/test/unit_test/ |
D | video_processing_unittest.cc | 75 I420VideoFrame videoFrame; in TEST_F() local 76 videoFrame.set_width(width_); in TEST_F() 77 videoFrame.set_height(height_); in TEST_F() 79 EXPECT_EQ(-3, vpm_->GetFrameStats(&stats, videoFrame)); in TEST_F() 81 EXPECT_EQ(-1, vpm_->ColorEnhancement(&videoFrame)); in TEST_F() 83 EXPECT_EQ(-1, vpm_->Deflickering(&videoFrame, &stats)); in TEST_F() 85 EXPECT_EQ(-3, vpm_->BrightnessDetection(videoFrame, stats)); in TEST_F()
|
/external/chromium_org/third_party/webrtc/modules/video_capture/test/ |
D | video_capture_unittest.cc | 109 webrtc::I420VideoFrame& videoFrame) { in OnIncomingCapturedFrame() argument 112 int height = videoFrame.height(); in OnIncomingCapturedFrame() 113 int width = videoFrame.width(); in OnIncomingCapturedFrame() 124 videoFrame.render_time_ms() >= TickTime::MillisecondTimestamp()-30 && in OnIncomingCapturedFrame() 125 videoFrame.render_time_ms() <= TickTime::MillisecondTimestamp()); in OnIncomingCapturedFrame() 127 if ((videoFrame.render_time_ms() > in OnIncomingCapturedFrame() 130 (videoFrame.render_time_ms() < in OnIncomingCapturedFrame() 137 last_render_time_ms_ = videoFrame.render_time_ms(); in OnIncomingCapturedFrame() 138 last_frame_.CopyFrame(videoFrame); in OnIncomingCapturedFrame() 141 webrtc::VideoFrame& videoFrame, in OnIncomingCapturedEncodedFrame() argument
|
/external/chromium_org/media/video/capture/mac/ |
D | video_capture_device_avfoundation_mac.mm | 255 CVImageBufferRef videoFrame = 259 if (CVPixelBufferLockBaseAddress(videoFrame, kLockFlags) == 261 void* baseAddress = CVPixelBufferGetBaseAddress(videoFrame); 262 size_t bytesPerRow = CVPixelBufferGetBytesPerRow(videoFrame); 263 size_t frameWidth = CVPixelBufferGetWidth(videoFrame); 264 size_t frameHeight = CVPixelBufferGetHeight(videoFrame); 276 CVPixelBufferUnlockBaseAddress(videoFrame, kLockFlags);
|
D | video_capture_device_qtkit_mac.mm | 253 didOutputVideoFrame:(CVImageBufferRef)videoFrame 264 if (CVPixelBufferLockBaseAddress(videoFrame, kLockFlags) 266 void *baseAddress = CVPixelBufferGetBaseAddress(videoFrame); 267 size_t bytesPerRow = CVPixelBufferGetBytesPerRow(videoFrame); 268 size_t frameWidth = CVPixelBufferGetWidth(videoFrame); 269 size_t frameHeight = CVPixelBufferGetHeight(videoFrame); 309 videoFrame, kCVImageBufferPixelAspectRatioKey, NULL); 326 CVPixelBufferUnlockBaseAddress(videoFrame, kLockFlags);
|
/external/chromium_org/third_party/webrtc/common_video/interface/ |
D | texture_video_frame.h | 51 virtual int CopyFrame(const I420VideoFrame& videoFrame) OVERRIDE; 53 virtual void SwapFrame(I420VideoFrame* videoFrame) OVERRIDE;
|
/external/chromium_org/third_party/webrtc/modules/video_capture/include/ |
D | video_capture_defines.h | 94 virtual int32_t IncomingFrame(uint8_t* videoFrame, 110 I420VideoFrame& videoFrame) = 0;
|
/external/chromium_org/third_party/webrtc/ |
D | video_frame.h | 79 virtual int CopyFrame(const I420VideoFrame& videoFrame); 86 virtual void SwapFrame(I420VideoFrame* videoFrame);
|
/external/chromium_org/third_party/webrtc/modules/video_render/windows/ |
D | video_render_direct3d9.cc | 146 I420VideoFrame& videoFrame) in RenderFrame() argument 149 if (_width != videoFrame.width() || _height != videoFrame.height()) in RenderFrame() 151 if (FrameSizeChange(videoFrame.width(), videoFrame.height(), 1) == -1) in RenderFrame() 156 return DeliverFrame(videoFrame); in RenderFrame() 160 int D3D9Channel::DeliverFrame(const I420VideoFrame& videoFrame) { in DeliverFrame() argument 195 ConvertFromI420(videoFrame, kARGB, 0, pRect); in DeliverFrame()
|