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

Side by Side Diff: media/cast/test/utility/video_utility.h

Issue 2010793003: Clean up media header include guards (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update references to the param traits guard Created 4 years, 7 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/test/utility/test_util.h ('k') | media/cdm/aes_decryptor.h » ('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 #ifndef MEDIA_CAST_TEST_UTILITY_VIDEO_UTILITY_H_
6 #define MEDIA_CAST_TEST_UTILITY_VIDEO_UTILITY_H_
7
5 // Utility functions for video testing. 8 // Utility functions for video testing.
6 9
7 #include "media/base/video_frame.h" 10 #include "media/base/video_frame.h"
8 11
9 namespace media { 12 namespace media {
10 namespace cast { 13 namespace cast {
11 14
12 // Compute and return PSNR between two frames. 15 // Compute and return PSNR between two frames.
13 double I420PSNR(const scoped_refptr<media::VideoFrame>& frame1, 16 double I420PSNR(const scoped_refptr<media::VideoFrame>& frame1,
14 const scoped_refptr<media::VideoFrame>& frame2); 17 const scoped_refptr<media::VideoFrame>& frame2);
(...skipping 10 matching lines...) Expand all
25 28
26 // Populate a video frame with noise. 29 // Populate a video frame with noise.
27 void PopulateVideoFrameWithNoise(VideoFrame* frame); 30 void PopulateVideoFrameWithNoise(VideoFrame* frame);
28 31
29 // Populate a video frame from a file. 32 // Populate a video frame from a file.
30 // Returns true if frame was populated, false if not (EOF). 33 // Returns true if frame was populated, false if not (EOF).
31 bool PopulateVideoFrameFromFile(VideoFrame* frame, FILE* video_file); 34 bool PopulateVideoFrameFromFile(VideoFrame* frame, FILE* video_file);
32 35
33 } // namespace cast 36 } // namespace cast
34 } // namespace media 37 } // namespace media
38
39 #endif // MEDIA_CAST_TEST_UTILITY_VIDEO_UTILITY_H_
OLDNEW
« no previous file with comments | « media/cast/test/utility/test_util.h ('k') | media/cdm/aes_decryptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698