| Index: media/base/video_util.h
|
| diff --git a/media/base/video_util.h b/media/base/video_util.h
|
| index 2dec7e9371013ff3bf0442cb798cef0c90104659..dbef16e3e046348c2bec9a20f7bd15552cfece0f 100644
|
| --- a/media/base/video_util.h
|
| +++ b/media/base/video_util.h
|
| @@ -97,6 +97,14 @@ MEDIA_EXPORT void CopyRGBToVideoFrame(const uint8_t* source,
|
| MEDIA_EXPORT scoped_refptr<VideoFrame> WrapAsI420VideoFrame(
|
| const scoped_refptr<VideoFrame>& frame);
|
|
|
| +// Copy I420 video frame to match the required coded size and pad the region
|
| +// outside visible rect repeatly with the last column / row. The required coded
|
| +// size should be larger than or equal to the visible size, since the visible
|
| +// region in both frames should be identical. Return false if copy is not
|
| +// successful.
|
| +MEDIA_EXPORT bool I420CopyWithPadding(const VideoFrame& src_frame,
|
| + VideoFrame* dst_frame) WARN_UNUSED_RESULT;
|
| +
|
| } // namespace media
|
|
|
| #endif // MEDIA_BASE_VIDEO_UTIL_H_
|
|
|