Commit Graph

4240 Commits

Author SHA1 Message Date
hanqiyuan 9d7b568aae ffmpeg: codesize optimize for CONFIG_AUDIO_ONLY.
Enabled by --enable-audio-only, default disabled.
The size optimized 114656 bytes @ gcc -Os,-flto by --enable-audio-only.

Signed-off-by: hanqiyuan <hanqiyuan@xiaomi.com>
2026-04-20 20:58:41 +08:00
niyinghao f16f001123 FFMPEG: separate asubgraph into individual filter
Signed-off-by: niyinghao <niyinghao@xiaomi.com>
2026-04-20 20:58:30 +08:00
cenzhanquan1 f18895e82e ffmpeg: add mapping to src filter.
Signed-off-by: cenzhanquan1 <cenzhanquan1@xiaomi.com>
2026-04-20 20:58:25 +08:00
niyinghao 172d838bea ffmpeg: split sub_graph to an independent module
Signed-off-by: niyinghao <niyinghao@xiaomi.com>
2026-04-20 20:58:16 +08:00
wurui3 707915f3ea ffmpeg/libacfilter: mix frame in abufsink with uniform mix related interfaces from amix.c.
Signed-off-by: wurui3 <wurui3@xiaomi.com>
2026-04-20 20:58:14 +08:00
wurui3 1685841473 ffmpeg/libavfilter: add mix support in comprsink.
Signed-off-by: wurui3 <wurui3@xiaomi.com>
2026-04-20 20:58:13 +08:00
jinxiuxu cfe23fc951 tinycomprsrc: add volume control
Signed-off-by: jinxiuxu <jinxiuxu@xiaomi.com>
2026-04-20 20:58:11 +08:00
fangyibo ee5d624141 ffmpeg: alsasrc support volume adjust
Signed-off-by: fangyibo <fangyibo@xiaomi.com>
2026-04-20 20:58:11 +08:00
chenyu29 3e1d8e64fc abufsrc support volume
Signed-off-by: chenyu29 <chenyu29@xiaomi.com>
2026-04-20 20:58:11 +08:00
jinxiuxu 23b5d4b9f8 add tinycomprsrc
Signed-off-by: jinxiuxu <jinxiuxu@xiaomi.com>
2026-04-20 20:58:08 +08:00
fangyibo 7c0d0e160c ffmpeg: add filter asrc_alsasrc
Signed-off-by: fangyibo <fangyibo@xiaomi.com>
2026-04-20 20:58:07 +08:00
chenyu29 5a12c3d275 add tinycomprsink
Signed-off-by: chenyu29 <chenyu29@xiaomi.com>
2026-04-20 20:58:07 +08:00
yangyalei 323e197c69 FFMPEG: add alsasink fitler
Signed-off-by: yangyalei <yangyalei@xiaomi.com>
2026-04-20 20:58:07 +08:00
yuexinyi 867df9436e ffmpeg:adapter asrc_adevsrc to ffmpeg7
Signed-off-by: yuexinyi <yuexinyi@xiaomi.com>
2026-04-20 20:58:03 +08:00
cenzhanquan1 edb0a303c4 ffmpeg: add asink_abufsink filter to record
Signed-off-by: cenzhanquan1 <cenzhanquan1@xiaomi.com>
2026-04-20 20:58:03 +08:00
zhushiqshi 5578991837 ffmpeg7: add abufsrc filter for audio-input
Signed-off-by: zhushiqshi <zhushiqshi@xiaomi.com>
2026-04-20 20:57:58 +08:00
wurui3 a72043541e ffmpeg: move av_opt_query_ranges2() to asink_adevsink.
Signed-off-by: wurui3 <wurui3@xiaomi.com>
2026-04-20 20:57:58 +08:00
zhushiqshi abec7d7f5e ffmpeg7: adapter anxsrc to ffmpeg7
Signed-off-by: zhushiqshi <zhushiqshi@xiaomi.com>
2026-04-20 20:57:58 +08:00
zhushiqshi 6de5e6c352 ffmpeg7: add amixsrc with amix+select
Signed-off-by: zhushiqshi <zhushiqshi@xiaomi.com>
2026-04-20 20:57:57 +08:00
zhushiqshi 5e45a9fe53 ffmpeg7: add resample in libavfilter
Signed-off-by: zhushiqshi <zhushiqshi@xiaomi.com>
2026-04-20 20:57:57 +08:00
openvela-robot 79d0634421 ffmpeg7: fixed amix format when graph load
Signed-off-by: zhushiqshi <zhushiqshi@xiaomi.com>
2026-04-20 20:57:53 +08:00
openvela-robot 225a503d52 FFMPEG: fix AVPacket mem leak
Signed-off-by: yangyalei <yangyalei@xiaomi.com>
2026-04-20 20:57:50 +08:00
openvela-robot 6fb822a912 ffmpeg7: add avformat_write_trailer for adevsink
Signed-off-by: zhushiqshi <zhushiqshi@xiaomi.com>
2026-04-20 20:57:47 +08:00
openvela-robot 32ee48238c adevsink:only do grahp reconfig in start flow
Resolve audio ending process interrupted by adevsink non start command

