GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — reframe360XL/KernelDebugHelper.cpp at master · sctg-development/reframe360XL

Expand file tree

/

KernelDebugHelper.cpp

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
29 lines (26 loc) · 1.13 KB
/

KernelDebugHelper.cpp

Copy path

File metadata and controls

29 lines (26 loc) · 1.13 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include <stdio.h>
#include "KernelDebugHelper.h"
void ComputePrintDebugInformations(const char *KenelType, int p_inputFormat, int p_Width, int p_Height, float* p_Fov, float* p_Tinyplanet, float* p_Rectilinear, float* p_RotMat, int p_Samples, bool p_Bilinear)
{
#ifdef DEBUG
const int numberOfLines = 3;
const int numberColumns = 3;
int row, column;
fprintf(stdout, "%sKernel Working for format:%d, W:%d H:%d samples:%d bilinear:%d \n",KenelType, p_inputFormat, p_Width,p_Height,p_Samples,p_Bilinear);
for (int run=0;run<p_Samples;run++)
{
fprintf(stdout,"\tRun %d\n",run);
fprintf(stdout, "fov:%2.6f tinyplanet:%2.6f rectilinear:%2.6f \n",p_Fov[run], p_Tinyplanet[run], p_Rectilinear[run] );
fprintf(stdout,"\trotMat[%d]\n",run);
for (row=0; row<numberOfLines; row++)
{
fprintf(stdout,"\t :");
for(column=0; column<numberColumns; column++)
{
printf("%*2.4f ", 6, p_RotMat[row*numberColumns+column+numberOfLines*numberColumns*run]);
}
fprintf(stdout,"\n");
}
}
#endif
}
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.