Commit graph

5 commits

Author SHA1 Message Date
Herman Chen
2b35cee0ce [mpp_log]: Add more log helper function
1. Move mpp_log.h to inc for external user.
2. Add mpp_debug.h for mpp internal logging.
3. Fix some warning.
4. Add log level setup function.
5. Check env log_level value in mpp_get_log_level call.

NOTE:
1. mpp internal module should use mpp_debug.h and mpp external user
should use mpp_log.h
2. Use mpp_get_log_level to update mpp_log_level when the env changed.

Change-Id: I90a55a02a72db177533013280dfe111ca3479229
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2022-05-20 11:42:10 +08:00
Herman Chen
7256403b49 [mpp_callback]: Optimize callback module
1. Move callback module to osal for later mpp_device callback.
2. Make callback command a pre-defined value to avoid include issue.
3. Separate callback cmd and param to separate header.

Change-Id: Ibd5cf11650a1cd2a326baddb82dc60fa1767ac87
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2021-10-09 17:14:44 +08:00
leo.ding
a7ea866dfa [avsd]: fix bugs: when video is field
1. when the second field, should re-find start code, and update offset
2. mv size is (hor_mbs * ver_mbs) * 8
3. add extra 32 bytes, and align to 16 for memset input stream

Change-Id: I4493ece0680f93f8ae2533a71318fd76d67cab95
Signed-off-by: leo.ding <leo.ding@rock-chips.com>
2017-09-08 17:08:00 +08:00
leo.ding
7c6e7fb146 [avsd] deal with errors when ouput to display and seek
Change-Id: I88f2d2356087d74898f09086479889fce4ace881
Signed-off-by: leo.ding <leo.ding@rock-chips.com>
2016-11-18 08:45:41 +08:00
leo.ding
7735655408 [avsd] add avsd hard decoder driver.
Change-Id: I4459a9b3ea71d6ab06d5b6ebe6226604bc8b7042
Signed-off-by: leo.ding <leo.ding@rock-chips.com>
2016-11-15 17:04:02 +08:00