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

Side by Side Diff: media/cast/sender/vp8_encoder.cc

Issue 1734613003: Move libvpx_new to libvpx (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/cast/sender/vp8_encoder.h ('k') | media/cast/sender/vp8_quantizer_parser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/cast/sender/vp8_encoder.h" 5 #include "media/cast/sender/vp8_encoder.h"
6 6
7 #include "base/debug/crash_logging.h" 7 #include "base/debug/crash_logging.h"
8 #include "base/debug/dump_without_crashing.h" 8 #include "base/debug/dump_without_crashing.h"
9 #include "base/format_macros.h" 9 #include "base/format_macros.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
12 #include "media/base/video_frame.h" 12 #include "media/base/video_frame.h"
13 #include "media/cast/cast_defines.h" 13 #include "media/cast/cast_defines.h"
14 #include "media/cast/constants.h" 14 #include "media/cast/constants.h"
15 #include "third_party/libvpx_new/source/libvpx/vpx/vp8cx.h" 15 #include "third_party/libvpx/source/libvpx/vpx/vp8cx.h"
16 16
17 namespace media { 17 namespace media {
18 namespace cast { 18 namespace cast {
19 19
20 namespace { 20 namespace {
21 21
22 // After a pause in the video stream, what is the maximum duration amount to 22 // After a pause in the video stream, what is the maximum duration amount to
23 // pass to the encoder for the next frame (in terms of 1/max_fps sized periods)? 23 // pass to the encoder for the next frame (in terms of 1/max_fps sized periods)?
24 // This essentially controls the encoded size of the first frame that follows a 24 // This essentially controls the encoded size of the first frame that follows a
25 // pause in the video stream. 25 // pause in the video stream.
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 VLOG(1) << "VP8 new rc_target_bitrate: " << new_bitrate_kbit << " kbps"; 409 VLOG(1) << "VP8 new rc_target_bitrate: " << new_bitrate_kbit << " kbps";
410 } 410 }
411 411
412 void Vp8Encoder::GenerateKeyFrame() { 412 void Vp8Encoder::GenerateKeyFrame() {
413 DCHECK(thread_checker_.CalledOnValidThread()); 413 DCHECK(thread_checker_.CalledOnValidThread());
414 key_frame_requested_ = true; 414 key_frame_requested_ = true;
415 } 415 }
416 416
417 } // namespace cast 417 } // namespace cast
418 } // namespace media 418 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/sender/vp8_encoder.h ('k') | media/cast/sender/vp8_quantizer_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698