FFmpeg git repo
Go to file
Rémi Denis-Courmont 3606e592ea lavc/h264dsp: R-V V 8-bit h264_weight_pixels
There are two implementations here:
- a generic scalable one processing two columns at a time,
- a specialised processing one (fixed-size) row at a time.

Unsurprisingly, the generic one works out better with smaller widths.
With larger widths, the gains from filling vectors are outweighed by
the extra cost of strided loads and stores. In other words, memory
accesses become the bottleneck.

T-Head C908:
h264_weight2_8_c:        54.5
h264_weight2_8_rvv_i32:  13.7
h264_weight4_8_c:       101.7
h264_weight4_8_rvv_i32:  27.5
h264_weight8_8_c:       197.0
h264_weight8_8_rvv_i32:  75.5
h264_weight16_8_c:      385.0
h264_weight16_8_rvv_i32: 74.2

SpacemiT X60:
h264_weight2_8_c:        48.5
h264_weight2_8_rvv_i32:   8.2
h264_weight4_8_c:        90.7
h264_weight4_8_rvv_i32:  16.5
h264_weight8_8_c:       175.0
h264_weight8_8_rvv_i32:  37.7
h264_weight16_8_c:      342.2
h264_weight16_8_rvv_i32: 66.0
2024-07-09 18:03:29 +03:00
compat
doc lavf: deprecate avformat_transfer_internal_stream_timing_info() 2024-07-09 11:14:47 +02:00
ffbuild
fftools fftools/ffmpeg_mux_init: default to input timebase for streamcopy 2024-07-09 11:14:08 +02:00
libavcodec lavc/h264dsp: R-V V 8-bit h264_weight_pixels 2024-07-09 18:03:29 +03:00
libavdevice avdevice/v4l2: add limited support for multiplanar API 2024-07-04 11:09:53 +02:00
libavfilter avfilter/af_aderivative: Free out on error 2024-07-07 23:36:30 +02:00
libavformat lavf: deprecate avformat_transfer_internal_stream_timing_info() 2024-07-09 11:14:47 +02:00
libavutil avutil/hwcontext_videotoolbox: Fix version check 2024-07-09 21:39:09 +08:00
libpostproc
libswresample swresample/swresample: Rectify invalid function in the documentation 2024-07-02 21:57:17 +02:00
libswscale swscale/swscale: Use ptrdiff_t for linesize computations 2024-07-07 23:36:30 +02:00
presets
tests fftools/ffmpeg_mux_init: default to input timebase for streamcopy 2024-07-09 11:14:08 +02:00
tools tools/coverity: Phase 1 study of anti-halicogenic for coverity av_rescale() 2024-07-07 23:36:27 +02:00
.gitattributes
.gitignore
.mailmap
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog Changelog: add D3D12VA HEVC encoder changelog 2024-07-02 14:15:12 +02:00
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: add myself to the general developers list 2024-07-07 23:36:27 +02:00
Makefile
README.md
RELEASE
configure avcodec: add D3D12VA hardware HEVC encoder 2024-07-02 14:15:12 +02:00

README.md

FFmpeg README

FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.

Libraries

  • libavcodec provides implementation of a wider range of codecs.
  • libavformat implements streaming protocols, container formats and basic I/O access.
  • libavutil includes hashers, decompressors and miscellaneous utility functions.
  • libavfilter provides means to alter decoded audio and video through a directed graph of connected filters.
  • libavdevice provides an abstraction to access capture and playback devices.
  • libswresample implements audio mixing and resampling routines.
  • libswscale implements 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, ismindex and qt-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.