Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
b088b2dc
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
b088b2dc
编写于
2月 28, 2022
作者:
R
ruanmeng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
文件资源路径修改 Signed-off-by: NOBUGGERS <ruanmeng@huawei.com>
Signed-off-by:
N
ruanmeng
<
ruanmeng@huawei.com
>
上级
f65c4206
变更
9
显示空白变更内容
内联
并排
Showing
9 changed file
with
14 addition
and
15 deletion
+14
-15
multimedia/media/media_js_standard/videoDecoder/Test.json
multimedia/media/media_js_standard/videoDecoder/Test.json
+6
-7
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderFuncCallbackTest.test.js
...der/src/main/js/test/VideoDecoderFuncCallbackTest.test.js
+1
-1
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderFuncPromiseTest.test.js
...oder/src/main/js/test/VideoDecoderFuncPromiseTest.test.js
+1
-1
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliCallbackTest.test.js
...der/src/main/js/test/VideoDecoderReliCallbackTest.test.js
+1
-1
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliPromiseTest.test.js
...oder/src/main/js/test/VideoDecoderReliPromiseTest.test.js
+1
-1
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareFuncCallbackTest.test.js
...main/js/test/VideoDecoderSoftwareFuncCallbackTest.test.js
+1
-1
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareFuncPromiseTest.test.js
.../main/js/test/VideoDecoderSoftwareFuncPromiseTest.test.js
+1
-1
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliCallbackTest.test.js
...main/js/test/VideoDecoderSoftwareReliCallbackTest.test.js
+1
-1
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliPromiseTest.test.js
.../main/js/test/VideoDecoderSoftwareReliPromiseTest.test.js
+1
-1
未找到文件。
multimedia/media/media_js_standard/videoDecoder/Test.json
浏览文件 @
b088b2dc
...
@@ -12,18 +12,17 @@
...
@@ -12,18 +12,17 @@
"pre-push"
:
[
"pre-push"
:
[
],
],
"push"
:
[
"push"
:
[
"./resource/media/es/out_1920_1080_30fps_3s.h264 ->/data/
media
/"
,
"./resource/media/es/out_1920_1080_30fps_3s.h264 ->/data/
accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared
/"
,
"./resource/media/es/h263_1408_1152.es ->/data/
media
/"
,
"./resource/media/es/h263_1408_1152.es ->/data/
accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared
/"
,
"./resource/media/es/MPEG2_720_480.es ->/data/
media
/"
,
"./resource/media/es/MPEG2_720_480.es ->/data/
accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared
/"
,
"./resource/media/es/mpeg4_320_240.es ->/data/
media
/"
,
"./resource/media/es/mpeg4_320_240.es ->/data/
accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared
/"
,
"./resource/media/es/out_320_240_10s.h264 ->/data/
media
/"
"./resource/media/es/out_320_240_10s.h264 ->/data/
accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared
/"
]
]
},
},
{
{
"type"
:
"ShellKit"
,
"type"
:
"ShellKit"
,
"run-command"
:
[
"run-command"
:
[
"chmod 777 -R /data/media"
,
"mkdir -p /data/accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared/"
,
"chmod 777 /data/media/*"
,
"setenforce 0"
"setenforce 0"
],
],
"teardown-command"
:[
"teardown-command"
:[
...
...
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderFuncCallbackTest.test.js
浏览文件 @
b088b2dc
...
@@ -31,7 +31,7 @@ describe('VideoDecoderFuncCallbackTest', function () {
...
@@ -31,7 +31,7 @@ describe('VideoDecoderFuncCallbackTest', function () {
let
surfaceID
=
''
;
let
surfaceID
=
''
;
const
events
=
require
(
'
events
'
);
const
events
=
require
(
'
events
'
);
const
eventEmitter
=
new
events
.
EventEmitter
();
const
eventEmitter
=
new
events
.
EventEmitter
();
const
BASIC_PATH
=
'
/data/
media
/
'
;
const
BASIC_PATH
=
'
/data/
accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared
/
'
;
let
ES_FRAME_SIZE
=
[];
let
ES_FRAME_SIZE
=
[];
const
H264_FRAME_SIZE_30FPS_1080
=
const
H264_FRAME_SIZE_30FPS_1080
=
[
3491
,
115184
,
9423
,
1046
,
19038
,
2059
,
2306
,
28773
,
4815
,
1670
,
31464
,
6322
,
2969
,
3518
,
38279
,
8419
,
4463
,
[
3491
,
115184
,
9423
,
1046
,
19038
,
2059
,
2306
,
28773
,
4815
,
1670
,
31464
,
6322
,
2969
,
3518
,
38279
,
8419
,
4463
,
...
...
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderFuncPromiseTest.test.js
浏览文件 @
b088b2dc
...
@@ -32,7 +32,7 @@ describe('VideoDecoderFuncPromiseTest', function () {
...
@@ -32,7 +32,7 @@ describe('VideoDecoderFuncPromiseTest', function () {
let
surfaceID
=
''
;
let
surfaceID
=
''
;
const
events
=
require
(
'
events
'
);
const
events
=
require
(
'
events
'
);
const
eventEmitter
=
new
events
.
EventEmitter
();
const
eventEmitter
=
new
events
.
EventEmitter
();
const
BASIC_PATH
=
'
/data/
media
/
'
;
const
BASIC_PATH
=
'
/data/
accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared
/
'
;
let
ES_FRAME_SIZE
=
[];
let
ES_FRAME_SIZE
=
[];
const
H264_FRAME_SIZE_30FPS_1080
=
const
H264_FRAME_SIZE_30FPS_1080
=
[
3491
,
115184
,
9423
,
1046
,
19038
,
2059
,
2306
,
28773
,
4815
,
1670
,
31464
,
6322
,
2969
,
3518
,
38279
,
8419
,
4463
,
[
3491
,
115184
,
9423
,
1046
,
19038
,
2059
,
2306
,
28773
,
4815
,
1670
,
31464
,
6322
,
2969
,
3518
,
38279
,
8419
,
4463
,
...
...
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliCallbackTest.test.js
浏览文件 @
b088b2dc
...
@@ -46,7 +46,7 @@ describe('VideoDecoderReliCallbackTest', function () {
...
@@ -46,7 +46,7 @@ describe('VideoDecoderReliCallbackTest', function () {
let
inputEosFlag
=
false
;
let
inputEosFlag
=
false
;
let
workdoneAtEOS
=
false
;
let
workdoneAtEOS
=
false
;
let
surfaceID
=
''
;
let
surfaceID
=
''
;
const
BASIC_PATH
=
'
/data/
media
/
'
;
const
BASIC_PATH
=
'
/data/
accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared
/
'
;
const
SRCPATH
=
BASIC_PATH
+
'
out_1920_1080_30fps_3s.h264
'
;
const
SRCPATH
=
BASIC_PATH
+
'
out_1920_1080_30fps_3s.h264
'
;
let
mediaDescription
=
{
let
mediaDescription
=
{
'
track_type
'
:
1
,
'
track_type
'
:
1
,
...
...
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliPromiseTest.test.js
浏览文件 @
b088b2dc
...
@@ -46,7 +46,7 @@ describe('VideoDecoderReliPromiseTest', function () {
...
@@ -46,7 +46,7 @@ describe('VideoDecoderReliPromiseTest', function () {
let
inputEosFlag
=
false
;
let
inputEosFlag
=
false
;
let
workdoneAtEOS
=
false
;
let
workdoneAtEOS
=
false
;
let
surfaceID
=
''
;
let
surfaceID
=
''
;
const
BASIC_PATH
=
'
/data/
media
/
'
;
const
BASIC_PATH
=
'
/data/
accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared
/
'
;
const
SRCPATH
=
BASIC_PATH
+
'
out_1920_1080_30fps_3s.h264
'
;
const
SRCPATH
=
BASIC_PATH
+
'
out_1920_1080_30fps_3s.h264
'
;
let
mediaDescription
=
{
let
mediaDescription
=
{
'
track_type
'
:
1
,
'
track_type
'
:
1
,
...
...
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareFuncCallbackTest.test.js
浏览文件 @
b088b2dc
...
@@ -31,7 +31,7 @@ describe('VideoDecoderFuncCallbackTest', function () {
...
@@ -31,7 +31,7 @@ describe('VideoDecoderFuncCallbackTest', function () {
let
surfaceID
=
''
;
let
surfaceID
=
''
;
const
events
=
require
(
'
events
'
);
const
events
=
require
(
'
events
'
);
const
eventEmitter
=
new
events
.
EventEmitter
();
const
eventEmitter
=
new
events
.
EventEmitter
();
const
BASIC_PATH
=
'
/data/
media
/
'
;
const
BASIC_PATH
=
'
/data/
accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared
/
'
;
let
ES_FRAME_SIZE
=
[];
let
ES_FRAME_SIZE
=
[];
const
H264_FRAME_SIZE_240
=
const
H264_FRAME_SIZE_240
=
[
2106
,
11465
,
321
,
72
,
472
,
68
,
76
,
79
,
509
,
90
,
677
,
88
,
956
,
99
,
347
,
77
,
452
,
681
,
81
,
1263
,
94
,
106
,
97
,
[
2106
,
11465
,
321
,
72
,
472
,
68
,
76
,
79
,
509
,
90
,
677
,
88
,
956
,
99
,
347
,
77
,
452
,
681
,
81
,
1263
,
94
,
106
,
97
,
...
...
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareFuncPromiseTest.test.js
浏览文件 @
b088b2dc
...
@@ -32,7 +32,7 @@ describe('VideoDecoderFuncPromiseTest', function () {
...
@@ -32,7 +32,7 @@ describe('VideoDecoderFuncPromiseTest', function () {
let
surfaceID
=
''
;
let
surfaceID
=
''
;
const
events
=
require
(
'
events
'
);
const
events
=
require
(
'
events
'
);
const
eventEmitter
=
new
events
.
EventEmitter
();
const
eventEmitter
=
new
events
.
EventEmitter
();
const
BASIC_PATH
=
'
/data/
media
/
'
;
const
BASIC_PATH
=
'
/data/
accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared
/
'
;
let
ES_FRAME_SIZE
=
[];
let
ES_FRAME_SIZE
=
[];
const
H264_FRAME_SIZE_240
=
const
H264_FRAME_SIZE_240
=
[
2106
,
11465
,
321
,
72
,
472
,
68
,
76
,
79
,
509
,
90
,
677
,
88
,
956
,
99
,
347
,
77
,
452
,
681
,
81
,
1263
,
94
,
106
,
97
,
[
2106
,
11465
,
321
,
72
,
472
,
68
,
76
,
79
,
509
,
90
,
677
,
88
,
956
,
99
,
347
,
77
,
452
,
681
,
81
,
1263
,
94
,
106
,
97
,
...
...
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliCallbackTest.test.js
浏览文件 @
b088b2dc
...
@@ -46,7 +46,7 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () {
...
@@ -46,7 +46,7 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () {
let
inputEosFlag
=
false
;
let
inputEosFlag
=
false
;
let
workdoneAtEOS
=
false
;
let
workdoneAtEOS
=
false
;
let
surfaceID
=
''
;
let
surfaceID
=
''
;
const
BASIC_PATH
=
'
/data/
media
/
'
;
const
BASIC_PATH
=
'
/data/
accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared
/
'
;
const
SRCPATH
=
BASIC_PATH
+
'
out_1920_1080_30fps_3s.h264
'
;
const
SRCPATH
=
BASIC_PATH
+
'
out_1920_1080_30fps_3s.h264
'
;
let
mediaDescription
=
{
let
mediaDescription
=
{
'
track_type
'
:
1
,
'
track_type
'
:
1
,
...
...
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliPromiseTest.test.js
浏览文件 @
b088b2dc
...
@@ -46,7 +46,7 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () {
...
@@ -46,7 +46,7 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () {
let
inputEosFlag
=
false
;
let
inputEosFlag
=
false
;
let
workdoneAtEOS
=
false
;
let
workdoneAtEOS
=
false
;
let
surfaceID
=
''
;
let
surfaceID
=
''
;
const
BASIC_PATH
=
'
/data/
media
/
'
;
const
BASIC_PATH
=
'
/data/
accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared
/
'
;
const
SRCPATH
=
BASIC_PATH
+
'
out_1920_1080_30fps_3s.h264
'
;
const
SRCPATH
=
BASIC_PATH
+
'
out_1920_1080_30fps_3s.h264
'
;
let
mediaDescription
=
{
let
mediaDescription
=
{
'
track_type
'
:
1
,
'
track_type
'
:
1
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录