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

Unified Diff: modules/video_coding/include/video_codec_interface.h

Issue 2951033003: [EXPERIMENTAL] Generic stereo codec with index header sending single frames
Patch Set: Rebase and add external codec support. Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/video_coding/include/video_codec_initializer.h ('k') | modules/video_coding/packet.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/video_coding/include/video_codec_interface.h
diff --git a/modules/video_coding/include/video_codec_interface.h b/modules/video_coding/include/video_codec_interface.h
index 6616053c2561fa4936d853b40f652d4d5e9a3cfc..0c21a5272ac3e092ff2f38f339a1e5de5faae17c 100644
--- a/modules/video_coding/include/video_codec_interface.h
+++ b/modules/video_coding/include/video_codec_interface.h
@@ -80,6 +80,13 @@ union CodecSpecificInfoUnion {
CodecSpecificInfoH264 H264;
};
+struct StereoInfo {
+ VideoCodecType stereoCodecType;
+ uint8_t frameIndex;
+ uint8_t frameCount;
+ uint64_t pictureIndex;
+};
+
// Note: if any pointers are added to this struct or its sub-structs, it
// must be fitted with a copy-constructor. This is because it is copied
// in the copy-constructor of VCMEncodedFrame.
@@ -88,6 +95,7 @@ struct CodecSpecificInfo {
VideoCodecType codecType;
const char* codec_name;
CodecSpecificInfoUnion codecSpecific;
+ StereoInfo stereoInfo;
};
} // namespace webrtc
« no previous file with comments | « modules/video_coding/include/video_codec_initializer.h ('k') | modules/video_coding/packet.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698