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

Side by Side Diff: content/common/gpu/media/vaapi_h264_decoder_unittest.cc

Issue 1040513003: VAVDA: Use the new, generic video decoder and accelerator infrastructure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 8 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
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 <string> 5 #include <string>
6 6
7 // This has to be included first. 7 // This has to be included first.
8 // See http://code.google.com/p/googletest/issues/detail?id=371 8 // See http://code.google.com/p/googletest/issues/detail?id=371
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 #include "base/at_exit.h" 11 #include "base/at_exit.h"
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/files/file_util.h" 14 #include "base/files/file_util.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/message_loop/message_loop.h" 16 #include "base/message_loop/message_loop.h"
17 #include "content/common/gpu/media/vaapi_h264_decoder.h" 17 #include "content/common/gpu/media/h264_decoder.h"
18 #include "media/base/video_decoder_config.h" 18 #include "media/base/video_decoder_config.h"
19 #include "third_party/libyuv/include/libyuv.h" 19 #include "third_party/libyuv/include/libyuv.h"
20 20
21 #if defined(USE_OZONE) 21 #if defined(USE_OZONE)
22 #include "ui/ozone/public/ozone_platform.h" 22 #include "ui/ozone/public/ozone_platform.h"
23 #endif 23 #endif
24 24
25 // This program is run like this: 25 // This program is run like this:
26 // DISPLAY=:0 ./vaapi_h264_decoder_unittest --input_file input.h264 26 // DISPLAY=:0 ./vaapi_h264_decoder_unittest --input_file input.h264
27 // [--output_file output.i420] [--md5sum expected_md5_hex] 27 // [--output_file output.i420] [--md5sum expected_md5_hex]
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 } 376 }
377 377
378 #if defined(USE_OZONE) 378 #if defined(USE_OZONE)
379 base::MessageLoopForUI main_loop; 379 base::MessageLoopForUI main_loop;
380 ui::OzonePlatform::InitializeForUI(); 380 ui::OzonePlatform::InitializeForUI();
381 ui::OzonePlatform::InitializeForGPU(); 381 ui::OzonePlatform::InitializeForGPU();
382 #endif 382 #endif
383 383
384 return RUN_ALL_TESTS(); 384 return RUN_ALL_TESTS();
385 } 385 }
OLDNEW
« no previous file with comments | « content/common/gpu/media/vaapi_h264_decoder.cc ('k') | content/common/gpu/media/vaapi_h264_dpb.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698