Repository navigation
Add Honor / Huawei Moving Picture 3P plugin (HiHonor_*/LivePhoto_* TLV and LIVE_ footer) - #13
Merged
Merged
Conversation
DichenZhang1
force-pushed
the
feat/plugin-honor-live-photo
branch
from
October 12, 2026 23:01
2fbd803 to
c8d1f10
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the
honor_live_photo3P metadata provider plugin supporting Honor and Huawei Moving Picture formats (HiHonor_*/LivePhoto_*backward-linked 20-byte TLV trailer chains and classicLIVE_<size>footers).Key Changes
lib/core/plugins/honor_live_photo/):honor_live_photo_metadata.proto: DefinesHonorLivePhotoMetadata(format_variant,has_embedded_video,video_offset,video_length,scene_mode,primary_image_timestamp_us,tlv_tags).HonorLivePhotoProvider: Walks backward-linked[payload][u32LE(len)][20B tag]TLV chains (HiHonor_*,LivePhoto_*), extractssceneModefromHiHonor_OfflineDataJSON, locates embedded MP4 payloads inside TLV records or classicLIVE_<size>footers, and only reportsIsMotionPhoto = truewhen a valid MP4 video stream is present.honor_live_photo_provider_test.cc):Identify,DecodeToSemantic,GetVideoInfo,IsMotionPhoto(both metadata-onlyHiHonor_OfflineDatasceneMode:73chains and embedded MP4 chains), classicLIVE_<size>footers, primary image/video extraction,HandlerOptionsgating, and malformed TLV boundary safety.