~misterc/libva/Trunk

« back to all changes in this revision

Viewing changes to test/basic/testplan.txt

  • Committer: Sean V Kelley
  • Date: 2017-02-18 23:19:05 UTC
  • Revision ID: git-v1:7b8cc07dc7a9b954b9a8c9bde5091fb2e8d443dc
PROJECT HAS MOVED

See https://github.com/01org/libva

Signed-off-by: Sean V Kelley <seanvk@posteo.de>

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
Test 1
3
 
- Initialize & Terminate
4
 
- vaGetDisplay, vaInitialize, vaTerminate
5
 
 
6
 
Test 2
7
 
- Query profiles
8
 
- vaQueryConfigProfiles, vaMaxNumProfiles
9
 
 
10
 
Test 3
11
 
- Query Entrypoints for all profiles
12
 
- vaQueryConfigEntryPoints, vaMaxNumEntryPoints
13
 
 
14
 
Test 4
15
 
- Get Config attributes for all profiles / entrypoints
16
 
- vaGetConfigAttributes
17
 
 
18
 
Test 5
19
 
- Create & destroy config for each profile / entrypoint
20
 
- vaCreateConfig, vaDestroyConfig
21
 
 
22
 
Test 6
23
 
- Get config attributes of various possible configs
24
 
- vaQueryConfigAttributes, vaMaxNumConfigAttributes
25
 
- Check if results for vaGetConfigAttributes match with vaQueryConfigAttributes for
26
 
a given profile / entrypoint
27
 
 
28
 
Test 7
29
 
- Create and destroy surfaces
30
 
- vaCreateSurfaces, vaDestroySurface
31
 
- Create surfaces of 352 x 288 pixels
32
 
- Create 1, 4 and 16 surfaces, destroy 4, create 6 surfaces, destroy 16, 1
33
 
and 6 surfaces.
34
 
 
35
 
Test 8
36
 
- Create and destroy surfaces of different sizes
37
 
- Create surfaces of 10 x 10 pixels, 128 x 128 pixels, 176 x 144 pixels, 144 x 176
38
 
pixels, 352 x 288 pixels, 399 x 299 pixels, 640 x 480 pixels, 1280 x 720
39
 
pixels
40
 
 
41
 
Test 9
42
 
- Create and destroy a context for each profile / entrypoint
43
 
- Pass 4 surfaces of 352 x 288 pixels
44
 
- vaCreateContext, vaDestroyContext
45
 
- See also Test 5
46
 
 
47
 
Test 10
48
 
- Create and destroy buffers
49
 
- vaCreateBuffer, vaDestroyBuffer
50
 
- For each different buffertype, create a buffer, then destroy them one by
51
 
one.
52
 
 
53
 
Test 11
54
 
- Map & unmap buffers
55
 
- vaBufferData, vaMapBuffer, vaUnmapBuffer
56
 
- For each different buffertype, copy data to the buffer with vaBufferData.
57
 
Then map the buffer and verify the contents of the buffer.
58
 
 
59
 
Test 12
60
 
- Render single MPEG2 I-frame
61
 
- vaBeginPicture, vaRenderPicture (num_buffers == 1), vaEndPicture
62
 
 
63
 
Test 13
64
 
- Render single MPEG2 I-frame, multiple buffer submission
65
 
- vaRenderPicture (num_buffers > 1)
66
 
 
67
 
Test 14
68
 
- Render single MPEG2 I-frame, split buffers
69
 
- Slice split over 2 buffers
70
 
 
71
 
Test 15
72
 
- Render single MPEG2 I-frame, split buffers
73
 
- Slice split over 3 buffers
74
 
 
75
 
Test 16
76
 
- Sync Surface
77
 
- Render single MPEG2 I-frame, then check vaQuerySurfaceStatus, vaSyncSurface and vaQuerySurfaceStatus
78
 
 
79
 
Test 17
80
 
- Query image formats
81
 
- vaMaxNumImageFormats, vaQueryImageFormats
82
 
 
83
 
Test 18
84
 
- Create and destroy vaImage
85
 
- vaCreateImage, vaDestroyImage
86
 
 
87
 
Test 19
88
 
- Get image data
89
 
- Render single MPEG2 I-frame, copy surface data to image, check resulting
90
 
image
91
 
- vaGetImage
92
 
 
93
 
Test 20
94
 
- Put image data
95
 
- Render single MPEG2 I-frame, copy half of a VAImage to surface, copy
96
 
surface back to VAImage, check resulting image
97
 
- vaPutImage
98
 
 
99
 
Test 21
100
 
- Query subpicture formats
101
 
- vaMaxNumSubpictureFormats, vaQuerySubpictureFromats
102
 
 
103
 
Test 22
104
 
- Create and destory subpictures
105
 
- vaCreateSubpicture, vaDestroySubpicture
106