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

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

Issue 2990463002: [EXPERIMENTAL] Generic stereo codec with index header sending merged frames
Patch Set: Created 3 years, 5 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
Index: webrtc/modules/video_coding/include/video_codec_interface.h
diff --git a/webrtc/modules/video_coding/include/video_codec_interface.h b/webrtc/modules/video_coding/include/video_codec_interface.h
index 0bef7dacd052c6809e439316dcde2141aab575e2..4d536f6b7c67ac403564772a11c50ee9fa9248fd 100644
--- a/webrtc/modules/video_coding/include/video_codec_interface.h
+++ b/webrtc/modules/video_coding/include/video_codec_interface.h
@@ -80,6 +80,15 @@ union CodecSpecificInfoUnion {
CodecSpecificInfoH264 H264;
};
+struct StereoInfo {
+ StereoInfo() : num_frames(0) {}
+ VideoCodecType stereoCodecType;
+ uint8_t num_frames;
+ const EncodedImage* encoded_images[kMaxNumberOfStereoFrames];
+ const CodecSpecificInfo* codec_specific_infos[kMaxNumberOfStereoFrames];
+ const RTPFragmentationHeader* fragmentations[kMaxNumberOfStereoFrames];
+};
+
// 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 +97,7 @@ struct CodecSpecificInfo {
VideoCodecType codecType;
const char* codec_name;
CodecSpecificInfoUnion codecSpecific;
+ StereoInfo stereoInfo;
};
} // namespace webrtc
« no previous file with comments | « webrtc/modules/video_coding/include/video_codec_initializer.h ('k') | webrtc/modules/video_coding/packet.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698