Commit graph

28 commits

Author SHA1 Message Date
Yandong Lin
3adde926e2 [avs]: Add avs module
NOTE: I frame header decoding should check stream version.

Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
Change-Id: I1c8276f4499d73e3b60d582890037dec376e136f
2022-10-13 15:16:13 +08:00
Johnson Ding
d98fbcfe2a [mpp]: Activate AVS2 decoder
Change-Id: I7fb596b050c1791b046f6c2179e8775a8b3df068
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
2022-07-19 15:24:34 +08:00
sayon.chen
55b425c97b [av1d]: Add av1 parser api
Change-Id: Iff3c205d34cd8d8c2074de42eadc8418f5144a42
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>
2022-01-21 11:20:02 +08:00
Herman Chen
3aad89dee8 [mpp_dec]: Add mpp_dec_callback
NOTE: The MppCtx should be restored for external user.

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I2a4241ddacb14196f43b29a59b46658131ebfcee
2021-10-13 17:17:56 +08:00
Herman Chen
13b4f27390 [mpp_dec]: Use callback to handle hardware status
Change-Id: Iff972f276f00621dc0289633178e487d897b2e0e
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2020-12-08 19:42:53 +08:00
Herman Chen
d9c59b7c0a [mpp_dec]: Add MppDecCfg ctrl process to mpp_dec
Change-Id: I767e7b248922904d61aa19afd657a5543a2b9995
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2020-12-08 17:48:09 +08:00
Herman Chen
ea476ad4d1 [misc]: Change internal API interface
1. Change internal api RK_S32 cmd to MpiCmd.
2. Remove external MppEncCfgSet in MPI and move it internal data.

Change-Id: I0b93429f3b9f92712a57d0df54a1c76b3e08bf9d
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2019-10-14 20:21:41 +08:00
Herman Chen
9c7b9efe74 [misc]: Remove source code executable attribute
Change-Id: I1bf4ec5782e30869e971e4c27ef50285d4382233
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2017-06-06 08:48:50 +08:00
ZhouJing
4c5a22f048 [mpp_parser]: rename the functions of mpp_parser
It will cause conflicts with the gb28181 protocol

Change-Id: Ia4c24c528c88caa3e6f7c1ad20ef309607e04794
Signed-off-by: ZhouJing <tracy.zhou@rock-chips.com>
2017-04-20 08:47:41 +08:00
Herman Chen
30c6bd08c1 [cmake]: add codec option
Use mpp/codecs.cmake to enable/disable codecs in order to reduce library
size.
All decoder and encoder can be disbaled now. Default all open.

Change-Id: I3307460df12f2f3fc82898d823ab2da12002d6c6
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2016-09-10 15:46:12 +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
Herman Chen
43bfdc6bdf [format]: format coding style
Change-Id: I3d0e081f6636ca8162df4bda68618ec0ba37e7ae
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2016-08-23 09:16:22 +08:00
HuangTingjin
a82bda1f00 [jpegd]: add jpegd source code file and comment jpegd in support_list.
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1099 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-26 09:32:21 +00:00
ChenHengming
55e151d588 [avsd]: add case when avsd is removed
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1037 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-18 06:32:28 +00:00
ChenHengming
ede81ae620 [mpi]: enable H.263 decoder and rename libvpu to worker_vpu
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1001 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-11 09:58:43 +00:00
ChenSiyong
fa119620cd [mpp_dec] modify eos flow, fixed eos no notify to user
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@967 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-30 02:02:45 +00:00
ChenSiyong
8ade39c2c0 [vp8] add vp8 parser & hal for mpi
[m2vh] modify hal CMakeLists 

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@946 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-21 10:23:38 +00:00
ChenHengming
611a677fbc [mpg4d]: commit empty mpeg4 parser/hal with correct split function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@940 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-20 08:31:58 +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
ChenSiyong
acaf22616c [m2v] support mpeg2 dec in mpp
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@873 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-03 10:28:32 +00:00
DingWei
653a6b5aa4 [mpi] add avs marco
[vpu_api] add avs marco
[avsd]    add avs interface
[test]    comment
[h264d]   move h264d_rw to codec 

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@599 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-01 09:49:23 +00:00
ChenSiyong
ba16ca1559 [mpp_dec]: add hal callback to parser
[h265d]:fix h265 stream eos cause play end 

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@499 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-02 23:31:17 +00:00
DingWei
6d94e05c76 [hal_h264d_vdpu_reg] add reg all type
[hal_regdrv]         add reg set && get function, like on2
[vp9d]               add parse && hal module && vp9d_test demo
[h265d]              update problem in vs bulid mode

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@369 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-12 23:06:07 +00:00
ChenHengming
f42ae2d5f6 [h265]: add api_h265d_parser and api_hal_h264d to mpp_dec
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@303 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-24 23:14:34 +00:00
DingWei
c7332b7477 1. update h265 compiler problem in vs IDE
2. add prepare function in API
3. update dummy_dec_api.c API
4. update h264d  parse structure

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@295 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-24 03:28:12 +00:00
ChenHengming
57d58f84a4 [parser]: add prepare function to framework
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@288 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-23 20:36:55 +00:00
ChenHengming
c8040fff54 [mpp_parser]: use calloc to replace malloc for parser context
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@274 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-14 22:39:22 +00:00
ChenHengming
8a50e21e83 [mpp_parser]: add mpp_parser layer to parser abstraction
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@270 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-14 21:53:31 +00:00