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

Issue 1414693006: Add DecodedImageCallback::Decoded() function with custom decode time value. (Closed)

Created:
5 years, 1 month ago by perkj_webrtc
Modified:
5 years, 1 month ago
Reviewers:
stefan-webrtc, mflodman
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), Andrew MacDonald, 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 DecodedImageCallback::Decoded() function with custom decode time value. On Android, we would like to use MediaCodec output buffers to hold decoded frames until they can be rendered to a texture. There can only be one texture buffer used at the same time and therefore the calculated decode time in VCMTiming will be wrong since that calculation will also include the time where the decoder waited for the upper layers (that depend on network jitter and actual render time) to release the frame. This new method will be used in https://codereview.webrtc.org/1422963003/ BUG=webrtc:4993 R=stefan@webrtc.org TBR=mflodman@webrtc.org Committed: https://crrev.com/327d8babc81913410dbb3125a62be3ff0e46e9f4 Cr-Commit-Position: refs/heads/master@{#10576}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Renamed to just Decoded(...) #

Total comments: 1

Patch Set 3 : Addressed comments. #

Total comments: 5

Patch Set 4 : addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -22 lines) Patch
M webrtc/modules/video_coding/codecs/interface/mock/mock_video_codec_interface.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h View 1 2 3 3 chunks +6 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_sequence_coder.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/main/source/codec_timer.h View 2 chunks +2 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/main/source/codec_timer.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M webrtc/modules/video_coding/main/source/generic_decoder.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/main/source/generic_decoder.cc View 1 2 chunks +12 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/main/source/timing.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/main/source/timing.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/main/source/timing_unittest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M webrtc/video/video_decoder_unittest.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M webrtc/video_decoder.h View 1 2 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (8 generated)
perkj_webrtc
Can you please review?
5 years, 1 month ago (2015-11-02 13:06:15 UTC) #2
perkj_webrtc
Adding Magnus since Stefan is ooo.
5 years, 1 month ago (2015-11-03 11:36:08 UTC) #4
stefan-webrtc
When magjed and I discussed this a while back, we talked about two options to ...
5 years, 1 month ago (2015-11-03 11:43:30 UTC) #6
perkj_webrtc
5 years, 1 month ago (2015-11-03 12:07:55 UTC) #8
perkj_webrtc
On 2015/11/03 11:43:30, stefan-webrtc (holmer) wrote: > When magjed and I discussed this a while ...
5 years, 1 month ago (2015-11-03 12:17:22 UTC) #9
stefan-webrtc
On 2015/11/03 12:17:22, perkj1 wrote: > On 2015/11/03 11:43:30, stefan-webrtc (holmer) wrote: > > When ...
5 years, 1 month ago (2015-11-03 23:25:10 UTC) #10
perkj_webrtc
Can you please take another look? Also see email discussion on why. https://codereview.webrtc.org/1414693006/diff/1/webrtc/modules/video_coding/main/source/generic_decoder.h File webrtc/modules/video_coding/main/source/generic_decoder.h ...
5 years, 1 month ago (2015-11-06 15:31:12 UTC) #11
perkj_webrtc
ping!
5 years, 1 month ago (2015-11-10 07:17:34 UTC) #12
stefan-webrtc
https://codereview.webrtc.org/1414693006/diff/20001/webrtc/video_decoder.h File webrtc/video_decoder.h (right): https://codereview.webrtc.org/1414693006/diff/20001/webrtc/video_decoder.h#newcode39 webrtc/video_decoder.h:39: } Are there many places where you have to ...
5 years, 1 month ago (2015-11-10 10:32:00 UTC) #13
stefan-webrtc
On 2015/11/10 10:32:00, stefan-webrtc (holmer) wrote: > https://codereview.webrtc.org/1414693006/diff/20001/webrtc/video_decoder.h > File webrtc/video_decoder.h (right): > > https://codereview.webrtc.org/1414693006/diff/20001/webrtc/video_decoder.h#newcode39 ...
5 years, 1 month ago (2015-11-10 11:37:28 UTC) #14
perkj_webrtc
On 2015/11/10 11:37:28, stefan-webrtc (holmer) wrote: > On 2015/11/10 10:32:00, stefan-webrtc (holmer) wrote: > > ...
5 years, 1 month ago (2015-11-10 12:05:19 UTC) #15
stefan-webrtc
A few nits, otherwise lgtm. https://codereview.webrtc.org/1414693006/diff/40001/webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h File webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h (right): https://codereview.webrtc.org/1414693006/diff/40001/webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h#newcode142 webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h:142: return Decoded(decoded_image); Just return ...
5 years, 1 month ago (2015-11-10 12:16:32 UTC) #16
perkj_webrtc
https://codereview.webrtc.org/1414693006/diff/40001/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc File webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc (right): https://codereview.webrtc.org/1414693006/diff/40001/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc#newcode83 webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc:83: int32_t Decoded(VideoFrame& frame, int64_t decode_time_ms) override { On 2015/11/10 ...
5 years, 1 month ago (2015-11-10 12:50:16 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1414693006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1414693006/60001
5 years, 1 month ago (2015-11-10 12:50:20 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/1656)
5 years, 1 month ago (2015-11-10 12:52:49 UTC) #22
perkj_webrtc
Committed patchset #4 (id:60001) manually as 327d8babc81913410dbb3125a62be3ff0e46e9f4 (presubmit successful).
5 years, 1 month ago (2015-11-10 13:00:50 UTC) #24
commit-bot: I haz the power
5 years, 1 month ago (2015-11-10 13:00:53 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/327d8babc81913410dbb3125a62be3ff0e46e9f4
Cr-Commit-Position: refs/heads/master@{#10576}

Powered by Google App Engine
This is Rietveld 408576698