From: Rick Kern
Updated patch with requested changes.
Rick Kern (10):
Added VideoToolbox H.264 encoder.
vtenc: Enable hardware encoding on OSX.
vtenc: Removed trailing whitespace.
vtenc: Fixed iOS compilation.
vtenc: Check for min iOS/OSX versions.
Better VideoToolbox check in config
From: Rick Kern
Enable with configure --enable-vtenc and encode using -codec:v vtenc_h264.
Signed-off-by: Rick Kern
---
MAINTAINERS|1 +
configure | 14 +
libavcodec/Makefile|1 +
libavcodec/allcodecs.c |1 +
libavcodec/vtenc.c | 1089
From: Rick Kern
Use correct dictionary key/value to enable hardware encoding on OSX.
Signed-off-by: Rick Kern
---
libavcodec/vtenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/vtenc.c b/libavcodec/vtenc.c
index 06c5360..f497c38 100644
--- a/libavcodec/vtenc.c
+++ b/libavcod
From: Rick Kern
Signed-off-by: Rick Kern
---
libavcodec/vtenc.c | 308 ++---
1 file changed, 154 insertions(+), 154 deletions(-)
diff --git a/libavcodec/vtenc.c b/libavcodec/vtenc.c
index f497c38..b363492 100644
--- a/libavcodec/vtenc.c
+++ b/lib
From: Rick Kern
configure was checking for the SDK version being used to compile. Now it
compares against the minimum deployment target.
Signed-off-by: Rick Kern
---
configure | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index e465424..718f28
From: Rick Kern
Removed dictionary keys that aren't supported on iOS builds.
Signed-off-by: Rick Kern
---
libavcodec/vtenc.c | 4
1 file changed, 4 insertions(+)
diff --git a/libavcodec/vtenc.c b/libavcodec/vtenc.c
index b363492..7132411 100644
--- a/libavcodec/vtenc.c
+++ b/libavcodec/v
From: Rick Kern
Some memory allocations were unchecked.
Signed-off-by: Rick Kern
---
libavcodec/vtenc.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/libavcodec/vtenc.c b/libavcodec/vtenc.c
index f0d8289..583244c 100644
--- a/libavcodec/vtenc.c
+++ b/libavcode
From: Rick Kern
Condition was not being verified after conditional variable unblocked.
Signed-off-by: Rick Kern
---
libavcodec/vtenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vtenc.c b/libavcodec/vtenc.c
index 7132411..f0d8289 100644
--- a/libavcodec/vten
From: Rick Kern
---
configure | 12 +---
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/configure b/configure
index 718f285..f99fbd9 100755
--- a/configure
+++ b/configure
@@ -5474,17 +5474,7 @@ enabled openssl && { check_lib openssl/ssl.h
SSL_library_init -lssl
From: Rick Kern
The CMSampleBufferRef passed into the encoder can be NULL. Added check.
Signed-off-by: Rick Kern
---
libavcodec/vtenc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/vtenc.c b/libavcodec/vtenc.c
index 583244c..78a918b 100644
--- a/libavcodec
From: Rick Kern
Moved all declarations to the top of their block.
Signed-off-by: Rick Kern
---
libavcodec/vtenc.c | 409 ++---
1 file changed, 260 insertions(+), 149 deletions(-)
diff --git a/libavcodec/vtenc.c b/libavcodec/vtenc.c
index 78a918b
11 matches
Mail list logo