Tag

NEON Optimization

1 views collected around this technical thread.

Tencent Music Tech Team
Tencent Music Tech Team
Jan 12, 2019 · Mobile Development

Technical Solution and Performance Optimization for Animated Lyrics Using ASS Subtitle Rendering on Mobile

The project replaces karaoke effects with ASS‑based lyrics on Android, using a backend to generate ASS files and a JNI renderer that rasterizes and composites bitmap fragments; optimizations like transparent‑fragment filtering, opacity early‑out, NEON SIMD, copy elimination, and double‑buffered decoding cut frame time from 52 ms to under 3 ms, raise frame rate from 7 fps to 15 fps, and shrink memory usage from 180 MB to under 10 MB.

ASS subtitleJNINEON Optimization
0 likes · 16 min read
Technical Solution and Performance Optimization for Animated Lyrics Using ASS Subtitle Rendering on Mobile
WeChat Client Technology Team
WeChat Client Technology Team
Aug 23, 2017 · Mobile Development

Mastering Android Video Encoding: Choosing Codecs and Optimizing YUV Processing

This article examines Android video encoding challenges, compares hardware (MediaCodec) and software (FFmpeg+x264/openh264) codecs, and presents fast YUV frame preprocessing techniques—including scaling, rotation, and mirroring—using NEON optimizations to achieve high‑quality, low‑latency recordings.

AndroidFFmpegMediaCodec
0 likes · 15 min read
Mastering Android Video Encoding: Choosing Codecs and Optimizing YUV Processing