How can I get some full test cases of Cobalt 360 Spherical Video and a description of the. msh file format

166 Views Asked by At

I want enable Spherical Video on my board. Now I need some test cases to test if my design is right. The filter will have the following CSS syntax:

map-to-mesh() = map-to-mesh(<mesh-spec>, <angle>{2}, <transform-function>[ ,
<stereo-mode>])
<mesh-spec> = equirectangular | <uri> [<number> <number> <uri>]*

For example:

.mesh-projection {
filter: map-to-mesh(url(projection.msh), 100deg 60deg,
matrix3d(1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1),
monoscopic);
}
1

There are 1 best solutions below

0
On

We have no isolated test cases for the CSS Spherical filter extension but it is available on the YouTube product, https://youtube.com/tv. You can verify your implementation using the app, and there is a reference decode target implementation on linux-x64x11 port. https://cobalt.googlesource.com/cobalt/+/master/src/starboard/linux/shared/