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

Side by Side Diff: media/cdm/ppapi/external_clear_key/cdm_video_decoder.h

Issue 2279593004: Delete gyp files from media/ (Closed)
Patch Set: Created 4 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
« no previous file with comments | « media/cdm/ppapi/BUILD.gn ('k') | media/cdm/ppapi/ppapi_cdm_adapter.gni » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CDM_PPAPI_EXTERNAL_CLEAR_KEY_CDM_VIDEO_DECODER_H_ 5 #ifndef MEDIA_CDM_PPAPI_EXTERNAL_CLEAR_KEY_CDM_VIDEO_DECODER_H_
6 #define MEDIA_CDM_PPAPI_EXTERNAL_CLEAR_KEY_CDM_VIDEO_DECODER_H_ 6 #define MEDIA_CDM_PPAPI_EXTERNAL_CLEAR_KEY_CDM_VIDEO_DECODER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 17 matching lines...) Expand all
28 // frame. Returns |cdm::kDecodeError| when decoding fails. 28 // frame. Returns |cdm::kDecodeError| when decoding fails.
29 // 29 //
30 // A null |compressed_frame| will attempt to flush the decoder of any 30 // A null |compressed_frame| will attempt to flush the decoder of any
31 // remaining frames. |compressed_frame_size| and |timestamp| are ignored. 31 // remaining frames. |compressed_frame_size| and |timestamp| are ignored.
32 virtual cdm::Status DecodeFrame(const uint8_t* compressed_frame, 32 virtual cdm::Status DecodeFrame(const uint8_t* compressed_frame,
33 int32_t compressed_frame_size, 33 int32_t compressed_frame_size,
34 int64_t timestamp, 34 int64_t timestamp,
35 cdm::VideoFrame* decoded_frame) = 0; 35 cdm::VideoFrame* decoded_frame) = 0;
36 }; 36 };
37 37
38 // Initializes appropriate video decoder based on GYP flags and the value of 38 // Initializes the appropriate video decoder based on build flags and the value
39 // |config.codec|. Returns a scoped_ptr containing a non-null initialized 39 // of |config.codec|. Returns a scoped_ptr containing a non-null initialized
40 // CdmVideoDecoder* upon success. 40 // CdmVideoDecoder pointer upon success.
41 std::unique_ptr<CdmVideoDecoder> CreateVideoDecoder( 41 std::unique_ptr<CdmVideoDecoder> CreateVideoDecoder(
42 ClearKeyCdmHost* host, 42 ClearKeyCdmHost* host,
43 const cdm::VideoDecoderConfig& config); 43 const cdm::VideoDecoderConfig& config);
44 44
45 } // namespace media 45 } // namespace media
46 46
47 #endif // MEDIA_CDM_PPAPI_EXTERNAL_CLEAR_KEY_CDM_VIDEO_DECODER_H_ 47 #endif // MEDIA_CDM_PPAPI_EXTERNAL_CLEAR_KEY_CDM_VIDEO_DECODER_H_
OLDNEW
« no previous file with comments | « media/cdm/ppapi/BUILD.gn ('k') | media/cdm/ppapi/ppapi_cdm_adapter.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698