Commit Graph

13 Commits

Author SHA1 Message Date
Herman Chen
b81b3e52cd [mpp]: Fix compiling error on Linux
Issue: https://github.com/rockchip-linux/mpp/issues/48

Change-Id: I08bc75a4cab23d4b96c6bac3b671e50edbff55fb
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2018-08-07 08:56:00 +08:00
Herman Chen
26889a7bce [mpp_time]: Add MppTimer for time recording
Change-Id: I3d04e677415ae84bc37703cb63a52be66c973798
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2018-07-06 16:30:11 +08:00
Herman Chen
c71ed0cb96 [osal]: Make mpp_time_diff string to const char *
Change-Id: I20f3c65ccbea28bb01e1f739a1d31bf3c5ae936e
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2018-07-02 17:29:15 +08:00
Herman Chen
ed4151e245 [osal]: Change time function
Change time function from gettimeofday to clock_gettime.
Output of mpp_time() is still in us.

Change-Id: I7f961bb7bb4007e8e42ae5358bd7f568edf6c3d0
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2018-03-23 09:20:56 +08:00
Randy Li
e6ade9b712 [mpp_dec]: remove obsoleted code and format comments
It would be more easy to look into those code next time.

The functions in mpp_time.c have removed the internal debug
flag checking.

Change-Id: I6392190896f74e86a8407f06fa3621dd92371e56
Signed-off-by: Randy Li <randy.li@rock-chips.com>
2017-08-03 16:21:13 +08:00
Herman Chen
2c3c72a815 [osal]: Change mpp time print to us
Change-Id: Ifd73aad1e3b65b44a8d7e284647c065fde66ca98
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2017-06-27 09:44:40 +08:00
Lin Kesheng
60373a6973 [all]: format code
use fromdos to change file type, remove ^M in code.

Change-Id: I000202dc51fcff57cc0771455baebea595115b1d
Signed-off-by: Lin Kesheng <lks@rock-chips.com>
2016-09-08 15:21:02 +08:00
ChenHengming
e179717e0b [mpp]: update mpp debug log
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1124 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-28 11:52:51 +00:00
ChenHengming
c0866a76f9 [comment]: fix company name hand writing error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@906 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-13 09:42:31 +00:00
ChenHengming
028ebc655c [mpp_time]: add limit mpp time diff print
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@491 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-02 14:44:06 +00:00
ChenHengming
3b510f1124 [osal]: fix time calc error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@487 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-25 16:16:30 +00:00
ChenHengming
1265c7f173 [osal]: add time differ function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@486 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-25 15:30:58 +00:00
ChenHengming
c35cc7d345 [osal]: rename mpp_malloc to mpp_mem, add mpp_time function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@63 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-07 10:15:24 +00:00