For compatibility with constrained_baseline in the future,
replace VT_H264Profile/VT_HEVCProfile with avctx->profile.
Signed-off-by: xufuji456 <839789...@qq.com>
---
libavcodec/videotoolboxenc.c | 55 +++-
1 file changed, 16 insertions(+), 39 deletions
The low-latency decoding mode has available in Android api 30.
See
https://developer.android.google.cn/reference/android/media/MediaCodec?hl=en#PARAMETER_KEY_LOW_LATENCY
Signed-off-by: xufuji456 <839789...@qq.com>
---
libavcodec/mediacodecdec.c | 7 ++-
1 file changed, 6 insertions
The low-latency decoding mode has available in Android api 30.
It will keep less buffer internally, and output frame as fast as possible.
See
https://developer.android.google.cn/reference/android/media/MediaCodec?hl=en#PARAMETER_KEY_LOW_LATENCY
Signed-off-by: xufuji456 <839789...@qq.
The Constrained_Baseline and Constrained_High profile of H264 has available in
iOS 15.0
Signed-off-by: xufuji456 <839789...@qq.com>
---
libavcodec/videotoolboxenc.c | 25 +
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/libavcodec/videotoolboxe
Use CFDictionarySetValue to enable low-latency encoding mode.
Since the key is a type of "EncoderSpecification", instead of
"CompressionProperty".
Signed-off-by: xufuji456 <839789...@qq.com>
---
libavcodec/videotoolboxenc.c | 18 +++---
1 file changed, 7 i
---
libavcodec/vp9.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index 7c0a246446..ebb89a413c 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -1371,7 +1371,7 @@ static int decode_tiles(AVCodecContext *avctx,
}
---
libavcodec/vp9.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index 7c0a246446..ebb89a413c 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -1371,7 +1371,7 @@ static int decode_tiles(AVCodecContext *avctx,
}
---
libavcodec/aarch64/hevcdsp_idct_neon.S| 51 +++
libavcodec/aarch64/hevcdsp_init_aarch64.c | 4 ++
2 files changed, 55 insertions(+)
diff --git a/libavcodec/aarch64/hevcdsp_idct_neon.S
b/libavcodec/aarch64/hevcdsp_idct_neon.S
index 124c50998a..fe8baf1348 100644
--- a/
---
libavcodec/vp9.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index ebb89a413c..4a9fed62e0 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -948,7 +948,7 @@ static int decode_frame_header(AVCodecContext *avctx,
---
libavcodec/aarch64/hevcdsp_idct_neon.S| 40 +++
libavcodec/aarch64/hevcdsp_init_aarch64.c | 4 +++
2 files changed, 44 insertions(+)
diff --git a/libavcodec/aarch64/hevcdsp_idct_neon.S
b/libavcodec/aarch64/hevcdsp_idct_neon.S
index 124c50998a..f5135160b6 100644
--- a
---
libavcodec/arm/hevcdsp_idct_neon.S | 18 ++
1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/libavcodec/arm/hevcdsp_idct_neon.S
b/libavcodec/arm/hevcdsp_idct_neon.S
index 75795e6a6a..41ca3b83a8 100644
--- a/libavcodec/arm/hevcdsp_idct_neon.S
+++ b/libavcodec/arm/
---
libavcodec/arm/hevcdsp_init_neon.c | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/libavcodec/arm/hevcdsp_init_neon.c
b/libavcodec/arm/hevcdsp_init_neon.c
index 8094e6c62e..4063acaf51 100644
--- a/libavcodec/arm/hevcdsp_init_neon.c
+++ b/libavcodec/a
---
libavcodec/arm/hevcdsp_init_neon.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/arm/hevcdsp_init_neon.c
b/libavcodec/arm/hevcdsp_init_neon.c
index 34f51b00d1..19e00af50e 100644
--- a/libavcodec/arm/hevcdsp_init_neon.c
+++ b/libavcodec/arm/hevcdsp_init_neo
---
libswresample/audioconvert.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libswresample/audioconvert.c b/libswresample/audioconvert.c
index 1d75ba1495..b297514b1a 100644
--- a/libswresample/audioconvert.c
+++ b/libswresample/audioconvert.c
@@ -242,7 +242,7 @@ int swri_au
---
fftools/ffmpeg.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 743bc0c6b6..0ce9531235 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -569,6 +569,13 @@ static void ffmpeg_cleanup(int ret)
av_freep(&input_files);
av_freep(
---
libavcodec/arm/hevcdsp_idct_neon.S | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/libavcodec/arm/hevcdsp_idct_neon.S
b/libavcodec/arm/hevcdsp_idct_neon.S
index 41ca3b83a8..66ed1c6785 100644
--- a/libavcodec/arm/hevcdsp_idct_neon.S
+++ b/libavcodec/arm/hevcdsp_i
---
libavcodec/aarch64/hevcdsp_idct_neon.S| 52 ++-
libavcodec/aarch64/hevcdsp_init_aarch64.c | 2 +
2 files changed, 53 insertions(+), 1 deletion(-)
diff --git a/libavcodec/aarch64/hevcdsp_idct_neon.S
b/libavcodec/aarch64/hevcdsp_idct_neon.S
index b11f56862a..00d9690466
---
libavcodec/arm/hevcdsp_deblock_neon.S | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/arm/hevcdsp_deblock_neon.S
b/libavcodec/arm/hevcdsp_deblock_neon.S
index 7cb7487ef6..ebcd056430 100644
--- a/libavcodec/arm/hevcdsp_deblock_neon.S
+++ b/libavcodec/arm/hevcdsp_deblock_neon.S
It makes sense when copying 4K/8K video, if linesize
equals to aligned linesize.
Signed-off-by: xufuji456 <839789...@qq.com>
---
libavutil/imgutils.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c
index 9ab5
27718 2.4%
31288 30056 3.9%
32336 31571 2.4%
Signed-off-by: xufuji456 <839789...@qq.com>
---
libavutil/imgutils.c | 16
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c
index 9ab5757cf6..f5898756ba
Signed-off-by: xufuji456 <839789...@qq.com>
---
libavcodec/videotoolboxenc.c | 12
1 file changed, 12 insertions(+)
diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
index c6f22723d6..88334f1851 100644
--- a/libavcodec/videotoolboxenc.c
+++ b/liba
When using low-latency mode, it eliminates frame reordering
and follows a one-in-one-out encoding mode
Signed-off-by: xufuji456 <839789...@qq.com>
---
libavcodec/videotoolboxenc.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/libavcodec/videotoolboxenc.c b/liba
When using low-latency mode, it eliminates frame reordering
and follows a one-in-one-out encoding mode
Signed-off-by: xufuji456 <839789...@qq.com>
---
libavcodec/videotoolboxenc.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/libavcodec/videotoolboxenc.c b/liba
The CBP/CHP profile has available with H264 in iOS 15.0.
Official Doc:
https://developer.apple.com/documentation/videotoolbox/kvtprofilelevel_h264_constrainedbaseline_autolevel
Signed-off-by: xufuji456 <839789...@qq.com>
---
libavcodec/videotoolboxenc.c | 24 ++--
Building iOS platform with arm64, the compiler has a warning: "instruction
movi.2d with immediate #0 may not function correctly on this CPU, converting to
movi.16b"
Signed-off-by: xufuji456 <839789...@qq.com>
---
libavcodec/aarch64/hevcdsp_e
Building with iOS platform, the compiler has a warning:
"'devicesWithMediaType:' is deprecated: first deprecated in iOS 10.0 - Use
AVCaptureDeviceDiscoverySession instead"
Signed-off-by: xufuji456 <839789...@qq.com>
---
libavdevice/avfoundation.m | 81 +++
Building with iOS platform, the compiler has a warning:
"'devicesWithMediaType:' is deprecated: first deprecated in iOS 10.0 - Use
AVCaptureDeviceDiscoverySession instead"
Signed-off-by: xufuji456 <839789...@qq.com>
---
libavdevice/avfoundation.m | 25 +++
Building with iOS platform, the compiler has a warning:
"'devicesWithMediaType:' is deprecated: first deprecated in iOS 10.0 - Use
AVCaptureDeviceDiscoverySession instead"
Signed-off-by: xufuji456 <839789...@qq.com>
---
libavdevice/avfoundation.m | 23 +
Building with iOS platform, the compiler has a warning:
"'devicesWithMediaType:' is deprecated: first deprecated in iOS 10.0 - Use
AVCaptureDeviceDiscoverySession instead"
Signed-off-by: xufuji456 <839789...@qq.com>
---
libavdevice/avfoundation.m | 65 +++
Building with macOS platform, the compiler has a warning:
'kAudioObjectPropertyElementMaster' is deprecated in macOS 12.0
Signed-off-by: xufuji456 <839789...@qq.com>
---
libavdevice/audiotoolbox.m | 4
1 file changed, 4 insertions(+)
diff --git a/libavdevice/audiotoolbox
Here is the msg: "libavfilter/metal/utils.m:35: error: 'MTLGPUFamilyCommon3' is
only available on iOS 13.0"
More Info:
https://developer.apple.com/documentation/metal/mtlgpufamily/mtlgpufamilycommon3
Signed-off-by: xufuji456 <839789...@qq.com>
---
libavfilter/me
There is a warning in XCode:"Declaration shadows a local variable"
Signed-off-by: xufuji456 <839789...@qq.com>
---
fftools/ffplay.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index ea5ff31393..17861e60be 1006
32 matches
Mail list logo