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

Issue 1886113003: Add rotation to EncodedImage and make sure it is passed through encoders. (Closed)

Created:
4 years, 8 months ago by perkj_webrtc
Modified:
4 years, 8 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add rotation to EncodedImage and make sure it is passed through encoders. This fix a potential race where the rotation information of a sent frame does not match the encoded frame. BUG=webrtc:5783 TEST= Run ApprtcDemo on IOs and Android with and without capture to texture and both VP8 and H264. R=magjed@webrtc.org, pbos@webrtc.org, tkchin@webrtc.org TBR=tkchin_webrtc // For IOS changes. Committed: https://crrev.com/ba7dc723b0922b9b46c2051dc90f6c127a93fbfb Cr-Commit-Position: refs/heads/master@{#12426}

Patch Set 1 #

Patch Set 2 : Fixes + added end to end unit tests for sw encoders. #

Patch Set 3 : IOS #

Total comments: 14

Patch Set 4 : Addressed magjeds comments #

Patch Set 5 : Rebased #

Patch Set 6 : Fix merge mistake. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -142 lines) Patch
M webrtc/api/java/jni/androidmediaencoder_jni.cc View 1 2 3 4 5 12 chunks +50 lines, -34 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.cc View 1 2 3 4 6 chunks +15 lines, -5 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/generic_encoder.h View 1 2 3 4 3 chunks +0 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/generic_encoder.cc View 1 2 3 4 4 chunks +1 line, -12 lines 0 comments Download
M webrtc/modules/video_coding/utility/quality_scaler.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/test/call_test.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/test/call_test.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/test/frame_generator_capturer.h View 1 3 chunks +3 lines, -0 lines 0 comments Download
M webrtc/test/frame_generator_capturer.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 4 1 chunk +81 lines, -87 lines 0 comments Download
M webrtc/video_frame.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (16 generated)
perkj_webrtc
Can you please review: pbos- all but Android and Ios magjed - Android tkchin - ...
4 years, 8 months ago (2016-04-14 14:17:26 UTC) #4
pbos-webrtc
lgtm https://codereview.webrtc.org/1886113003/diff/40001/webrtc/api/java/jni/androidmediaencoder_jni.cc File webrtc/api/java/jni/androidmediaencoder_jni.cc (right): https://codereview.webrtc.org/1886113003/diff/40001/webrtc/api/java/jni/androidmediaencoder_jni.cc#newcode15 webrtc/api/java/jni/androidmediaencoder_jni.cc:15: #include <algorithm> Not needed, right?
4 years, 8 months ago (2016-04-14 14:29:57 UTC) #5
pbos-webrtc
This doesn't only affect mobile encoders, please update the CL description to reflect that.
4 years, 8 months ago (2016-04-14 14:30:29 UTC) #7
magjed_webrtc
https://codereview.webrtc.org/1886113003/diff/40001/webrtc/api/java/jni/androidmediaencoder_jni.cc File webrtc/api/java/jni/androidmediaencoder_jni.cc (right): https://codereview.webrtc.org/1886113003/diff/40001/webrtc/api/java/jni/androidmediaencoder_jni.cc#newcode227 webrtc/api/java/jni/androidmediaencoder_jni.cc:227: int frames_in_queue_; // Number of frames in encoder queue. ...
4 years, 8 months ago (2016-04-15 09:43:30 UTC) #9
perkj_webrtc
https://codereview.webrtc.org/1886113003/diff/40001/webrtc/api/java/jni/androidmediaencoder_jni.cc File webrtc/api/java/jni/androidmediaencoder_jni.cc (right): https://codereview.webrtc.org/1886113003/diff/40001/webrtc/api/java/jni/androidmediaencoder_jni.cc#newcode15 webrtc/api/java/jni/androidmediaencoder_jni.cc:15: #include <algorithm> On 2016/04/14 14:29:57, pbos-webrtc wrote: > Not ...
4 years, 8 months ago (2016-04-15 12:37:39 UTC) #10
magjed_webrtc
lgtm
4 years, 8 months ago (2016-04-18 10:01:49 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1886113003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1886113003/60001
4 years, 8 months ago (2016-04-18 13:41:10 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_baremetal on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_baremetal/builds/10634)
4 years, 8 months ago (2016-04-18 13:42:21 UTC) #17
tkchin_webrtc
lgtm % bots thanks
4 years, 8 months ago (2016-04-18 17:05:09 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1886113003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1886113003/80001
4 years, 8 months ago (2016-04-19 08:12:38 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_x86_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_x86_dbg/builds/3272)
4 years, 8 months ago (2016-04-19 08:19:30 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1886113003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1886113003/100001
4 years, 8 months ago (2016-04-19 12:41:24 UTC) #26
perkj_webrtc
Committed patchset #6 (id:100001) manually as ba7dc723b0922b9b46c2051dc90f6c127a93fbfb (presubmit successful).
4 years, 8 months ago (2016-04-19 13:01:39 UTC) #28
commit-bot: I haz the power
4 years, 8 months ago (2016-04-19 13:01:41 UTC) #30
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/ba7dc723b0922b9b46c2051dc90f6c127a93fbfb
Cr-Commit-Position: refs/heads/master@{#12426}

Powered by Google App Engine
This is Rietveld 408576698