Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Unified Diff: remoting/base/util.cc

Issue 261753013: Implement VP9/I444 encode support in the Chromoting host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix CreateVP9Codec bug and unit-test build. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/base/util.h ('k') | remoting/base/util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/util.cc
diff --git a/remoting/base/util.cc b/remoting/base/util.cc
index 8102cb9bf5bdd7b3c1f3b8c6591f9619b0c3955f..6ee8548f53dfa62d6417ad3e966530cc16de2292 100644
--- a/remoting/base/util.cc
+++ b/remoting/base/util.cc
@@ -45,28 +45,6 @@ int CalculateUVOffset(int x, int y, int stride) {
return stride * y / 2 + x / 2;
}
-void ConvertRGB32ToYUVWithRect(const uint8* rgb_plane,
- uint8* y_plane,
- uint8* u_plane,
- uint8* v_plane,
- int x,
- int y,
- int width,
- int height,
- int rgb_stride,
- int y_stride,
- int uv_stride) {
- int rgb_offset = CalculateRGBOffset(x, y, rgb_stride);
- int y_offset = CalculateYOffset(x, y, y_stride);
- int uv_offset = CalculateUVOffset(x, y, uv_stride);;
-
- libyuv::ARGBToI420(rgb_plane + rgb_offset, rgb_stride,
- y_plane + y_offset, y_stride,
- u_plane + uv_offset, uv_stride,
- v_plane + uv_offset, uv_stride,
- width, height);
-}
-
void ConvertAndScaleYUVToRGB32Rect(
const uint8* source_yplane,
const uint8* source_uplane,
« no previous file with comments | « remoting/base/util.h ('k') | remoting/base/util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698