Skip to content

Commit 1f23899

Browse files
committed
Modularize the script to single script which works for all the Decoders and encoders
Add Support Video Decode Testcases for H265 Add Support Video Decode Testcases for VP9 Add Support Video Encode Testcases for H265 Signed-off-by: Abhishek Bajaj <[email protected]>
1 parent b7f6809 commit 1f23899

File tree

8 files changed

+543
-125
lines changed

8 files changed

+543
-125
lines changed

Runner/suites/Multimedia/Video/iris_v4l2_video_decode/h264Decoder.json renamed to Runner/suites/Multimedia/Video/Video_V4L2_Runner/h264Decoder.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"ExecutionMode": "Sequential",
33
"TestCases": [
44
{
5-
"Name" : "Decoder Testcase",
5+
"Name" : "H264 Decoder Testcase",
66
"TestConfigs" : {
77
"Domain": "Decoder",
8-
"InputPath": "./simple_AVC_720p_10fps_90frames.264",
8+
"InputPath": "./720p_AVC.h264",
99
"NumFrames": -1,
1010
"CodecName": "AVC",
1111
"PixelFormat": "NV12",
1212
"Width": 1280,
1313
"Height": 720,
14-
"Outputpath": "./output_simple_nv12_720p_90frms.yuv",
14+
"Outputpath": "./720p_AVC.yuv",
1515
"InputBufferCount": 16,
1616
"OutputBufferCount": 16
1717
}

Runner/suites/Multimedia/Video/iris_v4l2_video_encode/h264Encoder.json renamed to Runner/suites/Multimedia/Video/Video_V4L2_Runner/h264Encoder.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"Name" : "Encoder Testcase",
66
"TestConfigs" : {
77
"Domain": "Encoder",
8-
"InputPath": "./simple_nv12_720p_90frms.yuv",
8+
"InputPath": "./90frames_yuv.yuv",
99
"NumFrames": -1,
1010
"CodecName": "AVC",
1111
"PixelFormat": "NV12",
1212
"Width": 1280,
1313
"Height": 720,
14-
"Outputpath": "./output_simple_AVC_720p_10fps.h264",
14+
"Outputpath": "./Enc_AVC_720p.h264",
1515
"InputBufferCount": 32,
1616
"OutputBufferCount": 32,
1717
"OperatingRate": 10,
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"ExecutionMode": "Sequential",
3+
"TestCases": [
4+
{
5+
"Name": "HEVC Decoder TestCase",
6+
"TestConfigs": {
7+
"Domain": "Decoder",
8+
"InputPath": "./720x1280_hevc.h265",
9+
"NumFrames": -1,
10+
"CodecName": "HEVC",
11+
"PixelFormat": "NV12",
12+
"Width": 1280,
13+
"Height": 720,
14+
"Outputpath": "./720x1280_hevc.yuv",
15+
"InputBufferCount": 16,
16+
"OutputBufferCount": 16,
17+
"UseMinBufferCtrl": false
18+
}
19+
}
20+
]
21+
}
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
{
2+
"ExecutionMode": "Sequential",
3+
"TestCases": [
4+
{
5+
"Name": "HEVC Encode TestCase",
6+
"TestConfigs": {
7+
"VideoDevice": "/dev/video1",
8+
"Domain": "Encoder",
9+
"InputPath": "./60frames_yuv.yuv",
10+
"NumFrames": 60,
11+
"CodecName": "HEVC",
12+
"PixelFormat": "NV12",
13+
"Width": 1280,
14+
"Height": 720,
15+
"Outputpath": "./Enc_HEVC__Main_1280_720.265",
16+
"UseMinBufferCtrl": false,
17+
"InputBufferCount": 32,
18+
"OutputBufferCount": 32,
19+
"OperatingRate": 30,
20+
"FrameRate": 30,
21+
"StaticControls": [
22+
{
23+
"Id": "Profile",
24+
"Vtype": "String",
25+
"Value": "MAIN"
26+
},
27+
{
28+
"Id": "Level",
29+
"Vtype": "String",
30+
"Value": "5.0"
31+
},
32+
{
33+
"Id": "FrameRC",
34+
"Vtype": "Int",
35+
"Value": 1
36+
},
37+
{
38+
"Id": "BitRate",
39+
"Vtype": "Int",
40+
"Value": 3662400
41+
},
42+
{
43+
"Id": "BitRateMode",
44+
"Vtype": "String",
45+
"Value": "VBR"
46+
},
47+
{
48+
"Id": "PrefixHeaderMode",
49+
"Vtype": "String",
50+
"Value": "JOINED"
51+
},
52+
{
53+
"Id": "Tier",
54+
"Vtype": "String",
55+
"Value": "HIGH"
56+
},
57+
{
58+
"Id": "GOPSize",
59+
"Vtype": "Int",
60+
"Value": 59
61+
},
62+
{
63+
"Id": "MultiSliceMode",
64+
"Vtype": "String",
65+
"Value": "SINGLE"
66+
},
67+
{
68+
"Id": "MinIQP",
69+
"Vtype": "Int",
70+
"Value": 10
71+
},
72+
{
73+
"Id": "MinPQP",
74+
"Vtype": "Int",
75+
"Value": 10
76+
},
77+
{
78+
"Id": "MinBQP",
79+
"Vtype": "Int",
80+
"Value": 10
81+
},
82+
{
83+
"Id": "MaxIQP",
84+
"Vtype": "Int",
85+
"Value": 51
86+
},
87+
{
88+
"Id": "MaxPQP",
89+
"Vtype": "Int",
90+
"Value": 51
91+
},
92+
{
93+
"Id": "MaxBQP",
94+
"Vtype": "Int",
95+
"Value": 51
96+
}
97+
],
98+
"DynamicControls": []
99+
}
100+
}
101+
]
102+
}

0 commit comments

Comments
 (0)