diff options
author | miu <miu@chromium.org> | 2015-02-10 19:28:44 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-11 03:29:24 +0000 |
commit | 9005303cba2d9ab58dd4439295695a93c8801e96 (patch) | |
tree | b628b54da9f7f4c820b3543140c4ab3a5e0262f1 /media/formats/mpeg | |
parent | e1ee70db0efad38817a6aa7027b2d1cfafe3af82 (diff) | |
download | chromium_src-9005303cba2d9ab58dd4439295695a93c8801e96.zip chromium_src-9005303cba2d9ab58dd4439295695a93c8801e96.tar.gz chromium_src-9005303cba2d9ab58dd4439295695a93c8801e96.tar.bz2 |
[Cast] Size-Adaptable platform video encoders.
Provides a proxy VideoEncoder implementation that wraps
ExternalVideoEncoder or H264VTEncoder to handle frame size changes.
When the frame size changes, the proxy 1) waits for current encoder
instance to finish encoding any frames in-progress, then 2) destroys the
encoder, and 3) finally re-creates/initializes a new encoder instance.
During this process, frames provided via InsertRawVideoFrame() are
simply dropped.
Merged external_encoder_unittest.cc and video_encoder_impl_unittest.cc
into a single video_encoder_unittest.cc that tests *all* cast
VideoEncoder implementations. Made a number of fixes to allow testing
of the H264VTEncoder on desktop Macs and the trybots.
BUG=451277
Review URL: https://codereview.chromium.org/906403006
Cr-Commit-Position: refs/heads/master@{#315723}
Diffstat (limited to 'media/formats/mpeg')
0 files changed, 0 insertions, 0 deletions