Home
last modified time | relevance | path

Searched refs:GLSLF (Results 1 - 10 of 10) sorted by relevance

/third_party/ffmpeg/libavfilter/
H A Dvf_avgblur_vulkan.c121 GLSLF(0, #define FILTER_RADIUS (%i) ,s->size_x - 1); in init_filter()
131 GLSLF(1, size = imageSize(output_img[%i]); ,i); in init_filter()
134 GLSLF(2, distort(pos, %i); ,i); in init_filter()
136 GLSLF(2, vec4 res = texture(input_img[%i], pos); ,i); in init_filter()
137 GLSLF(2, imageStore(output_img[%i], pos, res); ,i); in init_filter()
166 GLSLF(0, #define FILTER_RADIUS (%i) ,s->size_y - 1); in init_filter()
176 GLSLF(1, size = imageSize(output_img[%i]); ,i); in init_filter()
179 GLSLF(2, distort(pos, %i); ,i); in init_filter()
181 GLSLF(2, vec4 res = texture(input_img[%i], pos); ,i); in init_filter()
182 GLSLF( in init_filter()
[all...]
H A Dvf_flip_vulkan.c98 GLSLF(1, size = imageSize(output_image[%i]); ,i); in init_filter()
103 GLSLF(2, vec4 res = texture(input_image[%i], ivec2(size.x - pos.x, pos.y)); ,i); in init_filter()
106 GLSLF(2, vec4 res = texture(input_image[%i], ivec2(pos.x, size.y - pos.y)); ,i); in init_filter()
109 GLSLF(2, vec4 res = texture(input_image[%i], ivec2(size.xy - pos.xy));, i); in init_filter()
112 GLSLF(2, vec4 res = texture(input_image[%i], pos); ,i); in init_filter()
115 GLSLF(2, imageStore(output_image[%i], pos, res); ,i); in init_filter()
H A Dvf_scale_vulkan.c204 GLSLF(1, vec2 in_d = vec2(%i, %i); ,in->width, in->height); in init_filter()
205 GLSLF(1, vec2 c_r = vec2(%i, %i) / in_d; ,crop_w, crop_h); in init_filter()
206 GLSLF(1, vec2 c_o = vec2(%i, %i) / in_d; ,crop_x,crop_y); in init_filter()
211 GLSLF(1, size = imageSize(output_img[%i]); ,i); in init_filter()
216 GLSLF(2, vec4 res = scale_bilinear(%i, pos, c_r, c_o); ,i); in init_filter()
217 GLSLF(2, imageStore(output_img[%i], pos, res); ,i); in init_filter()
224 GLSLF(1, res = rgb2yuv(res, %i); ,s->out_range == AVCOL_RANGE_JPEG); in init_filter()
H A Dvf_transpose_vulkan.c95 GLSLF(1, size = imageSize(output_images[%i]); ,i); in init_filter()
98 GLSLF(2, vec4 res = texture(input_images[%i], ivec2(size.y - pos.y, pos.x)); ,i); in init_filter()
100 GLSLF(2, vec4 res = texture(input_images[%i], ivec2(size.yx - pos.yx)); ,i); in init_filter()
104 GLSLF(2, vec4 res = texture(input_images[%i], pos.yx); ,i); in init_filter()
105 GLSLF(2, imageStore(output_images[%i], pos, res); ,i); in init_filter()
H A Dvf_blend_vulkan.c199 GLSLF(1, size = imageSize(output_images[%i]); ,i); in init_filter()
201 GLSLF(2, const vec4 top = texture(top_images[%i], pos); ,i); in init_filter()
202 GLSLF(2, const vec4 bottom = texture(bottom_images[%i], pos); ,i); in init_filter()
203 GLSLF(2, const float opacity = %f; ,s->params[i].opacity); in init_filter()
204 GLSLF(2, vec4 dst = %s(top, bottom, opacity); ,s->params[i].blend); in init_filter()
206 GLSLF(2, imageStore(output_images[%i], pos, dst); ,i); in init_filter()
H A Dvf_chromaber_vulkan.c144 GLSLF(1, size = imageSize(output_img[%i]); ,i); in init_filter()
146 GLSLF(2, distort_chroma(%i, size, pos); ,i); in init_filter()
149 GLSLF(2, res = texture(input_img[%i], npos); ,i); in init_filter()
150 GLSLF(2, imageStore(output_img[%i], pos, res); ,i); in init_filter()
H A Dvf_gblur_vulkan.c160 GLSLF(1, size = imageSize(output_images[%i]); ,i); in init_gblur_pipeline()
163 GLSLF(2, gblur(pos, %i); ,i); in init_gblur_pipeline()
165 GLSLF(2, vec4 res = texture(input_images[%i], pos); ,i); in init_gblur_pipeline()
166 GLSLF(2, imageStore(output_images[%i], pos, res); ,i); in init_gblur_pipeline()
H A Dvf_overlay_vulkan.c157 GLSLF(1, int planes = %i; ,planes); in init_filter()
/third_party/ffmpeg/libavutil/
H A Dvulkan.h46 #define GLSLF(N, S, ...) av_bprintf(&shd->src, C(N, S), __VA_ARGS__) macro
H A Dvulkan.c809 GLSLF(0, #version %i ,460); in FN_CREATING()

Completed in 9 milliseconds