MCPcopy Index your code
hub / github.com/ColmapView/Colmapview.github.io / createPsnrImageFixtureFiles

Function createPsnrImageFixtureFiles

e2e/webgpu-psnr-app.spec.ts:86–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84const TEST_IMAGE_PNG_BASE64 = createSolidPngBase64(EXPECTED_RENDER_WIDTH, EXPECTED_RENDER_HEIGHT, [12, 18, 24, 255]);
85
86function createPsnrImageFixtureFiles(): TestDatasetFileEntry[] {
87 return [
88 {
89 relativePath: 'images/photo.jpg',
90 name: 'photo.jpg',
91 base64: TEST_IMAGE_PNG_BASE64,
92 },
93 {
94 relativePath: 'images/photo-2.jpg',
95 name: 'photo-2.jpg',
96 base64: TEST_IMAGE_PNG_BASE64,
97 },
98 ];
99}
100
101function createPsnrFixtureFiles(): TestDatasetFileEntry[] {
102 return [

Callers 2

createPsnrFixtureFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected