docs.rs failed to build dxfilter-0.5.8
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
dxfilter-0.5.13
DxFilter
Scale and ColorConversion done with DirectX filters. You can also create your own filters with the provided api.
Crate contains various tools to make these features possible.
generate_shader!andcompile_shader!macros to write shaders that compile at compile time- various built filters for converting and scaling from RGB to YUV or NV12
DxFilterinterface for writing custom filters- utils like
create_device_context,create_input_tex,create_output_texfor easier setup. - utils like
AdapterFactory,Adapter,TextureReaderimported fromwin_desktop_duplication.
For example usage, look at examples/rgb_to_nv12.rs
Usage
// for more detailed example see examples/rgb_to_nv12.rs
AvailableFilters
- ARGB to AYUV
- ARGB to NV12
- ARGB or AYUV scale only
- ARGB to YUV planar
- ARGB to YUV420 planar
- ARGB16 to Y410
- ARGB16 to YUV444 10bit planar
- ARGB16 to YUV420 10bit planar