GLSLC 121 libavfilter/vf_avgblur_vulkan.c GLSLC(0, #define INC(x) (ivec2(x, 0)) ); GLSLC 122 libavfilter/vf_avgblur_vulkan.c GLSLC(0, #define DIR(var) (var.x) ); GLSLC 124 libavfilter/vf_avgblur_vulkan.c GLSLC(0, void main() ); GLSLC 125 libavfilter/vf_avgblur_vulkan.c GLSLC(0, { ); GLSLC 126 libavfilter/vf_avgblur_vulkan.c GLSLC(1, ivec2 size; ); GLSLC 127 libavfilter/vf_avgblur_vulkan.c GLSLC(1, const ivec2 pos = ivec2(gl_GlobalInvocationID.xy); ); GLSLC 129 libavfilter/vf_avgblur_vulkan.c GLSLC(0, ); GLSLC 131 libavfilter/vf_avgblur_vulkan.c GLSLC(1, if (IS_WITHIN(pos, size)) { ); GLSLC 138 libavfilter/vf_avgblur_vulkan.c GLSLC(1, } ); GLSLC 140 libavfilter/vf_avgblur_vulkan.c GLSLC(0, } ); GLSLC 164 libavfilter/vf_avgblur_vulkan.c GLSLC(0, #define INC(x) (ivec2(0, x)) ); GLSLC 165 libavfilter/vf_avgblur_vulkan.c GLSLC(0, #define DIR(var) (var.y) ); GLSLC 167 libavfilter/vf_avgblur_vulkan.c GLSLC(0, void main() ); GLSLC 168 libavfilter/vf_avgblur_vulkan.c GLSLC(0, { ); GLSLC 169 libavfilter/vf_avgblur_vulkan.c GLSLC(1, ivec2 size; ); GLSLC 170 libavfilter/vf_avgblur_vulkan.c GLSLC(1, const ivec2 pos = ivec2(gl_GlobalInvocationID.xy); ); GLSLC 172 libavfilter/vf_avgblur_vulkan.c GLSLC(0, ); GLSLC 174 libavfilter/vf_avgblur_vulkan.c GLSLC(1, if (IS_WITHIN(pos, size)) { ); GLSLC 181 libavfilter/vf_avgblur_vulkan.c GLSLC(1, } ); GLSLC 183 libavfilter/vf_avgblur_vulkan.c GLSLC(0, } ); GLSLC 120 libavfilter/vf_chromaber_vulkan.c GLSLC(0, layout(push_constant, std430) uniform pushConstants { ); GLSLC 121 libavfilter/vf_chromaber_vulkan.c GLSLC(1, vec2 dist; ); GLSLC 122 libavfilter/vf_chromaber_vulkan.c GLSLC(0, }; ); GLSLC 123 libavfilter/vf_chromaber_vulkan.c GLSLC(0, ); GLSLC 131 libavfilter/vf_chromaber_vulkan.c GLSLC(0, void main() ); GLSLC 132 libavfilter/vf_chromaber_vulkan.c GLSLC(0, { ); GLSLC 133 libavfilter/vf_chromaber_vulkan.c GLSLC(1, ivec2 pos = ivec2(gl_GlobalInvocationID.xy); ); GLSLC 135 libavfilter/vf_chromaber_vulkan.c GLSLC(1, distort_rgb(imageSize(output_img[0]), pos); ); GLSLC 137 libavfilter/vf_chromaber_vulkan.c GLSLC(1, ivec2 size = imageSize(output_img[0]); ); GLSLC 138 libavfilter/vf_chromaber_vulkan.c GLSLC(1, vec2 npos = vec2(pos)/vec2(size); ); GLSLC 139 libavfilter/vf_chromaber_vulkan.c GLSLC(1, vec4 res = texture(input_img[0], npos); ); GLSLC 140 libavfilter/vf_chromaber_vulkan.c GLSLC(1, imageStore(output_img[0], pos, res); ); GLSLC 142 libavfilter/vf_chromaber_vulkan.c GLSLC(0, ); GLSLC 144 libavfilter/vf_chromaber_vulkan.c GLSLC(1, if (IS_WITHIN(pos, size)) { ); GLSLC 146 libavfilter/vf_chromaber_vulkan.c GLSLC(1, } else { ); GLSLC 147 libavfilter/vf_chromaber_vulkan.c GLSLC(2, npos = vec2(pos)/vec2(size); ); GLSLC 150 libavfilter/vf_chromaber_vulkan.c GLSLC(1, } ); GLSLC 153 libavfilter/vf_chromaber_vulkan.c GLSLC(0, } ); GLSLC 152 libavfilter/vf_overlay_vulkan.c GLSLC(0, void main() ); GLSLC 153 libavfilter/vf_overlay_vulkan.c GLSLC(0, { ); GLSLC 154 libavfilter/vf_overlay_vulkan.c GLSLC(1, ivec2 pos = ivec2(gl_GlobalInvocationID.xy); ); GLSLC 156 libavfilter/vf_overlay_vulkan.c GLSLC(1, for (int i = 0; i < planes; i++) { ); GLSLC 158 libavfilter/vf_overlay_vulkan.c GLSLC(2, overlay_alpha_opaque(i, pos); ); GLSLC 160 libavfilter/vf_overlay_vulkan.c GLSLC(2, overlay_noalpha(i, pos); ); GLSLC 161 libavfilter/vf_overlay_vulkan.c GLSLC(1, } ); GLSLC 162 libavfilter/vf_overlay_vulkan.c GLSLC(0, } ); GLSLC 197 libavfilter/vf_scale_vulkan.c GLSLC(0, void main() ); GLSLC 198 libavfilter/vf_scale_vulkan.c GLSLC(0, { ); GLSLC 199 libavfilter/vf_scale_vulkan.c GLSLC(1, ivec2 size; ); GLSLC 200 libavfilter/vf_scale_vulkan.c GLSLC(1, ivec2 pos = ivec2(gl_GlobalInvocationID.xy); ); GLSLC 204 libavfilter/vf_scale_vulkan.c GLSLC(0, ); GLSLC 209 libavfilter/vf_scale_vulkan.c GLSLC(1, if (IS_WITHIN(pos, size)) { ); GLSLC 217 libavfilter/vf_scale_vulkan.c GLSLC(1, } ); GLSLC 220 libavfilter/vf_scale_vulkan.c GLSLC(1, vec4 res = scale_bilinear(0, pos, c_r, c_o); ); GLSLC 223 libavfilter/vf_scale_vulkan.c case AV_PIX_FMT_NV12: GLSLC(1, write_nv12(res, pos); ); break; GLSLC 224 libavfilter/vf_scale_vulkan.c case AV_PIX_FMT_YUV420P: GLSLC(1, write_420(res, pos); ); break; GLSLC 225 libavfilter/vf_scale_vulkan.c case AV_PIX_FMT_YUV444P: GLSLC(1, write_444(res, pos); ); break; GLSLC 230 libavfilter/vf_scale_vulkan.c GLSLC(0, } ); GLSLC 903 libavfilter/vulkan.c GLSLC(0, #define IS_WITHIN(v1, v2) ((v1.x < v2.x) && (v1.y < v2.y)) ); GLSLC 904 libavfilter/vulkan.c GLSLC(0, ); GLSLC 41 libavfilter/vulkan.h #define GLSLD(D) GLSLC(0, ); \ GLSLC 43 libavfilter/vulkan.h GLSLC(0, )