Loading graphics/mapper/stable-c/Android.bp +14 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,13 @@ cc_library_headers { export_header_lib_headers: [ "libarect_headers", ], // TODO(b/214400477) Remove apex_available apex_available: [ "//apex_available:platform", "com.android.media.swcodec", "test_com.android.media.swcodec", ], min_sdk_version: "29", } cc_library_shared { Loading Loading @@ -66,6 +73,13 @@ cc_library_headers { "libbase_headers", "libimapper_stablec", ], // TODO(b/214400477) Remove apex_available apex_available: [ "//apex_available:platform", "com.android.media.swcodec", "test_com.android.media.swcodec", ], min_sdk_version: "29", } cc_test { Loading graphics/mapper/stable-c/implutils/include/android/hardware/graphics/mapper/utils/IMapperMetadataTypes.h +4 −0 Original line number Diff line number Diff line Loading @@ -566,6 +566,8 @@ DEFINE_TYPE(SMPTE2094_40, std::optional<std::vector<uint8_t>>); #undef DEFINE_TYPE #if defined(__cplusplus) && __cplusplus >= 202002L template <typename F, std::size_t... I> void invokeWithStandardMetadata(F&& f, StandardMetadataType type, std::index_sequence<I...>) { // Setup the jump table, mapping from each type to a springboard that invokes the template Loading Loading @@ -620,4 +622,6 @@ AIMapper_Error applyStandardMetadata(StandardMetadataType type, const void* _Non return retVal; } #endif } // namespace android::hardware::graphics::mapper No newline at end of file Loading
graphics/mapper/stable-c/Android.bp +14 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,13 @@ cc_library_headers { export_header_lib_headers: [ "libarect_headers", ], // TODO(b/214400477) Remove apex_available apex_available: [ "//apex_available:platform", "com.android.media.swcodec", "test_com.android.media.swcodec", ], min_sdk_version: "29", } cc_library_shared { Loading Loading @@ -66,6 +73,13 @@ cc_library_headers { "libbase_headers", "libimapper_stablec", ], // TODO(b/214400477) Remove apex_available apex_available: [ "//apex_available:platform", "com.android.media.swcodec", "test_com.android.media.swcodec", ], min_sdk_version: "29", } cc_test { Loading
graphics/mapper/stable-c/implutils/include/android/hardware/graphics/mapper/utils/IMapperMetadataTypes.h +4 −0 Original line number Diff line number Diff line Loading @@ -566,6 +566,8 @@ DEFINE_TYPE(SMPTE2094_40, std::optional<std::vector<uint8_t>>); #undef DEFINE_TYPE #if defined(__cplusplus) && __cplusplus >= 202002L template <typename F, std::size_t... I> void invokeWithStandardMetadata(F&& f, StandardMetadataType type, std::index_sequence<I...>) { // Setup the jump table, mapping from each type to a springboard that invokes the template Loading Loading @@ -620,4 +622,6 @@ AIMapper_Error applyStandardMetadata(StandardMetadataType type, const void* _Non return retVal; } #endif } // namespace android::hardware::graphics::mapper No newline at end of file