summaryrefslogtreecommitdiff
path: root/chromium/media/video/h264_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/media/video/h264_parser.h')
-rw-r--r--chromium/media/video/h264_parser.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chromium/media/video/h264_parser.h b/chromium/media/video/h264_parser.h
index f7439fe3bb6..652cbe9f70f 100644
--- a/chromium/media/video/h264_parser.h
+++ b/chromium/media/video/h264_parser.h
@@ -359,6 +359,14 @@ struct MEDIA_EXPORT H264SliceHeader {
// Size in bits of dec_ref_pic_marking() syntax element.
size_t dec_ref_pic_marking_bit_size;
size_t pic_order_cnt_bit_size;
+
+ // This is when we are using full sample encryption and only the portions
+ // needed for DPB management are filled in, the rest will already be known
+ // by the accelerator and we will not need to specify it.
+ bool full_sample_encryption;
+ // This is used by some accelerators to handle decoding after slice header
+ // parsing.
+ uint32_t full_sample_index;
};
struct H264SEIRecoveryPoint {