Signed-off-by: shipei <shipei@xiaomi.com>
2026-04-20 20:57:39 +08:00
zhushiqshi de80a8e673 FFMPEG: porting adevsink for ffmpeg7
Signed-off-by: zhushiqshi <zhushiqshi@xiaomi.com>
2026-04-20 20:57:32 +08:00
openvela-robot 3608e86b4f FFMPEG: fix sys/syscrl.h can not find
Signed-off-by: zhushiqshi <zhushiqshi@xiaomi.com>
2026-04-20 20:57:30 +08:00
openvela-robot a6c20059ed FFMPEG: add resume when eos is on
when eos is on, we should resume the stream if it is paused.

Signed-off-by: jinxiuxu <jinxiuxu@xiaomi.com>
2026-04-20 20:57:27 +08:00
openvela-robot 6cf52fc3f3 swscale/output: fill all the xv36le alpha bits
The format is 10 bit per component, not 8.

Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:57:24 +08:00
openvela-robot 356c47e109 FFMPEG: force start and stop after configure for driver
Signed-off-by: hanqiyuan <hanqiyuan@xiaomi.com>
2026-04-20 20:57:20 +08:00
openvela-robot dccba787a1 fftools/ffmpeg_demux: use proper logging contexts everywhere 2026-04-20 20:57:15 +08:00
openvela-robot 1e2e93b397 FFMPEG: only back completed msg when running state.
Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
2026-04-20 20:57:12 +08:00
Lynne 37cff24cfb libavfilter/Makefile: add a makefile for Vulkan shaders 2026-04-20 20:57:08 +08:00
openvela-robot 34d0892357 configure: Only try to use the -no_warn_duplicate_libraries flag on Darwin
While we only add the flag if the linker seems to support it,
it turns out that ld.bfd had a bug where the flag is accidentally
accepted, and the flag produces an output file named
"_warn_duplicate_libraries".

The ld.bfd bug was fixed in binutils 2.36, in
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=3991c7acb29aa8d7d52150695eb3efa03a08dd50.

Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 20:57:04 +08:00
openvela-robot c8c957ba35 adevsrc: modify the type of codec_id option param to string.
codec_id=65544 => codec_name=pcm_s32le.

Signed-off-by: yaojingwei <yaojingwei@xiaomi.com>
2026-04-20 20:57:01 +08:00
openvela-robot 2006b05fae avcodec/hevc/ps: return a proper error code when we don't support parsing an sps
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:56:54 +08:00
openvela-robot 79836cf6b9 FFMPEG: ff_nuttx_capbility_query_ranges not relay on AVFormatContext
Signed-off-by: yangyalei <yangyalei@xiaomi.com>
2026-04-20 20:56:51 +08:00
James Almer a390f41783 avfilter/vf_xpsnr: remove duplicated DSP infranstructure
Fully reuse the existing one from vf_psnr, instead of halfways.

Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:56:42 +08:00
Lynne 4318219a35 bwdif_vulkan: split off main shader code as a separate file
The code to support this was still there, may as well use it.
2026-04-20 20:56:35 +08:00
Lynne 59673dadf1 libavfilter/Makefile: fix tag for Vulkan .comp files 2026-04-20 20:56:35 +08:00
Lynne a5357a699d vulkan: move SPIR-V compilation code to libavutil
The code is not currently used by libavutil, its just where our
common Vulkan code is.
Since SPIR-V compilation will be needed by lavc, move it, rather
than having lavc including lavfi.
2026-04-20 20:56:34 +08:00
Lynne 2340dc6ebf lavfi/vulkan: remove redundant header 2026-04-20 20:56:34 +08:00
James Almer 80dccdbbd4 avfilter: add missing build deps to msad filter
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:56:30 +08:00
openvela-robot 48ade96938 lavfi/buffersink: add array-type options to replace "int-list" ones
"int-list" options are a hack that provides rudimentary support for
array-type options by treating them as byte arrays (i.e.
AV_OPT_TYPE_BINARY). Since we now have proper array-type options, they
should replace "int-list" everywhere (which happens to be just
buffersink).
2026-04-20 20:56:25 +08:00
openvela-robot 53a6ff767c FFmpeg/bluelet: output bluelet send & recv timer duration.
Signed-off-by: zhaocheng1 <zhaocheng1@xiaomi.com>
2026-04-20 20:56:22 +08:00
openvela-robot 0f949a99a6 MAINTAINERS: update myself for dvdvideo, rcwtdec, rcwtenc
I plan to look after and test them for the forseeable future.
I am not a committer but do care for these muxers/demuxers.

Signed-off-by: Marth64 <marth64@proxyid.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 20:56:19 +08:00
openvela-robot 3450efdfb3 asrc_dev: add codec option param.
Signed-off-by: yaojingwei <yaojingwei@xiaomi.com>
2026-04-20 20:56:16 +08:00
James Almer 0c52b176d5 avfilter: add an LCEVC decoding filter
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:55:59 +08:00
openvela-robot e2419e45b6 avutil/cpu_internal: Provide ff_getauxval() wrapper for getauxvaul()
Initially used for getauxval() but will be used to add support for
other API, such as elf_aux_info().

Signed-off-by: Brad Smith <brad@comstyle.com>
2026-04-20 20:55:47 +08:00
openvela-robot 1982473758 ffmpeg: fix coverity issue on error branch
Signed-off-by: jihandong <jihandong@xiaomi.com>
2026-04-20 20:55:44 +08:00
Christian Helmrich 091d20c12f avfilter: add XPSNR filter
Add XPSNR video filter
Register new filter xpsnr.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 20:55:40 +08:00