| Index: webrtc/common_video/libyuv/include/webrtc_libyuv.h
|
| diff --git a/webrtc/common_video/libyuv/include/webrtc_libyuv.h b/webrtc/common_video/libyuv/include/webrtc_libyuv.h
|
| index f8cd470209995183f5c25d199b68e27af150b430..699a626d9120e6124a7ba88598bb8edb14553c66 100644
|
| --- a/webrtc/common_video/libyuv/include/webrtc_libyuv.h
|
| +++ b/webrtc/common_video/libyuv/include/webrtc_libyuv.h
|
| @@ -69,7 +69,6 @@
|
| // already open for writing.
|
| // Return value: 0 if OK, < 0 otherwise.
|
| int PrintVideoFrame(const VideoFrame& frame, FILE* file);
|
| -int PrintVideoFrame(const VideoFrameBuffer& frame, FILE* file);
|
|
|
| // Extract buffer from VideoFrame or VideoFrameBuffer (consecutive
|
| // planes, no stride)
|
| @@ -93,13 +92,11 @@
|
| // - sample_size : Required only for the parsing of MJPG (set to 0 else).
|
| // - rotate : Rotation mode of output image.
|
| // Output:
|
| -// - dst_buffer : Reference to a destination frame buffer.
|
| +// - dst_frame : Reference to a destination frame.
|
| // Return value: 0 if OK, < 0 otherwise.
|
|
|
| -// TODO(nisse): Delete this wrapper, and let users call libyuv directly. Most
|
| -// calls pass |src_video_type| == kI420, and should use libyuv::I420Copy. The
|
| -// only exception at the time of this writing is
|
| -// VideoCaptureImpl::IncomingFrame, which still needs libyuv::ConvertToI420.
|
| +// TODO(nisse): Deprecated, see
|
| +// https://bugs.chromium.org/p/webrtc/issues/detail?id=5921.
|
| int ConvertToI420(VideoType src_video_type,
|
| const uint8_t* src_frame,
|
| int crop_x,
|
| @@ -108,7 +105,7 @@
|
| int src_height,
|
| size_t sample_size,
|
| VideoRotation rotation,
|
| - I420Buffer* dst_buffer);
|
| + VideoFrame* dst_frame);
|
|
|
| // Convert From I420
|
| // Input:
|
|
|