Commit Graph
3078 Commits
Author SHA1 Message Date
wang-bin ecd83072ec d3d11: interop with desktop gl
not working for intel? DXOpenDeviceNV fails.
Unlike d3d9, d3d11 supports copying sub region of a texture, so using
the original pixel format like nv12 should be possible.
TODO: try ANGLE https://github.com/google/angle/blob/master/src/
libANGLE/renderer/gl/wgl/DisplayWGL.cpp
2016-04-09 00:01:54 +08:00
wang-bin 951761a484 move wgl apis. d3d11 can use them in the future 2016-04-08 17:36:46 +08:00
wang-bin 0bc74edc22 d3d11: fix windows phone build 2016-04-08 11:25:42 +08:00
wang-bin de8977455c d3d11: map to host support (video capture) 2016-04-07 22:55:42 +08:00
wang-bin 0afe917efc dxva: remove moc code 2016-04-07 22:09:21 +08:00
wang-bin 075e3ccc66 d3d va: disable multithread decoding by default to avoid crash
crash a lot when stopping the playback
2016-04-07 22:08:51 +08:00
wang-bin 2bd167cd12 setup threads when opening ff hw decoders
Why I forgot to set the value?
2016-04-07 22:06:42 +08:00
wang-bin 84648ad3e8 winrt: link to egl instead of dynamic load to avoid crash 2016-04-07 15:16:01 +08:00
wang-bin 1f683627c2 d3d11: move interop code 2016-04-07 14:34:35 +08:00
wang-bin 4b4e76f1a7 dxva: separate d3d9 interop. no gl code in decoder 2016-04-07 14:23:01 +08:00
wang-bin baf7e69167 d3d11: more build env checks to avoid build error
d3d11.h provided by mingw is not complete. maybe I can consider https://
github.com/gongminmin/UniversalDXSDK
2016-04-07 12:47:28 +08:00
wang-bin d7e5dea0cd Merge branch 'd3d11_egl' 2016-04-07 11:54:09 +08:00
wang-bin 585c91aa27 d3d11va: separate egl interop. no gl code in decoder
this should apply to other decoders. it makes decoder independent of
opengl code
2016-04-07 11:51:55 +08:00
wang-bin b20960c426 d3d11 vp: reset output view if texture changed. check size 2016-04-07 10:59:43 +08:00
wang-bin 3ba0c33ccb d3d11va: enable 0-copy by egl+d3d11 interop 2016-04-07 01:26:06 +08:00
wang-bin c84e5c92f9 d3d11_egl: fix mem leak caused by non-vertual base dtor 2016-04-07 01:13:35 +08:00
wang-bin df3337a6de d3d11_egl: process correct texture index and rect. va works! 2016-04-07 00:55:51 +08:00
wang-bin e3ed3445b1 d3d11_egl: add d3d11 video processor and surface interop
opengl frame update is very slow, but vp seems fast enough
2016-04-06 22:01:37 +08:00
wang-bin 6e1f4f3463 d3d_egl: remove private gui header 2016-04-05 21:38:25 +08:00
wang-bin 50c0f417c8 d3d11va: use ComPtr & fix mem leak
texture_cpu, outputview were not released
2016-04-05 16:25:04 +08:00
wang-bin c6f5b8afc3 fix build error if no avfilter 2016-04-04 23:20:30 +08:00
wang-bin 9f62d3af6e appveyor: cache dependency
TODO: md5 check before downloading?
2016-04-03 23:45:21 +08:00
wang-bin fb5e76cb3a gl: mention how to set default uniform values for VideoShaderObject 2016-04-03 16:40:18 +08:00
wang-bin 0656d76d66 gl: set uniform if shader type changed 2016-04-02 21:07:02 +08:00
wang-bin d2de333f0e d3d11va: get device details 2016-04-01 14:10:00 +08:00
wang-bin 4cfb5ca1e7 ci/appveyor: deployment fix 2016-04-01 14:06:54 +08:00
wang-bin 985196e84e d3d11va: work on winrt 2016-04-01 12:12:04 +08:00
wang-bin 787fe8b141 gl: fix video eq has no effect 2016-04-01 11:25:31 +08:00
wang-bin 0d0087bda3 ci/appveyor: only upload vs release build to sf 2016-04-01 00:08:26 +08:00
wang-bin 33a909f30f fix build error if hevc is not supported by ffmpeg 2016-04-01 00:07:48 +08:00
wang-bin a45d666295 d3d11va: fix config test error
libavcodec/d3d11va.h includes d3d11.h as c. so must include d3d11.h
first.
g++ c++11 is required to use ComPtr, so g++4.x will not build d3d11va by
default
2016-03-31 23:38:15 +08:00
wang-bin eed799b8a1 Merge branch 'd3d11va' 2016-03-31 22:26:59 +08:00
wang-bin 920fa38ad1 d3d11va: copy back mode works. sometimes crash when replay 2016-03-31 22:10:23 +08:00
wang-bin 4cdb7fa34f d3d11va: add decoder. not complete 2016-03-31 11:49:12 +08:00
wang-bin e355a30a39 dxva: move open()/close() to base class 2016-03-31 11:42:24 +08:00
wang-bin 1d3dd78a13 dxva: make decoder configuration selecting as template 2016-03-30 19:40:26 +08:00
wang-bin 7fad30eaf3 add AVPlayer.setTimeRange 2016-03-30 16:21:06 +08:00
wang-bin 0cc62015c4 examples/player: fix property read 2016-03-30 16:08:12 +08:00
wang-bin db003d4996 unload media if stopped. #601 2016-03-30 16:07:06 +08:00
wang-bin e3edb7d587 dxva: manage surfaces in base class 2016-03-30 10:37:55 +08:00
wang-bin ddbd074d8a dxva: move suface property and setup() to common 2016-03-29 17:02:10 +08:00
wang-bin 6870e92439 config.tests: add d3d11va 2016-03-29 13:56:56 +08:00
wang-bin baaa278214 dxva: move common code 2016-03-29 13:39:53 +08:00
wang-bin a30ffaf4e0 gl: dynamic shader object 2016-03-28 19:26:57 +08:00
wang-bin f05b6c4667 examples/shader: add dynamic property and uniform binding example 2016-03-28 18:56:10 +08:00
wang-bin c8f88a02de deploy sql module for examples 2016-03-28 13:09:06 +08:00
wang-bin b0847dcbca gl: register qvector for qt4 2016-03-28 13:01:33 +08:00
wang-bin 84a0fb2848 vo: use delete later 2016-03-28 12:59:51 +08:00
wang-bin 496d7bf82f ensure state is correct after stop(). smaller lock scope 2016-03-28 12:55:53 +08:00
wang-bin ca7e09132f gl: custom shader object supports uniform/property binding 2016-03-28 01:30:08 +08:00