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

Unified Diff: media/base/stream_parser_buffer.h

Issue 15342004: Adding VP8 Alpha support in Media Source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing comments Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/decoder_buffer.cc ('k') | media/base/stream_parser_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/stream_parser_buffer.h
diff --git a/media/base/stream_parser_buffer.h b/media/base/stream_parser_buffer.h
index 90e4ca9d8ba4f5b1eba21f2ca55cf6ca86a09b2b..8899f11216d7d273cef2646de1727fcba9c02b21 100644
--- a/media/base/stream_parser_buffer.h
+++ b/media/base/stream_parser_buffer.h
@@ -18,6 +18,9 @@ class MEDIA_EXPORT StreamParserBuffer : public DecoderBuffer {
static scoped_refptr<StreamParserBuffer> CreateEOSBuffer();
static scoped_refptr<StreamParserBuffer> CopyFrom(
const uint8* data, int data_size, bool is_keyframe);
+ static scoped_refptr<StreamParserBuffer> CopyFrom(
+ const uint8* data, int data_size,
+ const uint8* side_data, int side_data_size, bool is_keyframe);
bool IsKeyframe() const { return is_keyframe_; }
// Decode timestamp. If not explicitly set, or set to kNoTimestamp(), the
@@ -31,7 +34,9 @@ class MEDIA_EXPORT StreamParserBuffer : public DecoderBuffer {
void SetConfigId(int config_id);
private:
- StreamParserBuffer(const uint8* data, int data_size, bool is_keyframe);
+ StreamParserBuffer(const uint8* data, int data_size,
+ const uint8* side_data, int side_data_size,
+ bool is_keyframe);
virtual ~StreamParserBuffer();
bool is_keyframe_;
« no previous file with comments | « media/base/decoder_buffer.cc ('k') | media/base/stream_parser_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698