Advertisement
Guest User

Untitled

a guest
Sep 11th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.92 KB | None | 0 0
  1. [ 0.010][v][cplayer] mpv 0.26.0-238-g9cb7f87b86 (C) 2000-2017 mpv/MPlayer/mplayer2 projects
  2. [ 0.010][v][cplayer] built on Sat Sep 9 16:34:23 UTC 2017
  3. [ 0.010][v][cplayer] ffmpeg library versions:
  4. [ 0.010][v][cplayer] libavutil 55.74.100
  5. [ 0.010][v][cplayer] libavcodec 57.105.100
  6. [ 0.010][v][cplayer] libavformat 57.81.100
  7. [ 0.010][v][cplayer] libswscale 4.7.103
  8. [ 0.010][v][cplayer] libavfilter 6.103.100
  9. [ 0.010][v][cplayer] libswresample 2.8.100
  10. [ 0.010][v][cplayer] ffmpeg version: git-2017-09-08-8043d8eb
  11. [ 0.010][v][cplayer]
  12. [ 0.010][v][cplayer] Configuration: /home/shinchiro/mpv/build/build64/packages/mpv-prefix/src/mpv/waf configure --enable-static-build --enable-pdf-build --enable-encoding --disable-manpage-build --disable-debug-build --enable-libmpv-shared --enable-lua --enable-javascript --enable-libarchive --enable-libass --enable-libbluray --enable-dvdread --enable-dvdnav --enable-uchardet --enable-rubberband --enable-lcms2 --enable-openal --enable-egl-angle-lib --prefix=/home/shinchiro/mpv/build/build64/install/mingw
  13. [ 0.010][v][cplayer] List of enabled features: asm atomics avutil-content-light-level avutil-icc-profile avutil-imgcpy-uc avutil-spherical build-date cplayer cuda-hwaccel d3d-hwaccel d3d-hwaccel-new d3d9-hwaccel direct3d dos-paths dvdnav dvdread dvdread-common egl-angle egl-angle-lib egl-angle-win32 egl-helpers encoding gl gl-dxinterop gl-dxinterop-d3d9 gl-win32 glob glob-win32 gnuc iconv is_ffmpeg javascript jpeg lcms2 libarchive libass libass-osd libav libavcodec libavdevice libbluray libm libmpv-shared lua luajit mingw noexecstack openal optimize plain-gl posix-or-mingw rubberband static-build stdatomic uchardet wasapi win32-desktop win32-internal-pthreads win32-pipes zlib
  14. [ 0.010][v][osc] Loading lua script @osc.lua...
  15. [ 0.011][v][osc] loading mp.defaults
  16. [ 0.011][v][osc] loading @osc.lua
  17. [ 0.013][v][cplayer] Run command: define-section, flags=0, args=[showhide, mouse_move script-binding osc/__keybinding1
  18. [ 0.013][v][cplayer] mouse_leave script-binding osc/__keybinding2
  19. [ 0.013][v][cplayer] , force]
  20. [ 0.014][v][cplayer] Run command: enable-section, flags=0, args=[showhide, allow-hide-cursor+allow-vo-dragging]
  21. [ 0.014][v][cplayer] Run command: define-section, flags=0, args=[input, mbtn_left script-binding osc/__keybinding3
  22. [ 0.014][v][cplayer] shift+mbtn_left script-binding osc/__keybinding4
  23. [ 0.014][v][cplayer] mbtn_right script-binding osc/__keybinding5
  24. [ 0.014][v][cplayer] wheel_up script-binding osc/__keybinding6
  25. [ 0.014][v][cplayer] wheel_down script-binding osc/__keybinding7
  26. [ 0.014][v][cplayer] mbtn_left_dbl ignore
  27. [ 0.014][v][cplayer] shift+mbtn_left_dbl ignore
  28. [ 0.014][v][cplayer] mbtn_right_dbl ignore
  29. [ 0.014][v][cplayer] , force]
  30. [ 0.014][v][cplayer] Run command: enable-section, flags=0, args=[input, ]
  31. [ 0.014][v][cplayer] Run command: define-section, flags=0, args=[input_osc, del script-binding osc/__keybinding8
  32. [ 0.014][v][cplayer] , default]
  33. [ 0.014][v][cplayer] Run command: enable-section, flags=0, args=[input_osc, allow-hide-cursor+allow-vo-dragging]
  34. [ 0.014][v][cplayer] Run command: define-section, flags=0, args=[input_forced_osc, , force]
  35. [ 0.014][v][cplayer] Run command: enable-section, flags=0, args=[input_forced_osc, allow-hide-cursor+allow-vo-dragging]
  36. [ 0.014][v][cplayer] Done loading @osc.lua.
  37. [ 0.014][v][ytdl_hook] Loading lua script @ytdl_hook.lua...
  38. [ 0.014][v][ytdl_hook] loading mp.defaults
  39. [ 0.014][v][cplayer] Run command: disable-section, flags=0, args=[input]
  40. [ 0.015][v][ytdl_hook] loading @ytdl_hook.lua
  41. [ 0.015][v][ytdl_hook] lua-settings/ytdl_hook.conf not found.
  42. [ 0.015][v][cplayer] Run command: hook-add, flags=0, args=[on_load, 1, 10]
  43. [ 0.015][v][cplayer] Run command: hook-add, flags=0, args=[on_preloaded, 2, 10]
  44. [ 0.015][v][cplayer] Done loading @ytdl_hook.lua.
  45. [ 0.015][v][osd/libass] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 1.5.1 (COMPLEX)
  46. [ 0.016][v][osd/libass] Setting up fonts...
  47. [ 0.016][v][stats] Loading lua script C:/Users/anon/Desktop/mpv/scripts/stats.lua...
  48. [ 0.016][v][stats] loading mp.defaults
  49. [ 0.017][v][stats] loading file C:/Users/anon/Desktop/mpv/scripts/stats.lua
  50. [ 0.018][v][stats] lua-settings/stats.conf not found.
  51. [ 0.019][v][cplayer] Run command: define-section, flags=0, args=[input_stats, i script-binding stats/display-stats
  52. [ 0.019][v][cplayer] , default]
  53. [ 0.019][v][cplayer] Run command: enable-section, flags=0, args=[input_stats, allow-hide-cursor+allow-vo-dragging]
  54. [ 0.019][v][cplayer] Run command: define-section, flags=0, args=[input_forced_stats, , force]
  55. [ 0.019][v][cplayer] Run command: enable-section, flags=0, args=[input_forced_stats, allow-hide-cursor+allow-vo-dragging]
  56. [ 0.019][v][cplayer] Run command: define-section, flags=0, args=[input_stats, i script-binding stats/display-stats
  57. [ 0.019][v][cplayer] , default]
  58. [ 0.019][v][cplayer] Run command: enable-section, flags=0, args=[input_stats, allow-hide-cursor+allow-vo-dragging]
  59. [ 0.019][v][cplayer] Run command: define-section, flags=0, args=[input_forced_stats, , force]
  60. [ 0.019][v][cplayer] Run command: enable-section, flags=0, args=[input_forced_stats, allow-hide-cursor+allow-vo-dragging]
  61. [ 0.019][v][cplayer] Run command: define-section, flags=0, args=[input_stats, i script-binding stats/display-stats
  62. [ 0.019][v][cplayer] , default]
  63. [ 0.019][v][cplayer] Run command: enable-section, flags=0, args=[input_stats, allow-hide-cursor+allow-vo-dragging]
  64. [ 0.019][v][cplayer] Run command: define-section, flags=0, args=[input_forced_stats, , force]
  65. [ 0.019][v][cplayer] Run command: enable-section, flags=0, args=[input_forced_stats, allow-hide-cursor+allow-vo-dragging]
  66. [ 0.019][v][cplayer] Run command: define-section, flags=0, args=[input_stats, i script-binding stats/display-stats
  67. [ 0.019][v][cplayer] , default]
  68. [ 0.019][v][cplayer] Run command: enable-section, flags=0, args=[input_stats, allow-hide-cursor+allow-vo-dragging]
  69. [ 0.019][v][cplayer] Run command: define-section, flags=0, args=[input_forced_stats, , force]
  70. [ 0.019][v][cplayer] Run command: enable-section, flags=0, args=[input_forced_stats, allow-hide-cursor+allow-vo-dragging]
  71. [ 0.019][v][cplayer] Run command: define-section, flags=0, args=[input_stats, I script-binding stats/display-stats-toggle
  72. [ 0.019][v][cplayer] i script-binding stats/display-stats
  73. [ 0.019][v][cplayer] , default]
  74. [ 0.019][v][cplayer] Run command: enable-section, flags=0, args=[input_stats, allow-hide-cursor+allow-vo-dragging]
  75. [ 0.019][v][cplayer] Run command: define-section, flags=0, args=[input_forced_stats, , force]
  76. [ 0.019][v][cplayer] Run command: enable-section, flags=0, args=[input_forced_stats, allow-hide-cursor+allow-vo-dragging]
  77. [ 0.019][v][cplayer] Done loading C:/Users/anon/Desktop/mpv/scripts/stats.lua.
  78. [ 0.019][v][osd/libass] Using font provider directwrite
  79. [ 0.019][v][osd/libass] Done.
  80. [ 0.019][i][cplayer] Playing: E:\Downloads\sharing folders in vmware workstation windows and linux).mp4
  81. [ 0.019][v][cplayer] Running hook: ytdl_hook/on_load
  82. [ 0.019][v][cplayer] Run command: hook-ack, flags=0, args=[on_load]
  83. [ 0.020][v][ifo] Opening E:\Downloads\sharing folders in vmware workstation windows and linux).mp4
  84. [ 0.020][v][ifo_dvdnav] Opening E:\Downloads\sharing folders in vmware workstation windows and linux).mp4
  85. [ 0.020][v][bdmv/bluray] Opening E:\Downloads\sharing folders in vmware workstation windows and linux).mp4
  86. [ 0.020][v][file] Opening E:\Downloads\sharing folders in vmware workstation windows and linux).mp4
  87. [ 0.020][v][file] Stream opened successfully.
  88. [ 0.020][v][cache] no backbuffer needed
  89. [ 0.020][v][cache] Cache size set to 14412 KiB (32 KiB backbuffer)
  90. [ 0.020][v][demux] Trying demuxers for level=normal.
  91. [ 0.022][v][lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
  92. [ 0.025][v][demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
  93. [ 0.025][v][cache] blocking for STREAM_CTRL 6
  94. [ 0.033][v][cplayer] Opening done: E:\Downloads\sharing folders in vmware workstation windows and linux).mp4
  95. [ 0.033][v][find_files] Loading external files in E:\Downloads\
  96. [ 0.058][v][cplayer] Running hook: ytdl_hook/on_preloaded
  97. [ 0.058][v][cplayer] Run command: hook-ack, flags=0, args=[on_preloaded]
  98. [ 0.058][i][cplayer] (+) Video --vid=1 (*) (h264 1280x720 30.000fps)
  99. [ 0.058][i][cplayer] (+) Audio --aid=1 --alang=und (*) (aac 2ch 44100Hz)
  100. [ 0.059][v][vo/opengl] Initializing OpenGL backend 'dxinterop'
  101. [ 0.126][v][cache] EOF reached.
  102. [ 1.200][v][vo/opengl] GL_VERSION='4.5.0 NVIDIA 385.28'
  103. [ 1.200][v][vo/opengl] Detected desktop OpenGL 4.5.
  104. [ 1.200][v][vo/opengl] GL_VENDOR='NVIDIA Corporation'
  105. [ 1.200][v][vo/opengl] GL_RENDERER='GeForce GTX 1080/PCIe/SSE2'
  106. [ 1.200][v][vo/opengl] GL_SHADING_LANGUAGE_VERSION='4.50 NVIDIA'
  107. [ 1.201][v][vo/opengl] Loaded extension WGL_EXT_swap_control.
  108. [ 1.201][v][vo/opengl] Loaded extension WGL_NV_DX_interop.
  109. [ 1.239][v][vo/opengl] DX_interop backbuffer size: 1x1
  110. [ 1.239][v][vo/opengl] DX_interop backbuffer format: 22
  111. [ 1.242][v][vo/opengl] DX_interop backbuffer size: 1x1
  112. [ 1.242][v][vo/opengl] DX_interop backbuffer format: 22
  113. [ 1.243][v][vo/opengl] Direct3D device reset
  114. [ 1.244][v][vo/opengl] Opening ICC profile 'C:/Users/anon/Desktop/mpv/icc/dell_u2515h.icc'
  115. [ 1.244][v][ifo] Opening C:/Users/anon/Desktop/mpv/icc/dell_u2515h.icc
  116. [ 1.244][v][ifo_dvdnav] Opening C:/Users/anon/Desktop/mpv/icc/dell_u2515h.icc
  117. [ 1.244][v][bdmv/bluray] Opening C:/Users/anon/Desktop/mpv/icc/dell_u2515h.icc
  118. [ 1.244][v][file] Opening C:/Users/anon/Desktop/mpv/icc/dell_u2515h.icc
  119. [ 1.244][v][file] Stream opened successfully.
  120. [ 1.244][v][vo/opengl] Testing FBO format rgba16
  121. [ 1.244][v][vo/opengl] Create FBO: 16x16 (16x16)
  122. [ 1.245][v][vo/opengl] Using FBO format rgba16.
  123. [ 1.245][v][ifo] Opening C:/Users/anon/Desktop/mpv/shaders/SSimSuperResSinglePass.glsl
  124. [ 1.245][v][ifo_dvdnav] Opening C:/Users/anon/Desktop/mpv/shaders/SSimSuperResSinglePass.glsl
  125. [ 1.245][v][bdmv/bluray] Opening C:/Users/anon/Desktop/mpv/shaders/SSimSuperResSinglePass.glsl
  126. [ 1.245][v][file] Opening C:/Users/anon/Desktop/mpv/shaders/SSimSuperResSinglePass.glsl
  127. [ 1.245][v][file] Stream opened successfully.
  128. [ 1.246][v][ifo] Opening C:\Users\anon\AppData\Roaming/mpv/KrigBilateral.glsl
  129. [ 1.246][v][ifo_dvdnav] Opening C:\Users\anon\AppData\Roaming/mpv/KrigBilateral.glsl
  130. [ 1.246][v][bdmv/bluray] Opening C:\Users\anon\AppData\Roaming/mpv/KrigBilateral.glsl
  131. [ 1.246][v][file] Opening C:\Users\anon\AppData\Roaming/mpv/KrigBilateral.glsl
  132. [ 1.246][e][file] Cannot open file 'C:\Users\anon\AppData\Roaming/mpv/KrigBilateral.glsl': No such file or directory
  133. [ 1.246][e][stream] Failed to open C:\Users\anon\AppData\Roaming/mpv/KrigBilateral.glsl.
  134. [ 1.246][v][vo/opengl] Reported display depth: 8
  135. [ 1.246][v][vo/opengl/win32] DPI detected from the new API: 96
  136. [ 1.247][v][vo/opengl/win32] display-fps: 59.951000
  137. [ 1.250][v][vo/opengl/win32] color-profile: C:\Windows\system32\spool\drivers\color\sRGB Color Space Profile.icm
  138. [ 1.250][v][vo/opengl] Assuming 59.951000 FPS for display sync.
  139. [ 1.250][v][vd] Container reported FPS: 30.000000
  140. [ 1.250][v][vd] Codec list:
  141. [ 1.250][v][vd] h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
  142. [ 1.250][v][vd] h264_cuvid (h264) - Nvidia CUVID H264 decoder
  143. [ 1.250][v][vd] Opening video decoder h264
  144. [ 1.250][v][vd] Using software decoding.
  145. [ 1.250][v][vd] Detected 16 logical cores.
  146. [ 1.250][v][vd] Requesting 16 threads for decoding.
  147. [ 1.252][v][vd] Selected video codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
  148. [ 1.252][v][ad] Codec list:
  149. [ 1.252][v][ad] aac - AAC (Advanced Audio Coding)
  150. [ 1.252][v][ad] aac_fixed (aac) - AAC (Advanced Audio Coding)
  151. [ 1.252][v][ad] Opening audio decoder aac
  152. [ 1.252][v][ad] Requesting 1 threads for decoding.
  153. [ 1.254][v][ad] Selected audio codec: aac (AAC (Advanced Audio Coding))
  154. [ 1.254][v][cplayer] Starting playback...
  155. [ 1.254][v][af] Audio filter chain:
  156. [ 1.254][v][af] [in] 44100Hz stereo 2ch floatp
  157. [ 1.254][v][af] [out] 44100Hz stereo 2ch floatp
  158. [ 1.254][v][af] [ao] 44100Hz stereo 2ch floatp
  159. [ 1.254][v][ao] Trying audio driver 'wasapi'
  160. [ 1.254][v][ao/wasapi] requested format: 44100 Hz, stereo channels, floatp
  161. [ 1.256][v][ao/wasapi] No device specified. Selecting default.
  162. [ 1.256][v][ao/wasapi] Selecting device '{07221de4-1b58-452f-8978-19cd8f7d15a9}' (Speakers (USB Modi Device))
  163. [ 1.256][v][ao/wasapi] Monitoring changes in device {0.0.0.00000000}.{07221de4-1b58-452f-8978-19cd8f7d15a9}
  164. [ 1.259][v][ao/wasapi] Trying stereo float (32/32 bits) @ 44100hz (shared) -> ok
  165. [ 1.259][v][ao/wasapi] Accepted as stereo float @ 44100hz -> stereo float (32/32 bits) @ 44100hz (shared)
  166. [ 1.260][v][ao/wasapi] Device period: 10 ms
  167. [ 1.263][v][ao/wasapi] Buffer frame count: 2205 (50 ms)
  168. [ 1.263][v][ao/wasapi] IAudioClock::GetFrequency gave a frequency of 352800.
  169. [ 1.264][v][ao/wasapi] device buffer: 2205 samples.
  170. [ 1.264][v][ao/wasapi] using soft-buffer of 8820 samples.
  171. [ 1.264][i][cplayer] AO: [wasapi] 44100Hz stereo 2ch float
  172. [ 1.264][v][cplayer] AO: Description: Windows WASAPI audio output (event mode)
  173. [ 1.264][v][af] Adding filter lavrresample
  174. [ 1.264][v][af] Audio filter chain:
  175. [ 1.265][v][af] [in] 44100Hz stereo 2ch floatp
  176. [ 1.265][v][af] [lavrresample] 44100Hz stereo 2ch float [a]
  177. [ 1.265][v][af] [out] 44100Hz stereo 2ch float
  178. [ 1.265][v][af] [ao] 44100Hz stereo 2ch float
  179. [ 1.265][v][cplayer] Inserting volume filter.
  180. [ 1.265][v][af] Adding filter volume
  181. [ 1.265][v][af] Setting option 'warn' = 'no' (flags = 0)
  182. [ 1.265][v][af] Removing filter lavrresample
  183. [ 1.265][v][af] Adding filter lavrresample
  184. [ 1.265][v][af] Audio filter chain:
  185. [ 1.265][v][af] [in] 44100Hz stereo 2ch floatp
  186. [ 1.265][v][af] [volume] "softvol" 44100Hz stereo 2ch floatp
  187. [ 1.265][v][af] [lavrresample] 44100Hz stereo 2ch float [a]
  188. [ 1.265][v][af] [out] 44100Hz stereo 2ch float
  189. [ 1.265][v][af] [ao] 44100Hz stereo 2ch float
  190. [ 1.265][v][volume] volume gain: 0.343000
  191. [ 1.265][v][ffmpeg/video] h264: Reinit context to 1280x720, pix_fmt: yuv420p
  192. [ 1.282][v][vd] Decoder format: 1280x720 yuv420p auto/auto/auto/auto CL=mpeg2/4/h264 (auto 0.000000/0.000000/0.000000)
  193. [ 1.282][v][vf] Video filter chain:
  194. [ 1.282][v][vf] [in] 1280x720 yuv420p bt.709/bt.709/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264
  195. [ 1.282][v][vf] [out] 1280x720 yuv420p bt.709/bt.709/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264
  196. [ 1.283][i][cplayer] VO: [opengl] 1280x720 yuv420p
  197. [ 1.283][v][cplayer] VO: Description: Extended OpenGL Renderer
  198. [ 1.283][v][vo/opengl/win32] reset window bounds: 632:329:1296:759
  199. [ 1.291][v][vo/opengl/win32] resize window: 1280:720
  200. [ 1.292][v][vo/opengl] Resize: 1280x720
  201. [ 1.292][v][vo/opengl] Window size: 1280x720
  202. [ 1.292][v][vo/opengl] Video source: 1280x720 (1:1)
  203. [ 1.292][v][vo/opengl] Video display: (0, 0) 1280x720 -> (0, 0) 1280x720
  204. [ 1.292][v][vo/opengl] Video scale: 1.000000/1.000000
  205. [ 1.292][v][vo/opengl] OSD borders: l=0 t=0 r=0 b=0
  206. [ 1.292][v][vo/opengl] Video borders: l=0 t=0 r=0 b=0
  207. [ 1.292][v][vo/opengl] Testing FBO format rgba16
  208. [ 1.292][v][vo/opengl] Create FBO: 16x16 (16x16)
  209. [ 1.293][v][vo/opengl] Using FBO format rgba16.
  210. [ 1.293][v][vo/opengl] Texture for plane 0: 1280x720
  211. [ 1.293][v][vo/opengl] Texture for plane 1: 640x360
  212. [ 1.293][v][vo/opengl] Texture for plane 2: 640x360
  213. [ 1.293][v][ifo] Opening C:\Users\anon\AppData\Roaming/mpv/KrigBilateral.glsl
  214. [ 1.293][v][ifo_dvdnav] Opening C:\Users\anon\AppData\Roaming/mpv/KrigBilateral.glsl
  215. [ 1.293][v][bdmv/bluray] Opening C:\Users\anon\AppData\Roaming/mpv/KrigBilateral.glsl
  216. [ 1.293][v][file] Opening C:\Users\anon\AppData\Roaming/mpv/KrigBilateral.glsl
  217. [ 1.293][e][file] Cannot open file 'C:\Users\anon\AppData\Roaming/mpv/KrigBilateral.glsl': No such file or directory
  218. [ 1.293][e][stream] Failed to open C:\Users\anon\AppData\Roaming/mpv/KrigBilateral.glsl.
  219. [ 1.298][v][vo/opengl] DX_interop backbuffer size: 1280x720
  220. [ 1.298][v][vo/opengl] DX_interop backbuffer format: 22
  221. [ 1.299][v][vo/opengl] Direct3D device reset
  222. [ 1.299][v][vo/opengl] Resize: 1280x720
  223. [ 1.299][v][vo/opengl] Window size: 1280x720
  224. [ 1.299][v][vo/opengl] Video source: 1280x720 (1:1)
  225. [ 1.299][v][vo/opengl] Video display: (0, 0) 1280x720 -> (0, 0) 1280x720
  226. [ 1.299][v][vo/opengl] Video scale: 1.000000/1.000000
  227. [ 1.299][v][vo/opengl] OSD borders: l=0 t=0 r=0 b=0
  228. [ 1.299][v][vo/opengl] Video borders: l=0 t=0 r=0 b=0
  229. [ 1.300][v][vo/opengl] Resized buffer pool to size 1
  230. [ 1.302][v][vo/opengl] Resized buffer pool to size 1
  231. [ 1.303][v][vo/opengl] Resized buffer pool to size 1
  232. [ 1.303][v][vo/opengl] Create FBO: 640x360 (640x360)
  233. [ 1.304][v][vo/opengl] new shader program:
  234. [ 1.304][v][vo/opengl] [ 1] // merging plane 1 ...
  235. [ 1.304][v][vo/opengl] [ 2] color.r = 1.000000 * vec4(texture(texture0, texcoord0)).r;
  236. [ 1.304][v][vo/opengl] [ 3] // merging plane 2 ... into 1
  237. [ 1.304][v][vo/opengl] [ 4] color.g = 1.000000 * vec4(texture(texture1, texcoord1)).r;
  238. [ 1.308][v][vo/opengl] Create FBO: 1280x720 (1280x720)
  239. [ 1.308][v][vo/opengl] new shader program:
  240. [ 1.308][v][vo/opengl] header:
  241. [ 1.308][v][vo/opengl] [ 1] #define HOOKED_raw texture0
  242. [ 1.308][v][vo/opengl] [ 2] #define HOOKED_pos texcoord0
  243. [ 1.308][v][vo/opengl] [ 3] #define HOOKED_size texture_size0
  244. [ 1.308][v][vo/opengl] [ 4] #define HOOKED_rot texture_rot0
  245. [ 1.308][v][vo/opengl] [ 5] #define HOOKED_pt pixel_size0
  246. [ 1.308][v][vo/opengl] [ 6] #define HOOKED_map texmap0
  247. [ 1.308][v][vo/opengl] [ 7] #define HOOKED_mul 1.000000
  248. [ 1.308][v][vo/opengl] [ 8] #define HOOKED_tex(pos) (HOOKED_mul * vec4(texture(HOOKED_raw, pos)).rgba)
  249. [ 1.308][v][vo/opengl] [ 9] #define HOOKED_texOff(off) HOOKED_tex(HOOKED_pos + HOOKED_pt * vec2(off))
  250. [ 1.308][v][vo/opengl] [ 10] #define LUMA_raw texture0
  251. [ 1.308][v][vo/opengl] [ 11] #define LUMA_pos texcoord0
  252. [ 1.308][v][vo/opengl] [ 12] #define LUMA_size texture_size0
  253. [ 1.308][v][vo/opengl] [ 13] #define LUMA_rot texture_rot0
  254. [ 1.308][v][vo/opengl] [ 14] #define LUMA_pt pixel_size0
  255. [ 1.308][v][vo/opengl] [ 15] #define LUMA_map texmap0
  256. [ 1.308][v][vo/opengl] [ 16] #define LUMA_mul 1.000000
  257. [ 1.308][v][vo/opengl] [ 17] #define LUMA_tex(pos) (LUMA_mul * vec4(texture(LUMA_raw, pos)).rgba)
  258. [ 1.308][v][vo/opengl] [ 18] #define LUMA_texOff(off) LUMA_tex(LUMA_pos + LUMA_pt * vec2(off))
  259. [ 1.308][v][vo/opengl] [ 19] float mod289(float x) { return x - floor(x * 1.0/289.0) * 289.0; }
  260. [ 1.308][v][vo/opengl] [ 20] float permute(float x) { return mod289((34.0*x + 1.0) * x); }
  261. [ 1.308][v][vo/opengl] [ 21] float rand(float x) { return fract(x * 1.0/41.0); }
  262. [ 1.308][v][vo/opengl] [ 22] vec4 average(float range, inout float h) {
  263. [ 1.308][v][vo/opengl] [ 23] float dist = rand(h) * range; h = permute(h);
  264. [ 1.308][v][vo/opengl] [ 24] float dir = rand(h) * 6.2831853; h = permute(h);
  265. [ 1.308][v][vo/opengl] [ 25] vec2 o = dist * vec2(cos(dir), sin(dir));
  266. [ 1.308][v][vo/opengl] [ 26] vec4 ref[4];
  267. [ 1.308][v][vo/opengl] [ 27] ref[0] = HOOKED_texOff(vec2( o.x, o.y));
  268. [ 1.308][v][vo/opengl] [ 28] ref[1] = HOOKED_texOff(vec2(-o.y, o.x));
  269. [ 1.308][v][vo/opengl] [ 29] ref[2] = HOOKED_texOff(vec2(-o.x, -o.y));
  270. [ 1.308][v][vo/opengl] [ 30] ref[3] = HOOKED_texOff(vec2( o.y, -o.x));
  271. [ 1.308][v][vo/opengl] [ 31] return (ref[0] + ref[1] + ref[2] + ref[3])*0.25;
  272. [ 1.308][v][vo/opengl] [ 32] }
  273. [ 1.308][v][vo/opengl] body:
  274. [ 1.308][v][vo/opengl] [ 1] {
  275. [ 1.308][v][vo/opengl] [ 2] vec3 _m = vec3(HOOKED_pos, random) + vec3(1.0);
  276. [ 1.308][v][vo/opengl] [ 3] float h = permute(permute(permute(_m.x)+_m.y)+_m.z);
  277. [ 1.308][v][vo/opengl] [ 4] color = HOOKED_tex(HOOKED_pos);
  278. [ 1.308][v][vo/opengl] [ 5] vec4 avg, diff;
  279. [ 1.308][v][vo/opengl] [ 6] avg = average(16.000000, h);
  280. [ 1.308][v][vo/opengl] [ 7] diff = abs(color - avg);
  281. [ 1.308][v][vo/opengl] [ 8] color = mix(avg, color, greaterThan(diff, vec4(0.003906)));
  282. [ 1.308][v][vo/opengl] [ 9] vec3 noise;
  283. [ 1.308][v][vo/opengl] [ 10] noise.x = rand(h); h = permute(h);
  284. [ 1.308][v][vo/opengl] [ 11] noise.y = rand(h); h = permute(h);
  285. [ 1.308][v][vo/opengl] [ 12] noise.z = rand(h); h = permute(h);
  286. [ 1.308][v][vo/opengl] [ 13] color.xyz += 0.005859 * (noise - vec3(0.5));
  287. [ 1.308][v][vo/opengl] [ 14] }
  288. [ 1.308][v][vo/opengl] [ 15] color.g = 0.000000;
  289. [ 1.309][v][vo/opengl] [ 16] color.b = 0.000000;
  290. [ 1.309][v][vo/opengl] [ 17] color.a = 1.000000;
  291. [ 1.309][v][vo/opengl] Create FBO: 640x360 (640x360)
  292. [ 1.310][v][vo/opengl] new shader program:
  293. [ 1.310][v][vo/opengl] header:
  294. [ 1.310][v][vo/opengl] [ 1] #define HOOKED_raw texture0
  295. [ 1.310][v][vo/opengl] [ 2] #define HOOKED_pos texcoord0
  296. [ 1.310][v][vo/opengl] [ 3] #define HOOKED_size texture_size0
  297. [ 1.310][v][vo/opengl] [ 4] #define HOOKED_rot texture_rot0
  298. [ 1.310][v][vo/opengl] [ 5] #define HOOKED_pt pixel_size0
  299. [ 1.310][v][vo/opengl] [ 6] #define HOOKED_map texmap0
  300. [ 1.310][v][vo/opengl] [ 7] #define HOOKED_mul 1.000000
  301. [ 1.310][v][vo/opengl] [ 8] #define HOOKED_tex(pos) (HOOKED_mul * vec4(texture(HOOKED_raw, pos)).rgba)
  302. [ 1.310][v][vo/opengl] [ 9] #define HOOKED_texOff(off) HOOKED_tex(HOOKED_pos + HOOKED_pt * vec2(off))
  303. [ 1.310][v][vo/opengl] [ 10] #define CHROMA_raw texture0
  304. [ 1.310][v][vo/opengl] [ 11] #define CHROMA_pos texcoord0
  305. [ 1.310][v][vo/opengl] [ 12] #define CHROMA_size texture_size0
  306. [ 1.310][v][vo/opengl] [ 13] #define CHROMA_rot texture_rot0
  307. [ 1.310][v][vo/opengl] [ 14] #define CHROMA_pt pixel_size0
  308. [ 1.310][v][vo/opengl] [ 15] #define CHROMA_map texmap0
  309. [ 1.310][v][vo/opengl] [ 16] #define CHROMA_mul 1.000000
  310. [ 1.310][v][vo/opengl] [ 17] #define CHROMA_tex(pos) (CHROMA_mul * vec4(texture(CHROMA_raw, pos)).rgba)
  311. [ 1.310][v][vo/opengl] [ 18] #define CHROMA_texOff(off) CHROMA_tex(CHROMA_pos + CHROMA_pt * vec2(off))
  312. [ 1.310][v][vo/opengl] [ 19] float mod289(float x) { return x - floor(x * 1.0/289.0) * 289.0; }
  313. [ 1.310][v][vo/opengl] [ 20] float permute(float x) { return mod289((34.0*x + 1.0) * x); }
  314. [ 1.310][v][vo/opengl] [ 21] float rand(float x) { return fract(x * 1.0/41.0); }
  315. [ 1.310][v][vo/opengl] [ 22] vec4 average(float range, inout float h) {
  316. [ 1.310][v][vo/opengl] [ 23] float dist = rand(h) * range; h = permute(h);
  317. [ 1.310][v][vo/opengl] [ 24] float dir = rand(h) * 6.2831853; h = permute(h);
  318. [ 1.310][v][vo/opengl] [ 25] vec2 o = dist * vec2(cos(dir), sin(dir));
  319. [ 1.310][v][vo/opengl] [ 26] vec4 ref[4];
  320. [ 1.310][v][vo/opengl] [ 27] ref[0] = HOOKED_texOff(vec2( o.x, o.y));
  321. [ 1.310][v][vo/opengl] [ 28] ref[1] = HOOKED_texOff(vec2(-o.y, o.x));
  322. [ 1.310][v][vo/opengl] [ 29] ref[2] = HOOKED_texOff(vec2(-o.x, -o.y));
  323. [ 1.310][v][vo/opengl] [ 30] ref[3] = HOOKED_texOff(vec2( o.y, -o.x));
  324. [ 1.310][v][vo/opengl] [ 31] return (ref[0] + ref[1] + ref[2] + ref[3])*0.25;
  325. [ 1.310][v][vo/opengl] [ 32] }
  326. [ 1.310][v][vo/opengl] body:
  327. [ 1.310][v][vo/opengl] [ 1] {
  328. [ 1.310][v][vo/opengl] [ 2] vec3 _m = vec3(HOOKED_pos, random) + vec3(1.0);
  329. [ 1.310][v][vo/opengl] [ 3] float h = permute(permute(permute(_m.x)+_m.y)+_m.z);
  330. [ 1.310][v][vo/opengl] [ 4] color = HOOKED_tex(HOOKED_pos);
  331. [ 1.310][v][vo/opengl] [ 5] vec4 avg, diff;
  332. [ 1.310][v][vo/opengl] [ 6] avg = average(16.000000, h);
  333. [ 1.310][v][vo/opengl] [ 7] diff = abs(color - avg);
  334. [ 1.310][v][vo/opengl] [ 8] color = mix(avg, color, greaterThan(diff, vec4(0.003906)));
  335. [ 1.310][v][vo/opengl] [ 9] vec3 noise;
  336. [ 1.310][v][vo/opengl] [ 10] noise.x = rand(h); h = permute(h);
  337. [ 1.310][v][vo/opengl] [ 11] noise.y = rand(h); h = permute(h);
  338. [ 1.310][v][vo/opengl] [ 12] noise.z = rand(h); h = permute(h);
  339. [ 1.310][v][vo/opengl] [ 13] color.xyz += 0.005859 * (noise - vec3(0.5));
  340. [ 1.310][v][vo/opengl] [ 14] }
  341. [ 1.310][v][vo/opengl] [ 15] color.b = 0.000000;
  342. [ 1.310][v][vo/opengl] [ 16] color.a = 1.000000;
  343. [ 1.312][v][vo/opengl] Create FBO: 1280x720 (1280x720)
  344. [ 1.313][v][vo/opengl] new shader program:
  345. [ 1.313][v][vo/opengl] header:
  346. [ 1.313][v][vo/opengl] [ 1] shared float in0[12][24];
  347. [ 1.313][v][vo/opengl] [ 2] shared float in1[12][24];
  348. [ 1.313][v][vo/opengl] body:
  349. [ 1.313][v][vo/opengl] [ 1] // upscaling plane 1
  350. [ 1.313][v][vo/opengl] [ 2] #undef tex
  351. [ 1.313][v][vo/opengl] [ 3] #undef texmap
  352. [ 1.313][v][vo/opengl] [ 4] #define tex texture0
  353. [ 1.313][v][vo/opengl] [ 5] #define texmap texmap0
  354. [ 1.313][v][vo/opengl] [ 6] vec2 pos = texcoord0;
  355. [ 1.313][v][vo/opengl] [ 7] vec2 size = texture_size0;
  356. [ 1.313][v][vo/opengl] [ 8] vec2 pt = pixel_size0;
  357. [ 1.313][v][vo/opengl] [ 9] color = vec4(0.0);
  358. [ 1.313][v][vo/opengl] [ 10] {
  359. [ 1.313][v][vo/opengl] [ 11] vec2 wpos = texmap(gl_WorkGroupID * gl_WorkGroupSize);
  360. [ 1.313][v][vo/opengl] [ 12] vec2 wbase = wpos - pt * fract(wpos * size - vec2(0.5));
  361. [ 1.313][v][vo/opengl] [ 13] vec2 fcoord = fract(pos * size - vec2(0.5));
  362. [ 1.313][v][vo/opengl] [ 14] vec2 base = pos - pt * fcoord;
  363. [ 1.313][v][vo/opengl] [ 15] ivec2 rel = ivec2(round((base - wbase) * size));
  364. [ 1.313][v][vo/opengl] [ 16] float w, d, wsum = 0.0;
  365. [ 1.313][v][vo/opengl] [ 17] vec4 c;
  366. [ 1.313][v][vo/opengl] [ 18] for (int y = int(gl_LocalInvocationID.y); y < 12; y += 8) {
  367. [ 1.313][v][vo/opengl] [ 19] for (int x = int(gl_LocalInvocationID.x); x < 24; x += 32) {
  368. [ 1.313][v][vo/opengl] [ 20] c = texture(tex, wbase + pt * vec2(x - 3, y - 3));
  369. [ 1.313][v][vo/opengl] [ 21] in0[y][x] = c[0];
  370. [ 1.313][v][vo/opengl] [ 22] in1[y][x] = c[1];
  371. [ 1.313][v][vo/opengl] [ 23] }}
  372. [ 1.313][v][vo/opengl] [ 24] groupMemoryBarrier();
  373. [ 1.313][v][vo/opengl] [ 25] barrier();
  374. [ 1.313][v][vo/opengl] [ 26] // scaler samples
  375. [ 1.313][v][vo/opengl] [ 27] d = length(vec2(0.0, -3.0) - fcoord);
  376. [ 1.313][v][vo/opengl] [ 28] if (d < 3.032708) {
  377. [ 1.313][v][vo/opengl] [ 29] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  378. [ 1.313][v][vo/opengl] [ 30] wsum += w;
  379. [ 1.313][v][vo/opengl] [ 31] color[0] += w * in0[rel.y+0][rel.x+3];
  380. [ 1.313][v][vo/opengl] [ 32] color[1] += w * in1[rel.y+0][rel.x+3];
  381. [ 1.313][v][vo/opengl] [ 33] }
  382. [ 1.313][v][vo/opengl] [ 34] d = length(vec2(1.0, -3.0) - fcoord);
  383. [ 1.313][v][vo/opengl] [ 35] if (d < 3.032708) {
  384. [ 1.313][v][vo/opengl] [ 36] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  385. [ 1.313][v][vo/opengl] [ 37] wsum += w;
  386. [ 1.313][v][vo/opengl] [ 38] color[0] += w * in0[rel.y+0][rel.x+4];
  387. [ 1.313][v][vo/opengl] [ 39] color[1] += w * in1[rel.y+0][rel.x+4];
  388. [ 1.313][v][vo/opengl] [ 40] }
  389. [ 1.313][v][vo/opengl] [ 41] d = length(vec2(-2.0, -2.0) - fcoord);
  390. [ 1.313][v][vo/opengl] [ 42] if (d < 3.032708) {
  391. [ 1.313][v][vo/opengl] [ 43] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  392. [ 1.313][v][vo/opengl] [ 44] wsum += w;
  393. [ 1.313][v][vo/opengl] [ 45] color[0] += w * in0[rel.y+1][rel.x+1];
  394. [ 1.313][v][vo/opengl] [ 46] color[1] += w * in1[rel.y+1][rel.x+1];
  395. [ 1.313][v][vo/opengl] [ 47] }
  396. [ 1.313][v][vo/opengl] [ 48] d = length(vec2(-1.0, -2.0) - fcoord);
  397. [ 1.313][v][vo/opengl] [ 49] if (d < 3.032708) {
  398. [ 1.313][v][vo/opengl] [ 50] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  399. [ 1.313][v][vo/opengl] [ 51] wsum += w;
  400. [ 1.313][v][vo/opengl] [ 52] color[0] += w * in0[rel.y+1][rel.x+2];
  401. [ 1.313][v][vo/opengl] [ 53] color[1] += w * in1[rel.y+1][rel.x+2];
  402. [ 1.313][v][vo/opengl] [ 54] }
  403. [ 1.313][v][vo/opengl] [ 55] d = length(vec2(0.0, -2.0) - fcoord);
  404. [ 1.313][v][vo/opengl] [ 56] if (d < 3.032708) {
  405. [ 1.313][v][vo/opengl] [ 57] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  406. [ 1.313][v][vo/opengl] [ 58] wsum += w;
  407. [ 1.313][v][vo/opengl] [ 59] color[0] += w * in0[rel.y+1][rel.x+3];
  408. [ 1.313][v][vo/opengl] [ 60] color[1] += w * in1[rel.y+1][rel.x+3];
  409. [ 1.313][v][vo/opengl] [ 61] }
  410. [ 1.313][v][vo/opengl] [ 62] d = length(vec2(1.0, -2.0) - fcoord);
  411. [ 1.313][v][vo/opengl] [ 63] if (d < 3.032708) {
  412. [ 1.313][v][vo/opengl] [ 64] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  413. [ 1.313][v][vo/opengl] [ 65] wsum += w;
  414. [ 1.313][v][vo/opengl] [ 66] color[0] += w * in0[rel.y+1][rel.x+4];
  415. [ 1.313][v][vo/opengl] [ 67] color[1] += w * in1[rel.y+1][rel.x+4];
  416. [ 1.313][v][vo/opengl] [ 68] }
  417. [ 1.313][v][vo/opengl] [ 69] d = length(vec2(2.0, -2.0) - fcoord);
  418. [ 1.313][v][vo/opengl] [ 70] if (d < 3.032708) {
  419. [ 1.313][v][vo/opengl] [ 71] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  420. [ 1.313][v][vo/opengl] [ 72] wsum += w;
  421. [ 1.313][v][vo/opengl] [ 73] color[0] += w * in0[rel.y+1][rel.x+5];
  422. [ 1.313][v][vo/opengl] [ 74] color[1] += w * in1[rel.y+1][rel.x+5];
  423. [ 1.313][v][vo/opengl] [ 75] }
  424. [ 1.313][v][vo/opengl] [ 76] d = length(vec2(3.0, -2.0) - fcoord);
  425. [ 1.313][v][vo/opengl] [ 77] if (d < 3.032708) {
  426. [ 1.313][v][vo/opengl] [ 78] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  427. [ 1.313][v][vo/opengl] [ 79] wsum += w;
  428. [ 1.313][v][vo/opengl] [ 80] color[0] += w * in0[rel.y+1][rel.x+6];
  429. [ 1.313][v][vo/opengl] [ 81] color[1] += w * in1[rel.y+1][rel.x+6];
  430. [ 1.313][v][vo/opengl] [ 82] }
  431. [ 1.313][v][vo/opengl] [ 83] d = length(vec2(-2.0, -1.0) - fcoord);
  432. [ 1.313][v][vo/opengl] [ 84] if (d < 3.032708) {
  433. [ 1.313][v][vo/opengl] [ 85] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  434. [ 1.313][v][vo/opengl] [ 86] wsum += w;
  435. [ 1.313][v][vo/opengl] [ 87] color[0] += w * in0[rel.y+2][rel.x+1];
  436. [ 1.313][v][vo/opengl] [ 88] color[1] += w * in1[rel.y+2][rel.x+1];
  437. [ 1.313][v][vo/opengl] [ 89] }
  438. [ 1.313][v][vo/opengl] [ 90] d = length(vec2(-1.0, -1.0) - fcoord);
  439. [ 1.313][v][vo/opengl] [ 91] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  440. [ 1.313][v][vo/opengl] [ 92] wsum += w;
  441. [ 1.313][v][vo/opengl] [ 93] color[0] += w * in0[rel.y+2][rel.x+2];
  442. [ 1.313][v][vo/opengl] [ 94] color[1] += w * in1[rel.y+2][rel.x+2];
  443. [ 1.313][v][vo/opengl] [ 95] d = length(vec2(0.0, -1.0) - fcoord);
  444. [ 1.313][v][vo/opengl] [ 96] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  445. [ 1.313][v][vo/opengl] [ 97] wsum += w;
  446. [ 1.313][v][vo/opengl] [ 98] color[0] += w * in0[rel.y+2][rel.x+3];
  447. [ 1.313][v][vo/opengl] [ 99] color[1] += w * in1[rel.y+2][rel.x+3];
  448. [ 1.313][v][vo/opengl] [100] d = length(vec2(1.0, -1.0) - fcoord);
  449. [ 1.313][v][vo/opengl] [101] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  450. [ 1.313][v][vo/opengl] [102] wsum += w;
  451. [ 1.313][v][vo/opengl] [103] color[0] += w * in0[rel.y+2][rel.x+4];
  452. [ 1.313][v][vo/opengl] [104] color[1] += w * in1[rel.y+2][rel.x+4];
  453. [ 1.313][v][vo/opengl] [105] d = length(vec2(2.0, -1.0) - fcoord);
  454. [ 1.313][v][vo/opengl] [106] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  455. [ 1.313][v][vo/opengl] [107] wsum += w;
  456. [ 1.313][v][vo/opengl] [108] color[0] += w * in0[rel.y+2][rel.x+5];
  457. [ 1.313][v][vo/opengl] [109] color[1] += w * in1[rel.y+2][rel.x+5];
  458. [ 1.313][v][vo/opengl] [110] d = length(vec2(3.0, -1.0) - fcoord);
  459. [ 1.313][v][vo/opengl] [111] if (d < 3.032708) {
  460. [ 1.313][v][vo/opengl] [112] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  461. [ 1.313][v][vo/opengl] [113] wsum += w;
  462. [ 1.313][v][vo/opengl] [114] color[0] += w * in0[rel.y+2][rel.x+6];
  463. [ 1.313][v][vo/opengl] [115] color[1] += w * in1[rel.y+2][rel.x+6];
  464. [ 1.313][v][vo/opengl] [116] }
  465. [ 1.313][v][vo/opengl] [117] d = length(vec2(-3.0, 0.0) - fcoord);
  466. [ 1.313][v][vo/opengl] [118] if (d < 3.032708) {
  467. [ 1.313][v][vo/opengl] [119] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  468. [ 1.313][v][vo/opengl] [120] wsum += w;
  469. [ 1.313][v][vo/opengl] [121] color[0] += w * in0[rel.y+3][rel.x+0];
  470. [ 1.313][v][vo/opengl] [122] color[1] += w * in1[rel.y+3][rel.x+0];
  471. [ 1.313][v][vo/opengl] [123] }
  472. [ 1.313][v][vo/opengl] [124] d = length(vec2(-2.0, 0.0) - fcoord);
  473. [ 1.313][v][vo/opengl] [125] if (d < 3.032708) {
  474. [ 1.313][v][vo/opengl] [126] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  475. [ 1.313][v][vo/opengl] [127] wsum += w;
  476. [ 1.313][v][vo/opengl] [128] color[0] += w * in0[rel.y+3][rel.x+1];
  477. [ 1.313][v][vo/opengl] [129] color[1] += w * in1[rel.y+3][rel.x+1];
  478. [ 1.313][v][vo/opengl] [130] }
  479. [ 1.313][v][vo/opengl] [131] d = length(vec2(-1.0, 0.0) - fcoord);
  480. [ 1.313][v][vo/opengl] [132] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  481. [ 1.313][v][vo/opengl] [133] wsum += w;
  482. [ 1.313][v][vo/opengl] [134] color[0] += w * in0[rel.y+3][rel.x+2];
  483. [ 1.313][v][vo/opengl] [135] color[1] += w * in1[rel.y+3][rel.x+2];
  484. [ 1.313][v][vo/opengl] [136] d = length(vec2(0.0, 0.0) - fcoord);
  485. [ 1.313][v][vo/opengl] [137] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  486. [ 1.313][v][vo/opengl] [138] wsum += w;
  487. [ 1.313][v][vo/opengl] [139] color[0] += w * in0[rel.y+3][rel.x+3];
  488. [ 1.313][v][vo/opengl] [140] color[1] += w * in1[rel.y+3][rel.x+3];
  489. [ 1.313][v][vo/opengl] [141] d = length(vec2(1.0, 0.0) - fcoord);
  490. [ 1.313][v][vo/opengl] [142] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  491. [ 1.313][v][vo/opengl] [143] wsum += w;
  492. [ 1.313][v][vo/opengl] [144] color[0] += w * in0[rel.y+3][rel.x+4];
  493. [ 1.313][v][vo/opengl] [145] color[1] += w * in1[rel.y+3][rel.x+4];
  494. [ 1.313][v][vo/opengl] [146] d = length(vec2(2.0, 0.0) - fcoord);
  495. [ 1.313][v][vo/opengl] [147] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  496. [ 1.313][v][vo/opengl] [148] wsum += w;
  497. [ 1.313][v][vo/opengl] [149] color[0] += w * in0[rel.y+3][rel.x+5];
  498. [ 1.313][v][vo/opengl] [150] color[1] += w * in1[rel.y+3][rel.x+5];
  499. [ 1.313][v][vo/opengl] [151] d = length(vec2(3.0, 0.0) - fcoord);
  500. [ 1.313][v][vo/opengl] [152] if (d < 3.032708) {
  501. [ 1.313][v][vo/opengl] [153] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  502. [ 1.313][v][vo/opengl] [154] wsum += w;
  503. [ 1.313][v][vo/opengl] [155] color[0] += w * in0[rel.y+3][rel.x+6];
  504. [ 1.313][v][vo/opengl] [156] color[1] += w * in1[rel.y+3][rel.x+6];
  505. [ 1.313][v][vo/opengl] [157] }
  506. [ 1.313][v][vo/opengl] [158] d = length(vec2(4.0, 0.0) - fcoord);
  507. [ 1.313][v][vo/opengl] [159] if (d < 3.032708) {
  508. [ 1.313][v][vo/opengl] [160] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  509. [ 1.313][v][vo/opengl] [161] wsum += w;
  510. [ 1.313][v][vo/opengl] [162] color[0] += w * in0[rel.y+3][rel.x+7];
  511. [ 1.313][v][vo/opengl] [163] color[1] += w * in1[rel.y+3][rel.x+7];
  512. [ 1.313][v][vo/opengl] [164] }
  513. [ 1.313][v][vo/opengl] [165] d = length(vec2(-3.0, 1.0) - fcoord);
  514. [ 1.313][v][vo/opengl] [166] if (d < 3.032708) {
  515. [ 1.313][v][vo/opengl] [167] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  516. [ 1.313][v][vo/opengl] [168] wsum += w;
  517. [ 1.313][v][vo/opengl] [169] color[0] += w * in0[rel.y+4][rel.x+0];
  518. [ 1.313][v][vo/opengl] [170] color[1] += w * in1[rel.y+4][rel.x+0];
  519. [ 1.313][v][vo/opengl] [171] }
  520. [ 1.313][v][vo/opengl] [172] d = length(vec2(-2.0, 1.0) - fcoord);
  521. [ 1.313][v][vo/opengl] [173] if (d < 3.032708) {
  522. [ 1.313][v][vo/opengl] [174] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  523. [ 1.313][v][vo/opengl] [175] wsum += w;
  524. [ 1.313][v][vo/opengl] [176] color[0] += w * in0[rel.y+4][rel.x+1];
  525. [ 1.313][v][vo/opengl] [177] color[1] += w * in1[rel.y+4][rel.x+1];
  526. [ 1.313][v][vo/opengl] [178] }
  527. [ 1.313][v][vo/opengl] [179] d = length(vec2(-1.0, 1.0) - fcoord);
  528. [ 1.313][v][vo/opengl] [180] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  529. [ 1.313][v][vo/opengl] [181] wsum += w;
  530. [ 1.313][v][vo/opengl] [182] color[0] += w * in0[rel.y+4][rel.x+2];
  531. [ 1.313][v][vo/opengl] [183] color[1] += w * in1[rel.y+4][rel.x+2];
  532. [ 1.313][v][vo/opengl] [184] d = length(vec2(0.0, 1.0) - fcoord);
  533. [ 1.313][v][vo/opengl] [185] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  534. [ 1.313][v][vo/opengl] [186] wsum += w;
  535. [ 1.313][v][vo/opengl] [187] color[0] += w * in0[rel.y+4][rel.x+3];
  536. [ 1.313][v][vo/opengl] [188] color[1] += w * in1[rel.y+4][rel.x+3];
  537. [ 1.313][v][vo/opengl] [189] d = length(vec2(1.0, 1.0) - fcoord);
  538. [ 1.313][v][vo/opengl] [190] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  539. [ 1.313][v][vo/opengl] [191] wsum += w;
  540. [ 1.313][v][vo/opengl] [192] color[0] += w * in0[rel.y+4][rel.x+4];
  541. [ 1.313][v][vo/opengl] [193] color[1] += w * in1[rel.y+4][rel.x+4];
  542. [ 1.313][v][vo/opengl] [194] d = length(vec2(2.0, 1.0) - fcoord);
  543. [ 1.313][v][vo/opengl] [195] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  544. [ 1.313][v][vo/opengl] [196] wsum += w;
  545. [ 1.313][v][vo/opengl] [197] color[0] += w * in0[rel.y+4][rel.x+5];
  546. [ 1.314][v][vo/opengl] [198] color[1] += w * in1[rel.y+4][rel.x+5];
  547. [ 1.314][v][vo/opengl] [199] d = length(vec2(3.0, 1.0) - fcoord);
  548. [ 1.314][v][vo/opengl] [200] if (d < 3.032708) {
  549. [ 1.314][v][vo/opengl] [201] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  550. [ 1.314][v][vo/opengl] [202] wsum += w;
  551. [ 1.314][v][vo/opengl] [203] color[0] += w * in0[rel.y+4][rel.x+6];
  552. [ 1.314][v][vo/opengl] [204] color[1] += w * in1[rel.y+4][rel.x+6];
  553. [ 1.314][v][vo/opengl] [205] }
  554. [ 1.314][v][vo/opengl] [206] d = length(vec2(4.0, 1.0) - fcoord);
  555. [ 1.314][v][vo/opengl] [207] if (d < 3.032708) {
  556. [ 1.314][v][vo/opengl] [208] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  557. [ 1.314][v][vo/opengl] [209] wsum += w;
  558. [ 1.314][v][vo/opengl] [210] color[0] += w * in0[rel.y+4][rel.x+7];
  559. [ 1.314][v][vo/opengl] [211] color[1] += w * in1[rel.y+4][rel.x+7];
  560. [ 1.314][v][vo/opengl] [212] }
  561. [ 1.314][v][vo/opengl] [213] d = length(vec2(-2.0, 2.0) - fcoord);
  562. [ 1.314][v][vo/opengl] [214] if (d < 3.032708) {
  563. [ 1.314][v][vo/opengl] [215] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  564. [ 1.314][v][vo/opengl] [216] wsum += w;
  565. [ 1.314][v][vo/opengl] [217] color[0] += w * in0[rel.y+5][rel.x+1];
  566. [ 1.314][v][vo/opengl] [218] color[1] += w * in1[rel.y+5][rel.x+1];
  567. [ 1.314][v][vo/opengl] [219] }
  568. [ 1.314][v][vo/opengl] [220] d = length(vec2(-1.0, 2.0) - fcoord);
  569. [ 1.314][v][vo/opengl] [221] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  570. [ 1.314][v][vo/opengl] [222] wsum += w;
  571. [ 1.314][v][vo/opengl] [223] color[0] += w * in0[rel.y+5][rel.x+2];
  572. [ 1.314][v][vo/opengl] [224] color[1] += w * in1[rel.y+5][rel.x+2];
  573. [ 1.314][v][vo/opengl] [225] d = length(vec2(0.0, 2.0) - fcoord);
  574. [ 1.314][v][vo/opengl] [226] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  575. [ 1.314][v][vo/opengl] [227] wsum += w;
  576. [ 1.314][v][vo/opengl] [228] color[0] += w * in0[rel.y+5][rel.x+3];
  577. [ 1.314][v][vo/opengl] [229] color[1] += w * in1[rel.y+5][rel.x+3];
  578. [ 1.314][v][vo/opengl] [230] d = length(vec2(1.0, 2.0) - fcoord);
  579. [ 1.314][v][vo/opengl] [231] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  580. [ 1.314][v][vo/opengl] [232] wsum += w;
  581. [ 1.314][v][vo/opengl] [233] color[0] += w * in0[rel.y+5][rel.x+4];
  582. [ 1.314][v][vo/opengl] [234] color[1] += w * in1[rel.y+5][rel.x+4];
  583. [ 1.314][v][vo/opengl] [235] d = length(vec2(2.0, 2.0) - fcoord);
  584. [ 1.314][v][vo/opengl] [236] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  585. [ 1.314][v][vo/opengl] [237] wsum += w;
  586. [ 1.314][v][vo/opengl] [238] color[0] += w * in0[rel.y+5][rel.x+5];
  587. [ 1.314][v][vo/opengl] [239] color[1] += w * in1[rel.y+5][rel.x+5];
  588. [ 1.314][v][vo/opengl] [240] d = length(vec2(3.0, 2.0) - fcoord);
  589. [ 1.314][v][vo/opengl] [241] if (d < 3.032708) {
  590. [ 1.314][v][vo/opengl] [242] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  591. [ 1.314][v][vo/opengl] [243] wsum += w;
  592. [ 1.314][v][vo/opengl] [244] color[0] += w * in0[rel.y+5][rel.x+6];
  593. [ 1.314][v][vo/opengl] [245] color[1] += w * in1[rel.y+5][rel.x+6];
  594. [ 1.314][v][vo/opengl] [246] }
  595. [ 1.314][v][vo/opengl] [247] d = length(vec2(-2.0, 3.0) - fcoord);
  596. [ 1.314][v][vo/opengl] [248] if (d < 3.032708) {
  597. [ 1.314][v][vo/opengl] [249] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  598. [ 1.314][v][vo/opengl] [250] wsum += w;
  599. [ 1.314][v][vo/opengl] [251] color[0] += w * in0[rel.y+6][rel.x+1];
  600. [ 1.314][v][vo/opengl] [252] color[1] += w * in1[rel.y+6][rel.x+1];
  601. [ 1.314][v][vo/opengl] [253] }
  602. [ 1.314][v][vo/opengl] [254] d = length(vec2(-1.0, 3.0) - fcoord);
  603. [ 1.314][v][vo/opengl] [255] if (d < 3.032708) {
  604. [ 1.314][v][vo/opengl] [256] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  605. [ 1.314][v][vo/opengl] [257] wsum += w;
  606. [ 1.314][v][vo/opengl] [258] color[0] += w * in0[rel.y+6][rel.x+2];
  607. [ 1.314][v][vo/opengl] [259] color[1] += w * in1[rel.y+6][rel.x+2];
  608. [ 1.314][v][vo/opengl] [260] }
  609. [ 1.314][v][vo/opengl] [261] d = length(vec2(0.0, 3.0) - fcoord);
  610. [ 1.314][v][vo/opengl] [262] if (d < 3.032708) {
  611. [ 1.314][v][vo/opengl] [263] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  612. [ 1.314][v][vo/opengl] [264] wsum += w;
  613. [ 1.314][v][vo/opengl] [265] color[0] += w * in0[rel.y+6][rel.x+3];
  614. [ 1.314][v][vo/opengl] [266] color[1] += w * in1[rel.y+6][rel.x+3];
  615. [ 1.314][v][vo/opengl] [267] }
  616. [ 1.314][v][vo/opengl] [268] d = length(vec2(1.0, 3.0) - fcoord);
  617. [ 1.314][v][vo/opengl] [269] if (d < 3.032708) {
  618. [ 1.314][v][vo/opengl] [270] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  619. [ 1.314][v][vo/opengl] [271] wsum += w;
  620. [ 1.314][v][vo/opengl] [272] color[0] += w * in0[rel.y+6][rel.x+4];
  621. [ 1.314][v][vo/opengl] [273] color[1] += w * in1[rel.y+6][rel.x+4];
  622. [ 1.314][v][vo/opengl] [274] }
  623. [ 1.314][v][vo/opengl] [275] d = length(vec2(2.0, 3.0) - fcoord);
  624. [ 1.314][v][vo/opengl] [276] if (d < 3.032708) {
  625. [ 1.314][v][vo/opengl] [277] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  626. [ 1.314][v][vo/opengl] [278] wsum += w;
  627. [ 1.314][v][vo/opengl] [279] color[0] += w * in0[rel.y+6][rel.x+5];
  628. [ 1.314][v][vo/opengl] [280] color[1] += w * in1[rel.y+6][rel.x+5];
  629. [ 1.314][v][vo/opengl] [281] }
  630. [ 1.314][v][vo/opengl] [282] d = length(vec2(3.0, 3.0) - fcoord);
  631. [ 1.314][v][vo/opengl] [283] if (d < 3.032708) {
  632. [ 1.314][v][vo/opengl] [284] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  633. [ 1.314][v][vo/opengl] [285] wsum += w;
  634. [ 1.314][v][vo/opengl] [286] color[0] += w * in0[rel.y+6][rel.x+6];
  635. [ 1.314][v][vo/opengl] [287] color[1] += w * in1[rel.y+6][rel.x+6];
  636. [ 1.314][v][vo/opengl] [288] }
  637. [ 1.314][v][vo/opengl] [289] d = length(vec2(0.0, 4.0) - fcoord);
  638. [ 1.314][v][vo/opengl] [290] if (d < 3.032708) {
  639. [ 1.314][v][vo/opengl] [291] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  640. [ 1.314][v][vo/opengl] [292] wsum += w;
  641. [ 1.314][v][vo/opengl] [293] color[0] += w * in0[rel.y+7][rel.x+3];
  642. [ 1.314][v][vo/opengl] [294] color[1] += w * in1[rel.y+7][rel.x+3];
  643. [ 1.314][v][vo/opengl] [295] }
  644. [ 1.314][v][vo/opengl] [296] d = length(vec2(1.0, 4.0) - fcoord);
  645. [ 1.314][v][vo/opengl] [297] if (d < 3.032708) {
  646. [ 1.314][v][vo/opengl] [298] w = tex1D(lut, LUT_POS(d * 1.0/3.238315, 64.0)).r;
  647. [ 1.314][v][vo/opengl] [299] wsum += w;
  648. [ 1.314][v][vo/opengl] [300] color[0] += w * in0[rel.y+7][rel.x+4];
  649. [ 1.314][v][vo/opengl] [301] color[1] += w * in1[rel.y+7][rel.x+4];
  650. [ 1.314][v][vo/opengl] [302] }
  651. [ 1.314][v][vo/opengl] [303] color = color / vec4(wsum);
  652. [ 1.314][v][vo/opengl] [304] }
  653. [ 1.314][v][vo/opengl] [305] color *= 1.000000;
  654. [ 1.314][v][vo/opengl] [306] color.b = 0.000000;
  655. [ 1.314][v][vo/opengl] [307] color.a = 1.000000;
  656. [ 1.314][v][vo/opengl] [308] imageStore(out_image, ivec2(gl_GlobalInvocationID), color);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement