zengshuang
1cd71fc957
ffmpeg:Resolve aac compilation warnings.
...
Signed-off-by: zengshuang <zengshuang@xiaomi.com>
2026-04-20 20:58:47 +08:00
fangyibo
9b041395d9
ffmpeg: reduce codesize by ingnore tx_double and tx_int32
...
Signed-off-by: fangyibo <fangyibo@xiaomi.com>
2026-04-20 20:58:43 +08:00
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
Zhao Zhili
c49cd59e68
Revert "avutil/tx_template: extend to 2M"
...
This reverts commit 8f48a62, 9af8782, and bd3e71b.
Commit 8f48a62 extends tx to 2M, resulting in the tx_float bss
section reaching a size of 4M.
This isn't a issue on devices with normal memory sizes and OS
supporting virtual memory. But it's a real issue for embedded devices
with realtime OS, which may not support virtual memory, e.g., Nuttx.
This 4M of bss section map to physical memory directly, which is a
scarce resource on embedded devices.
Signed-off-by: fangyibo <fangyibo@xiaomi.com>
2026-04-20 20:58:40 +08:00
ligd
1ca5badda1
ffmpeg: add armv8-m.main support
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 20:58:39 +08:00
Kacper Michajłow
41eb35d584
avutil/tx: zero whole array, not only one element
...
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
2026-04-20 20:58:31 +08:00
yangyalei
f992ec1958
FFMPEG: add FFMPEG_TMPDIR define
...
Signed-off-by: yangyalei <yangyalei@xiaomi.com>
2026-04-20 20:58:16 +08:00
yangyalei
e26c1979bd
FFMPEG: adapt adevsrc filter to ffmpeg 7.x
...
Signed-off-by: yangyalei <yangyalei@xiaomi.com>
2026-04-20 20:58:05 +08:00
yangyalei
4449f17b1a
FFMPEG: fix tx_float_init.c compile warning
...
Signed-off-by: yangyalei <yangyalei@xiaomi.com>
2026-04-20 20:58:02 +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
afc2043962
FFMPEG: fix compiler error implicit declaration of function ‘gethrtime’
...
Signed-off-by: zhushiqshi <zhushiqshi@xiaomi.com>
2026-04-20 20:57:31 +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
Anton Khirnov
2aa7a2503f
lavu/opt: deprecate av_opt_ptr()
...
It has no more internal callers, and we do not want to support direct
pointer access via AVOptions, as that constrains AVOption API
extensions.
2026-04-20 20:57:10 +08:00
Lynne
dfd6b8370f
vulkan: do not create imageviews with video encode/decode usage
...
This function is only used for filtering and generic compute.
The issue is that a view inherits the usage flags from the image
by default, and the spec says the view format must be compatible
with the usage. VkImageViewUsageCreateInfo allows us to filter out
the indeded uses of the imageview.
Pffff.
2026-04-20 20:57:08 +08:00
Lynne
a040b9f397
vulkan: enable selecting a compatible representation of format
...
When using **integer** images inside shaders, it turns out
that conversion doesn't automatically happen, but we need to
explicitly use the imageviews to get the image exposed as
a suitable representation for the shader.
Finally enables bitexact image representations.
2026-04-20 20:57:08 +08:00
Lynne
f32822179f
hwcontext_vulkan: always enable MUTABLE creation flag
...
We need it even for something as simple as bitexact opening
of images.
2026-04-20 20:57:08 +08:00
Lynne
9cb0574821
vulkan: keep track of mapped memory in the buffer structure
...
Can/could be useful to know which buffers are mapped.
2026-04-20 20:57:08 +08:00
Lynne
bc7e761f71
vulkan: add support for AV_PIX_FMT_RGB96
2026-04-20 20:57:08 +08:00
Lynne
3c6f987c80
vulkan: add support for AV_PIX_FMT_RGBA128
2026-04-20 20:57:08 +08:00
Lynne
ecac9a597f
lavu: bump minor and add APIChanges entries for new 32bpc pixfmts
2026-04-20 20:57:07 +08:00
Lynne
2b1b9195e2
lavu/pixfmt: add AV_PIX_FMT_RGB96
2026-04-20 20:57:07 +08:00
Lynne
ec5f05edb3
lavu/pixfmt: add AV_PIX_FMT_RGBA128
...
This format is useful for doing certain lossless transforms on images,
RCT in particular, which require you to escalate the size from 16 to
32 bits to avoid overflows.
APIchanges will be done alongside when comitting.
2026-04-20 20:57:07 +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
Martin Schitter
7916720e64
avutil: add RGBF16 pix_fmt
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 20:56:59 +08:00
James Almer
cde4c108c4
avutil/hwcontext_vulkan: add proper maps for XV3{0,6}
...
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:56:58 +08:00
James Almer
9fa56efacc
avutil/hwcontext_videotoolbox: add support for AYUV pixel format
...
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:56:56 +08:00
Lynne
bc5f1218e9
vulkan: fix layout qualifiers for 32-bit RGBA float storage reps
...
r8
r16/r16f
r32f
Sure, GLSL. Makes sense.
2026-04-20 20:56:55 +08:00
Lynne
b051b86685
hwcontext_vulkan: enable shaderBufferInt64Atomics if supported
2026-04-20 20:56:55 +08:00
Lynne
773ae5e392
hwcontext_vulkan: add support for AV_PIX_FMT_RGBF32
2026-04-20 20:56:55 +08:00
Lynne
487d24362b
hwcontext_vulkan: add support for AV_PIX_FMT_RGBAF32
2026-04-20 20:56:55 +08:00
Lynne
04d4f7a608
vulkan: use correct signed image type for storage images
...
Using signed or unsigned integer formats/layouts requires that
"uimage" or "iimage" are used.
2026-04-20 20:56:54 +08:00
Lynne
1c5764a04f
vulkan: extend ff_vk_shader_rep_fmt to be useful for bitexactness
...
The original either reported 8 or 16-bit conversion from the
original, rather than being able to return the actual original.
This makes it usable in a situation where preserving exactness
is required.
2026-04-20 20:56:54 +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
52320c36ac
avutil/pixdesc: use a bigger variable type when writing bitstream formats
...
Fixes fate-imgutils and fate-pixelutils under gcc-usan after
29ea34728f1064877a0ab9b8dee0f3de69a2d750.
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:56:48 +08:00
Lynne
f2d4947eb6
vulkan: fix ImageView flexible array struct allocation
...
Same as the previous commit, the compiler may insert padding.
Thanks to Marvin Scholz for pointing this out.
2026-04-20 20:56:46 +08:00
Marvin Scholz
a06e2acd91
libavutil/vulkan: fix flexible array struct allocation
...
The flexible array member struct can have padding added by
the compiler which was not taken into account properly, which
could lead to a heap buffer overflow.
2026-04-20 20:56:46 +08:00
Lynne
8e47695c20
hwcontext_vulkan: set hwctx->device_features
...
This was forgotten during the recent device feature refactor.
2026-04-20 20:56:45 +08:00
Lynne
d3b3bb8d70
hwcontext_vulkan: remove redundant hostQueryReset setting
...
Its set just a few lines earlier.
2026-04-20 20:56:45 +08:00
Lynne
27972dfd0b
vulkan: add a #define when printf debugging is enabled
2026-04-20 20:56:45 +08:00
James Almer
4dbde78e8b
avutil/pixfmt: add V30X pixel format
...
This maps to the 444YpCbCr10 pixel format as defined by Apple.
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 20:56:45 +08:00