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

Issue 1187193006: ppapi: VideoEncoder: improve accuracy of encoding tick (Closed)

Created:
5 years, 6 months ago by llandwerlin-old
Modified:
5 years, 6 months ago
Reviewers:
bbudge, Sam Clegg, binji
CC:
chromium-reviews, binji+watch_chromium.org, Sam Clegg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ppapi: VideoEncoder: improve accuracy of encoding tick The current VideoEncoder example's scheduling algorithm for encoding frames at 30fps drifts as it schedules new callbacks and as a consequence records fewer frames than what the frame rate requires. This change improves the algorithm by storing the last time at which it encoded a frame and uses this information to predict when the next tick should happen. BUG=none TEST=record 30s of video using the video encoder example, check that the produced stream's length is identical (1 or 2 frames difference) Committed: https://crrev.com/bfa767842bd01af263ae0681a6748f5458fdfc8d Cr-Commit-Position: refs/heads/master@{#335147}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -4 lines) Patch
M native_client_sdk/src/examples/api/video_encode/video_encode.cc View 4 chunks +8 lines, -2 lines 0 comments Download
M ppapi/examples/video_encode/video_encode.cc View 4 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
llandwerlin-old
bbudge@chromium.org: Could you review the changes in ppapi/examples ? Thanks. sbc@chromium.org: Please LGTM the natice_client_sdk/ ...
5 years, 6 months ago (2015-06-17 15:08:53 UTC) #2
bbudge
lgtm
5 years, 6 months ago (2015-06-17 20:45:56 UTC) #3
binji
On 2015/06/17 at 20:45:56, bbudge wrote: > lgtm Can you describe in the CL description ...
5 years, 6 months ago (2015-06-17 22:04:55 UTC) #4
llandwerlin-old
On 2015/06/17 22:04:55, binji wrote: > On 2015/06/17 at 20:45:56, bbudge wrote: > > lgtm ...
5 years, 6 months ago (2015-06-18 15:00:38 UTC) #5
binji
On 2015/06/18 at 15:00:38, lionel.g.landwerlin wrote: > On 2015/06/17 22:04:55, binji wrote: > > On ...
5 years, 6 months ago (2015-06-18 18:53:43 UTC) #6
Stevefar
On 2015/06/18 15:00:38, llandwerlin wrote: > On 2015/06/17 22:04:55, binji wrote: > > On 2015/06/17 ...
5 years, 6 months ago (2015-06-18 19:06:12 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1187193006/1
5 years, 6 months ago (2015-06-18 22:25:24 UTC) #9
commit-bot: I haz the power
The author lionel.g.landwerlin@intel.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years, 6 months ago (2015-06-18 22:25:27 UTC) #10
llandwerlin-old
On 2015/06/18 19:06:12, Stevefar wrote: > On 2015/06/18 15:00:38, llandwerlin wrote: > > On 2015/06/17 ...
5 years, 6 months ago (2015-06-18 22:34:34 UTC) #11
commit-bot: I haz the power
The author lionel.g.landwerlin@intel.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years, 6 months ago (2015-06-18 22:35:49 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 6 months ago (2015-06-18 22:38:19 UTC) #13
commit-bot: I haz the power
5 years, 6 months ago (2015-06-18 22:39:21 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/bfa767842bd01af263ae0681a6748f5458fdfc8d
Cr-Commit-Position: refs/heads/master@{#335147}

Powered by Google App Engine
This is Rietveld 408576698