transcoding: add API for determininng transcoding format

Add a helper API for determining whether to transcode
as well as the transcoding video format.

bug: 163086057
test: MediaTranscodeManagerTest; Manually verify with
local changes in MediaProvider to use the API.

Change-Id: Id694bd83a960fe21008b06a7144ede831103cea2
5 files changed