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

Unified Diff: media/gpu/android_video_decode_accelerator.h

Issue 2365103002: Send the h264 SPS and PPS configuration parameters to AVDA (Closed)
Patch Set: Shot in the dark Created 4 years, 2 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/filters/gpu_video_decoder.cc ('k') | media/gpu/android_video_decode_accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/android_video_decode_accelerator.h
diff --git a/media/gpu/android_video_decode_accelerator.h b/media/gpu/android_video_decode_accelerator.h
index 38b27e95a4b21095a0c078e401c3fdb8dbc32f3b..c8199a2aae7d7fa670c0dfd6279e61e56b35aaea 100644
--- a/media/gpu/android_video_decode_accelerator.h
+++ b/media/gpu/android_video_decode_accelerator.h
@@ -126,6 +126,10 @@ class MEDIA_GPU_EXPORT AndroidVideoDecodeAccelerator
// restrict the codec to be software only.
AVDACodecAllocator::TaskType task_type_;
+ // Codec specific data (SPS and PPS for H264).
+ std::vector<uint8_t> csd0_;
+ std::vector<uint8_t> csd1_;
+
protected:
friend class base::RefCountedThreadSafe<CodecConfig>;
virtual ~CodecConfig();
« no previous file with comments | « media/filters/gpu_video_decoder.cc ('k') | media/gpu/android_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698