Skip to content
Snippets Groups Projects
Commit b981c364 authored by Martin Pulec's avatar Martin Pulec Committed by Martin Pulec
Browse files

Updates of CESNET plugin

- fixed permissions of scripts
- print failed CUDA command
parent dfd8e7f5
No related branches found
No related tags found
No related merge requests found
...@@ -146,7 +146,7 @@ void cesnet_set_render_buffer_rgba(unsigned char *rgba, int width, int height) { ...@@ -146,7 +146,7 @@ void cesnet_set_render_buffer_rgba(unsigned char *rgba, int width, int height) {
#else #else
#define CUDA_CHECK(cmd) do { cudaError_t err = cmd; if (err != cudaSuccess) { fprintf(stderr, "%s\n", cudaGetErrorString(err)); } } while(0) #define CUDA_CHECK(cmd) do { cudaError_t err = cmd; if (err != cudaSuccess) { fprintf(stderr, "%s: %s\n", #cmd, cudaGetErrorString(err)); } } while(0)
// rendering buffer - results in YUV I420 format // rendering buffer - results in YUV I420 format
void cesnet_set_render_buffer_yuv_i420(unsigned char *y, unsigned char *u, unsigned char *v, int width, int height) { void cesnet_set_render_buffer_yuv_i420(unsigned char *y, unsigned char *u, unsigned char *v, int width, int height) {
//printf("cesnet_set_render_buffer_yuv_i420: %d %d %d\n", y[0], u[0], v[0]); //printf("cesnet_set_render_buffer_yuv_i420: %d %d %d\n", y[0], u[0], v[0]);
......
File mode changed from 100644 to 100755
#!/bin/sh -eu #!/bin/sh -eu
ultragrid/bin/uv -t cuda -c GPUJPEG $1 ultragrid/bin/uv -t cuda -c GPUJPEG ${1?receiver address needs to be set as a first parameter}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment