MLK-22760:VPU Decoder:improve the start command
authorming_qian <ming.qian@nxp.com>
Wed, 16 Oct 2019 06:00:30 +0000 (14:00 +0800)
committerShijie Qin <shijie.qin@nxp.com>
Thu, 24 Oct 2019 10:57:58 +0000 (18:57 +0800)
commitf165946d9984809d6fd1ab134ee00dffe1c83bc3
treee57723a391d249cf646c3fc68e5dab06c01a89c5
parentde8b64ce6f03b49bfa591e7bc4569141502d9319
MLK-22760:VPU Decoder:improve the start command

1. the start command is mixed with transfer data,
   separate them and make code more clear
2. some condition of start_code_bypass is missing.
3. config the pStreamBuffDesc only before send start command

Signed-off-by: ming_qian <ming.qian@nxp.com>
Reviewed-by: Shijie Qin <shijie.qin@nxp.com>
(cherry picked from commit 775033eb3dcba27a2b7093caccbc81c1df55ba46)
drivers/mxc/vpu_malone/vpu_b0.c
drivers/mxc/vpu_malone/vpu_b0.h