msm: vdec: Enable/Disable buffer logging at runtime

Buffer logs can be enabled and disabled at runtime with following
properties:
1. setprop vidc.dec.log.out 1
2. setprop vidc.dec.log.in 1
Default location for collecting logs is /data/misc/media. This
location can be changed by setting vidc.log.loc property, eg:
  setprop vidc.log.loc "/sdcard/logs"
Log file names are in following format:
  input_dec_<width>_<height>_<inst_ptr>.<codec>
  output_dec_<width>_<height>_<inst_ptr>.yuv

CRs-Fixed: 524234
Change-Id: I67c887a307018b1dc0cad92666e3a99231734eda
2 files changed