mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

All of the classes in the text.eia608 package have been moved to text.cea, and renamed with the "cea" prefix instead of "eia". All of the buffering logic has been extracted from Cea608Decoder (formerly Eia608Decoder) into the abstract CeaDecoder, which Cea608Decoder extends. Cea608Decoder also now expects a 3-byte sample (i.e. the entire cc_data_pkt instead of just the cc_data_1 and cc_data_2 bytes). Classes like RawCcExtractor and SeiReader, responsible for creating these samples, have also been updated accordingly. This change is a necessary precursor to adding support for multi -channel CEA-608 and CEA-708 captions. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=134537482