mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
8ad7cc6ccd570898fe3b1df3a6817eacdc64fa8e
Tests for changes or regressions in the generated micro-ops. This will be
instrumental in my development of the micro-ops optimizer, and my plans to
phase out some of the macro-op optimization passes in favor of doing those
optimizations on the uop level instead.
rgb24 16x16 -> rgb24 16x32:
[ u8 +++X] SWS_OP_READ : 3 elem(s) packed >> 0
min: {0 0 0 _}, max: {255 255 255 _}
[ u8 ...X] SWS_OP_FILTER_V : 16 -> 32 bilinear (2 taps)
min: {0 0 0 _}, max: {255 255 255 _}
[f32 ...X] SWS_OP_DITHER : 16x16 matrix + {0 3 2 -1}
min: {1/512 1/512 1/512 _}, max: {255.998047 255.998047 255.998047 _}
[f32 ...X] SWS_OP_MIN : x <= {255 255 255 _}
min: {1/512 1/512 1/512 _}, max: {255 255 255 _}
[f32 +++X] SWS_OP_CONVERT : f32 -> u8
min: {0 0 0 _}, max: {255 255 255 _}
[ u8 XXXX] SWS_OP_WRITE : 3 elem(s) packed >> 0
(X = unused, z = byteswapped, + = exact, 0 = zero)
Retrying with split passes:
[ u8 +++X] SWS_OP_READ : 3 elem(s) packed >> 0
min: {0 0 0 _}, max: {255 255 255 _}
[ u8 XXXX] SWS_OP_WRITE : 3 elem(s) planar >> 0
(X = unused, z = byteswapped, + = exact, 0 = zero)
+ translated micro-ops:
+ u8_read_packed_xyz
+ u8_write_planar_xyz
Sub-pass #1:
[ u8 ...X] SWS_OP_READ : 3 elem(s) planar >> 0 + 2 tap bilinear filter (V)
min: {0 0 0 _}, max: {255 255 255 _}
[f32 ...X] SWS_OP_DITHER : 16x16 matrix + {0 3 2 -1}
min: {1/512 1/512 1/512 _}, max: {255.998047 255.998047 255.998047 _}
[f32 ...X] SWS_OP_MIN : x <= {255 255 255 _}
min: {1/512 1/512 1/512 _}, max: {255 255 255 _}
[f32 +++X] SWS_OP_CONVERT : f32 -> u8
min: {0 0 0 _}, max: {255 255 255 _}
[ u8 XXXX] SWS_OP_WRITE : 3 elem(s) packed >> 0
(X = unused, z = byteswapped, + = exact, 0 = zero)
+ translated micro-ops:
+ u8_read_planar_fv_xyz
+ f32_dither_xyz_0_3_2_16x16
+ f32_min_xyz
+ f32_to_u8_xyz
+ u8_write_packed_xyz
...
Signed-off-by: Niklas Haas <git@haasn.dev>
…
…
…
…
…
…
FFmpeg README
FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.
Libraries
libavcodecprovides implementation of a wider range of codecs.libavformatimplements streaming protocols, container formats and basic I/O access.libavutilincludes hashers, decompressors and miscellaneous utility functions.libavfilterprovides means to alter decoded audio and video through a directed graph of connected filters.libavdeviceprovides an abstraction to access capture and playback devices.libswresampleimplements audio mixing and resampling routines.libswscaleimplements color conversion and scaling routines.
Tools
- ffmpeg is a command line toolbox to manipulate, convert and stream multimedia content.
- ffplay is a minimalistic multimedia player.
- ffprobe is a simple analysis tool to inspect multimedia content.
- Additional small tools such as
aviocat,ismindexandqt-faststart.
Documentation
The offline documentation is available in the doc/ directory.
The online documentation is available in the main website and in the wiki.
Examples
Coding examples are available in the doc/examples directory.
License
FFmpeg codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.
Contributing
Patches should be submitted to the ffmpeg-devel mailing list using
git format-patch or git send-email. Github pull requests should be
avoided because they are not part of our review process and will be ignored.
Languages
C
89.1%
Assembly
8.4%
Makefile
1.4%
GLSL
0.3%
C++
0.3%
Other
0.2%