Commit 8b55286e authored by Frank Barchard's avatar Frank Barchard

duplicate I420Rect prototype into convert for webrtc

TBR=harryjin@google.com
BUG=libyuv:618

Review URL: https://codereview.chromium.org/2132993003 .
parent 5dbfd6d8
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 1603
Version: 1604
License: BSD
License File: LICENSE
......
......@@ -185,6 +185,16 @@ int ARGB4444ToI420(const uint8* src_frame, int src_stride_frame,
uint8* dst_v, int dst_stride_v,
int width, int height);
// Draw a rectangle into I420.
// TODO(fbarchard): add planar_functions.h to webrtc includes
// https://bugs.chromium.org/p/libyuv/issues/detail?id=618
LIBYUV_API
int I420Rect(uint8* dst_y, int dst_stride_y,
uint8* dst_u, int dst_stride_u,
uint8* dst_v, int dst_stride_v,
int x, int y, int width, int height,
int value_y, int value_u, int value_v);
#ifdef HAVE_JPEG
// src_width/height provided by capture.
// dst_width/height for clipping determine final size.
......
......@@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 1603
#define LIBYUV_VERSION 1604
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment