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

Side by Side Diff: media/video/jpeg_decode_accelerator.h

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 years 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 #ifndef MEDIA_VIDEO_JPEG_DECODE_ACCELERATOR_H_ 5 #ifndef MEDIA_VIDEO_JPEG_DECODE_ACCELERATOR_H_
6 #define MEDIA_VIDEO_JPEG_DECODE_ACCELERATOR_H_ 6 #define MEDIA_VIDEO_JPEG_DECODE_ACCELERATOR_H_
7 7
8 #include "base/basictypes.h"
9 #include "media/base/bitstream_buffer.h" 8 #include "media/base/bitstream_buffer.h"
10 #include "media/base/media_export.h" 9 #include "media/base/media_export.h"
11 #include "media/base/video_frame.h" 10 #include "media/base/video_frame.h"
12 11
13 namespace media { 12 namespace media {
14 13
15 // JPEG decoder interface. 14 // JPEG decoder interface.
16 // The input are JPEG images including headers (Huffman tables may be omitted). 15 // The input are JPEG images including headers (Huffman tables may be omitted).
17 // The output color format is I420. The decoder will convert the color format 16 // The output color format is I420. The decoder will convert the color format
18 // to I420 if the color space or subsampling does not match that and if it is 17 // to I420 if the color space or subsampling does not match that and if it is
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 const scoped_refptr<media::VideoFrame>& video_frame) = 0; 109 const scoped_refptr<media::VideoFrame>& video_frame) = 0;
111 110
112 // Returns true when the JPEG decoder is supported. This can be called before 111 // Returns true when the JPEG decoder is supported. This can be called before
113 // Initialize(). 112 // Initialize().
114 virtual bool IsSupported() = 0; 113 virtual bool IsSupported() = 0;
115 }; 114 };
116 115
117 } // namespace media 116 } // namespace media
118 117
119 #endif // MEDIA_VIDEO_JPEG_DECODE_ACCELERATOR_H_ 118 #endif // MEDIA_VIDEO_JPEG_DECODE_ACCELERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698