Use LinearBlock buffer for thumbnail extraction
For the thumbnail extraction use case, if the codec is C2 codec, use LinearBlock buffer to allocate single input buffer.
Bug: 329521645
Test: MediaMetadataRetrieverTest
Merged-In: I365db0a58b2dee4a36f1bb183ef21d11c4600916
Change-Id: I365db0a58b2dee4a36f1bb183ef21d11c4600916
diff --git a/media/aconfig/codec_fwk.aconfig b/media/aconfig/codec_fwk.aconfig
index d662585..362e98e 100644
--- a/media/aconfig/codec_fwk.aconfig
+++ b/media/aconfig/codec_fwk.aconfig
@@ -133,3 +133,10 @@
description: "Feature flag to track teamfood population"
bug: "328770262"
}
+
+flag {
+ name: "thumbnail_block_model"
+ namespace: "codec_fwk"
+ description: "Feature flag for using block model decoder in thumbnail generation"
+ bug: "329521645"
+}