add ffmpeg support

(cherry picked from commit b16727bfc2a470f24e645d25828550bc582efb3b)

Change-Id: I539ad21ec067d6b836333ea97ba00b87b8512f02
cap max CPU frequency to 1 GHz as soon as possible

(cherry picked from commit e45ac21225e36d55075d67d40a917458b5ca535b)

Change-Id: I0e26c651d5497695fb6392f2ec2e1dd0fef9b27e
add normal dpi to aapt config

(cherry picked from commit 59fd26ff61d38c40e66a2941dbebd7d8b7fd1e37)

Change-Id: Ied592b40272d86d4a4d6b82225f149428cd79a90