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

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: 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.
ddorwin 2012/08/29 17:33:49 Do we expect a lot of decoders for the clear key C
Tom Finegan 2012/08/30 17:09:23 I thought it might be handy to have a decoders sub
ddorwin 2012/09/02 21:39:07 The decoders are explicitly for the clear key PPAP
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 "webkit/media/crypto/ppapi/content_decryption_module.h"
12
13 // Include FFmpeg header files.
14 extern "C" {
15 // Temporarily disable possible loss of data warning.
16 MSVC_PUSH_DISABLE_WARNING(4244);
17 #include <libavcodec/avcodec.h>
18 #include <libavformat/avformat.h>
19 #include <libavformat/avio.h>
20 #include <libavformat/url.h>
21 #include <libavutil/avutil.h>
22 #include <libavutil/mathematics.h>
23 #include <libavutil/log.h>
24 #include <libavutil/imgutils.h>
25 MSVC_POP_WARNING();
26 } // extern "C"
27
28 namespace webkit_media {
29
30 // Converts FFmpeg's pixel formats to its corresponding supported video format.
31 cdm::VideoFrame::Format PixelFormatToVideoFormat(PixelFormat pixel_format);
32
33 } // namespace webkit_media
34
35 #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/video_decoder.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698