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

Side by Side Diff: source/libvpx/test/decode_test_driver.cc

Issue 812033011: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « source/libvpx/test/decode_test_driver.h ('k') | source/libvpx/test/encode_perf_test.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 /* 1 /*
2 * Copyright (c) 2012 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebM project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 #include "test/codec_factory.h" 10 #include "test/codec_factory.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 DecompressedFrameHook(*img, video->frame_number()); 103 DecompressedFrameHook(*img, video->frame_number());
104 } 104 }
105 delete decoder; 105 delete decoder;
106 } 106 }
107 107
108 void DecoderTest::RunLoop(CompressedVideoSource *video) { 108 void DecoderTest::RunLoop(CompressedVideoSource *video) {
109 vpx_codec_dec_cfg_t dec_cfg = vpx_codec_dec_cfg_t(); 109 vpx_codec_dec_cfg_t dec_cfg = vpx_codec_dec_cfg_t();
110 RunLoop(video, dec_cfg); 110 RunLoop(video, dec_cfg);
111 } 111 }
112 112
113 void DecoderTest::set_cfg(const vpx_codec_dec_cfg_t &dec_cfg) {
114 memcpy(&cfg_, &dec_cfg, sizeof(cfg_));
115 }
116
117 void DecoderTest::set_flags(const vpx_codec_flags_t flags) {
118 flags_ = flags;
119 }
120
113 } // namespace libvpx_test 121 } // namespace libvpx_test
OLDNEW
« no previous file with comments | « source/libvpx/test/decode_test_driver.h ('k') | source/libvpx/test/encode_perf_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698