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

Issue 381443002: MSE: Optimize frame processor appends to streams (Closed)

Created:
6 years, 5 months ago by wolenetz
Modified:
6 years, 5 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, damienv1
Project:
chromium
Visibility:
Public.

Description

MSE: Optimize frame processor appends to streams This change collects contiguous processed frames for each track buffer and appends them to track buffers' streams as groups of frames rather than inefficiently appending each frame one at a time. One at a time appends are still possible in the worst case, since collected processed frames are appended at the end of ProcessFrames() and also prior to any NotifyNewMediaSegmentStarting(). R=acolwell@chromium.org, damienv1@chromium.org BUG=371197 TEST=no media_unittest, MSE layout test, or YT conformance unit test regression locally on Linux Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282165

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address CR comments and rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -9 lines) Patch
M media/filters/frame_processor.h View 1 chunk +5 lines, -0 lines 0 comments Download
M media/filters/frame_processor.cc View 1 7 chunks +58 lines, -9 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
wolenetz
PTAL @ PS1. Thanks!
6 years, 5 months ago (2014-07-08 23:59:15 UTC) #1
acolwell GONE FROM CHROMIUM
lgtm https://codereview.chromium.org/381443002/diff/1/media/filters/frame_processor.cc File media/filters/frame_processor.cc (right): https://codereview.chromium.org/381443002/diff/1/media/filters/frame_processor.cc#newcode70 media/filters/frame_processor.cc:70: // Adds |frame_| to the end of |processed_frames_|. ...
6 years, 5 months ago (2014-07-09 00:11:47 UTC) #2
damienv1
https://codereview.chromium.org/381443002/diff/1/media/filters/frame_processor.cc File media/filters/frame_processor.cc (right): https://codereview.chromium.org/381443002/diff/1/media/filters/frame_processor.cc#newcode324 media/filters/frame_processor.cc:324: result &= itr->second->FlushProcessedFrames(); Notation might be confusing here. I ...
6 years, 5 months ago (2014-07-09 01:56:56 UTC) #3
damienv1
https://codereview.chromium.org/381443002/diff/1/media/filters/frame_processor.cc File media/filters/frame_processor.cc (right): https://codereview.chromium.org/381443002/diff/1/media/filters/frame_processor.cc#newcode152 media/filters/frame_processor.cc:152: DVLOG(3) << __FUNCTION__ nit: DVLOG_IF
6 years, 5 months ago (2014-07-09 01:59:24 UTC) #4
damienv1
lgtm
6 years, 5 months ago (2014-07-09 18:10:09 UTC) #5
wolenetz
Thank you for reviews (and pre-publish lgtm of PS2 :) ) https://codereview.chromium.org/381443002/diff/1/media/filters/frame_processor.cc File media/filters/frame_processor.cc (right): ...
6 years, 5 months ago (2014-07-09 18:23:29 UTC) #6
wolenetz
The CQ bit was checked by wolenetz@chromium.org
6 years, 5 months ago (2014-07-09 18:23:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wolenetz@chromium.org/381443002/20001
6 years, 5 months ago (2014-07-09 18:24:59 UTC) #8
commit-bot: I haz the power
6 years, 5 months ago (2014-07-09 23:10:39 UTC) #9
Message was sent while issue was closed.
Change committed as 282165

Powered by Google App Engine
This is Rietveld 408576698