[x265] [PATCH] api: new API functions need to be exported from Win DLL and added to x265_api
Steve Borho
steve at borho.org
Wed May 6 20:08:56 CEST 2015
# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1430935187 18000
# Wed May 06 12:59:47 2015 -0500
# Node ID 9dd03a2b8b9bcb8be1202b2710e4ff3aa2207c05
# Parent 614b33d1b4ff296edeafdc4b0383360384b02100
api: new API functions need to be exported from Win DLL and added to x265_api
The x265_api change affects binary compatibility, so bumping the build number
again
diff -r 614b33d1b4ff -r 9dd03a2b8b9b source/CMakeLists.txt
--- a/source/CMakeLists.txt Tue Mar 31 15:38:35 2015 +0530
+++ b/source/CMakeLists.txt Wed May 06 12:59:47 2015 -0500
@@ -30,7 +30,7 @@
mark_as_advanced(FPROFILE_USE FPROFILE_GENERATE NATIVE_BUILD)
# X265_BUILD must be incremented each time the public API is changed
-set(X265_BUILD 58)
+set(X265_BUILD 59)
configure_file("${PROJECT_SOURCE_DIR}/x265.def.in"
"${PROJECT_BINARY_DIR}/x265.def")
configure_file("${PROJECT_SOURCE_DIR}/x265_config.h.in"
diff -r 614b33d1b4ff -r 9dd03a2b8b9b source/encoder/api.cpp
--- a/source/encoder/api.cpp Tue Mar 31 15:38:35 2015 +0530
+++ b/source/encoder/api.cpp Wed May 06 12:59:47 2015 -0500
@@ -264,6 +264,7 @@
&x265_picture_init,
&x265_encoder_open,
&x265_encoder_parameters,
+ &x265_encoder_reconfig,
&x265_encoder_headers,
&x265_encoder_encode,
&x265_encoder_get_stats,
diff -r 614b33d1b4ff -r 9dd03a2b8b9b source/x265.def.in
--- a/source/x265.def.in Tue Mar 31 15:38:35 2015 +0530
+++ b/source/x265.def.in Wed May 06 12:59:47 2015 -0500
@@ -14,6 +14,7 @@
x265_build_info_str
x265_encoder_headers
x265_encoder_parameters
+x265_encoder_reconfig
x265_encoder_encode
x265_encoder_get_stats
x265_encoder_log
diff -r 614b33d1b4ff -r 9dd03a2b8b9b source/x265.h
--- a/source/x265.h Tue Mar 31 15:38:35 2015 +0530
+++ b/source/x265.h Wed May 06 12:59:47 2015 -0500
@@ -1299,6 +1299,7 @@
void (*picture_init)(x265_param*, x265_picture*);
x265_encoder* (*encoder_open)(x265_param*);
void (*encoder_parameters)(x265_encoder*, x265_param*);
+ int (*encoder_reconfig)(x265_encoder*, x265_param*);
int (*encoder_headers)(x265_encoder*, x265_nal**, uint32_t*);
int (*encoder_encode)(x265_encoder*, x265_nal**, uint32_t*, x265_picture*, x265_picture*);
void (*encoder_get_stats)(x265_encoder*, x265_stats*, uint32_t);
More information about the x265-devel
mailing list