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

Side by Side Diff: webkit/media/crypto/decoders/ffmpeg_util.h

Issue 10899021: Add CDM video decoder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compiles, does nothing. Created 8 years, 3 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_MEDIA_CRYPTO_DECODERS_FFMPEG_UTIL_H_
6 #define WEBKIT_MEDIA_CRYPTO_DECODERS_FFMPEG_UTIL_H_
7
8 // Used for FFmpeg error codes.
9 #include <cerrno>
10
11 #include "base/compiler_specific.h"
12 #include "webkit/media/crypto/ppapi/content_decryption_module.h"
13
14 // Include FFmpeg header files.
15 extern "C" {
16 // Temporarily disable possible loss of data warning.
17 MSVC_PUSH_DISABLE_WARNING(4244);
18 #include <libavcodec/avcodec.h>
ddorwin 2012/09/02 21:39:08 We don't need all of these here.
19 #include <libavformat/avformat.h>
20 #include <libavformat/avio.h>
21 #include <libavformat/url.h>
22 #include <libavutil/avutil.h>
23 #include <libavutil/mathematics.h>
24 #include <libavutil/log.h>
25 #include <libavutil/imgutils.h>
26 MSVC_POP_WARNING();
27 } // extern "C"
28
29 namespace webkit_media {
30
31 // Converts FFmpeg's pixel formats to its corresponding supported video format.
32 cdm::VideoFrame::ColorFormat PixelFormatToVideoFormat(PixelFormat pixel_format);
ddorwin 2012/09/02 21:39:08 Only FFmpegVideoDecoder::GetVideoBuffer() uses thi
33
34 } // namespace webkit_media
35
36 #endif // WEBKIT_MEDIA_CRYPTO_DECODERS_FFMPEG_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/media/crypto/decoders/ffmpeg_util.cc » ('j') | webkit/media/crypto/decoders/ffmpeg_video_decoder.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698