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

Unified Diff: webrtc/api/android/jni/native_handle_impl.cc

Issue 2426023002: Android: Move YuvConverter to its own file (Closed)
Patch Set: Rebase and update VideoFileRenderer Created 4 years, 2 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 | « webrtc/api/android/java/src/org/webrtc/YuvConverter.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/android/jni/native_handle_impl.cc
diff --git a/webrtc/api/android/jni/native_handle_impl.cc b/webrtc/api/android/jni/native_handle_impl.cc
index f5076d62112654af696596a6b9296c1a30ed2eb1..1e98559954affbc51ac171352cdb341e1837031a 100644
--- a/webrtc/api/android/jni/native_handle_impl.cc
+++ b/webrtc/api/android/jni/native_handle_impl.cc
@@ -144,7 +144,7 @@ AndroidTextureBuffer::NativeToI420Buffer() {
// class, and I420Buffer, to support our memory layout.
std::unique_ptr<uint8_t, webrtc::AlignedFreeDeleter> yuv_data(
static_cast<uint8_t*>(webrtc::AlignedMalloc(size, kBufferAlignment)));
- // See SurfaceTextureHelper.java for the required layout.
+ // See YuvConverter.java for the required layout.
uint8_t* y_data = yuv_data.get();
uint8_t* u_data = y_data + height() * stride;
uint8_t* v_data = u_data + stride/2;
« no previous file with comments | « webrtc/api/android/java/src/org/webrtc/YuvConverter.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698