summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avutil: remove deprecated FF_API_XVMCJames Almer2024-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil: remove deprecated FF_API_FIFO_OLD_APIJames Almer2024-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil: remove deprecated FF_API_FIFO_PEEK2James Almer2024-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter: remove deprecated FF_API_LIBPLACEBO_OPTSJames Almer2024-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat: remove deprecated FF_API_AVIO_WRITE_NONCONSTJames Almer2024-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat: remove deprecated FF_API_AVFORMAT_IO_CLOSEJames Almer2024-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat: remove deprecated FF_API_AVIODIRCONTEXTJames Almer2024-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat: remove deprecated FF_API_GET_END_PTSJames Almer2024-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: remove deprecated FF_CODEC_CRYSTAL_HDJames Almer2024-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: remove deprecated FF_API_SLICE_OFFSETJames Almer2024-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: remove deprecated FF_API_AVCTX_FRAME_NUMBERJames Almer2024-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: remove deprecated FF_API_VT_HWACCEL_CONTEXTJames Almer2024-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: remove deprecated FF_API_AVCODEC_CHROMA_POSJames Almer2024-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: remove deprecated FF_API_VT_OUTPUT_CALLBACKJames Almer2024-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: remove deprecated FF_API_AYUV_CODECIDJames Almer2024-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: remove deprecated FF_API_SVTAV1_OPTSJames Almer2024-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: remove deprecated FF_API_IDCT_NONEJames Almer2024-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/hq_hqa: Make VLC tables staticAndreas Rheinhardt2024-03-07
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/hq_hqadata: Move data in a headerAndreas Rheinhardt2024-03-07
| | | | | | | | It is only used by hq_hqa.c, so said header can simply be included there. Also move the code to initialize the VLCs to hq_hqa.c. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/vulkan_decode: Remove always-false checkAndreas Rheinhardt2024-03-07
| | | | | | | | These fields are set for all Vulkan decoding hwaccels; they would be useless if it were different. Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/vulkan_decode: Un-sparse extensions tableAndreas Rheinhardt2024-03-07
| | | | | | | | | Only three of the 226 (== AV_CODEC_ID_AV1) entries have been used. Unsparsing this table is especially important given that this array lives in .data.rel.ro. Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/vulkan_video: Merge dec part of FFVkCodecMap and extension propsAndreas Rheinhardt2024-03-07
| | | | | | | | | | | | | | | | All the fields of FFVkCodecMap are either decoder-only or encoder-only (with the latter being unused and unset for now). Yet there is already a per-decoder struct containing static information about these decoders, namely VkExtensionProperties. This commit merges the decoder-parts of FFVkCodecMap with the VkExtensionProperties into a common structure. Given that FFVkCodecMap is now unused, it is removed. Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/vulkan_video: Remove unused arrayAndreas Rheinhardt2024-03-07
| | | | | Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/options: Deprecate av_fmt_ctx_get_duration_estimation_method()Andreas Rheinhardt2024-03-06
| | | | | | Forgotten in b7785d10b00c88029d8af7dbddac09ab0d6f2b7f. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/decode: remove HDR10+ from the global side data arrayJames Almer2024-03-05
| | | | | | | It's a per packet/frame side data type. Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* fate/iamf: print stream dispositionJames Almer2024-03-05
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/mov: add a heic test with a derived image using a single item twiceJames Almer2024-03-05
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/mov: use framecrc for the remaining avif/heic testsJames Almer2024-03-05
| | | | | | Put them in sync with the other tests. Signed-off-by: James Almer <jamrial@gmail.com>
* fate/mov: print stream group information for avif/heic testsJames Almer2024-03-05
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/hwcontext_videotoolbox: Allocate pub and priv frames hwctx togetherAndreas Rheinhardt2024-03-05
| | | | | | | | | | This is possible because the lifetime of both coincide. Besides reducing the number of allocations this also simplifies access to VTFramesContext as one no longer has to go through AVHWFramesInternal. Tested-by: Jan Ekström <jeebjp@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/mov: fix setting dependent disposition on ambisonic IAMF streamsJames Almer2024-03-05
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/mov: print stream group information for iamf testsJames Almer2024-03-05
| | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* fate/iamf: print stream group informationJames Almer2024-03-05
| | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* fftools/ffprobe: add support for Stream GroupsJames Almer2024-03-05
| | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* fftools/ffprobe: fix printing side data components and piecesJames Almer2024-03-05
| | | | | | | | | Components and pieces are side data specific fields and there's a variable amount of them. They also need to be identified in some form, so print a type too. Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/avformat: add a function to return the name of stream groupsJames Almer2024-03-05
| | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/iamf_writer: constify some variablesJames Almer2024-03-05
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/iamf_writer: clear extradata_size on extradata allocation failureJames Almer2024-03-05
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/dashenc, hlsenc: Return 0 on succes from write_headerAndreas Rheinhardt2024-03-05
| | | | | | | | | | | | | Do not propagate the return value of avformat_write_header(), as it contains the information whether the output had already been initialized in avformat_init_output(), but this is set generically; the return value of FFOutputFormat.write_header is not documented at all (and is currently ignored if >= 0), but it is more future-proof to simply return 0 on success. Reviewed-by: Liu Steven <lq@chinaffmpeg.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/hlsenc: Redo checking for strftime %s support to avoid warningsAndreas Rheinhardt2024-03-05
| | | | | | | | | This is intended to avoid -Wformat= warnings on systems where %s might not be supported (and also generally emitted by GCC with -pedantic). Reviewed-by: Liu Steven <lq@chinaffmpeg.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/mediacodecenc: Add a hint message to use nv12 pix_fmtZhao Zhili2024-03-05
| | | | Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* avformat/avio: Avoid av_strdup(NULL)Andreas Rheinhardt2024-03-05
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/avio: Avoid indirection in ffio_fdopen()Andreas Rheinhardt2024-03-05
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/avio: Avoid function pointer castsAndreas Rheinhardt2024-03-05
| | | | | | | It is undefined behaviour to use a different type for a call than the actual type of the function. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/aviobuf: Move code specific to URLContexts to avio.cAndreas Rheinhardt2024-03-05
| | | | | | | This separates the URL-layer adjacent parts of the code from the parts that are also usable with custom IO. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/hwcontext_qsv: Allocate pub and priv frames hwctx togetherAndreas Rheinhardt2024-03-05
| | | | | | | | | This is possible because the lifetime of both coincide. Besides reducing the number of allocations this also simplifies access to QSVFramesContext as one no longer has to go through AVHWFramesInternal. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/hwcontext_qsv: Allocate public and priv device hwctx togetherAndreas Rheinhardt2024-03-05
| | | | | | | | | This is possible because the lifetime of both coincide. Besides reducing the number of allocations this also simplifies access to QSVDeviceContext as one no longer has to go through AVHWDeviceInternal. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/hwcontext_d3d11va: Allocate pub and priv frames hwctx togetherAndreas Rheinhardt2024-03-05
| | | | | | | | | This is possible because the lifetime of both coincide. Besides reducing the number of allocations this also simplifies access to D3D11VAFramesContext as one no longer has to go through AVHWFramesInternal. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/hwcontext_dxva2: Allocate pub and priv frames hwctx togetherAndreas Rheinhardt2024-03-05
| | | | | | | | | This is possible because the lifetime of both coincide. Besides reducing the number of allocations this also simplifies access to DXVA2FramesContext as one no longer has to go through AVHWFramesInternal. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/iamfenc: ensure updated extradata is writtenJames Almer2024-03-04
| | | | Signed-off-by: James Almer <jamrial@gmail.com>