aboutsummaryrefslogtreecommitdiff
path: root/libvpx/tools_common.h
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2021-10-07 15:27:06 -0700
committerJames Zern <jzern@google.com>2021-10-09 10:39:43 -0700
commit721e99e7a0413b80e8adb60df412252fab143603 (patch)
tree5d43178a7f510511840334ee75c517da70104e1b /libvpx/tools_common.h
parent8af90b30e94655a3ed7aa1927429e1466e8e26de (diff)
downloadlibvpx-721e99e7a0413b80e8adb60df412252fab143603.tar.gz
libvpx: update to v1.11.0
Current HEAD: 626ff35955c2c35b806b3e0ecf551a1a8611cdbf https://chromium.googlesource.com/webm/libvpx/+/refs/tags/v1.11.0 git log from upstream: 626ff3595 Update AUTHORS and version info in libs.mk 2ea1b908d {vp8,vp9}_set_roi_map: fix validation with INT_MIN 16837ae16 CHANGELOG for Smew v1.11.0 d00e68ad8 Cap duration to avoid overflow 5df4195b4 Define the VPX_NO_RETURN macro for MSVC 0d1aec737 vpx_ports/x86.h: sync with aom_ports/x86.h f685d508d vp9 rc: Fills VP9_COMP zero at initialization fc04a9491 Fix some instances of -Wunused-but-set-variable. 0973ac05b Remove unused old FP_MB_STATS code 7c00f0ce1 Clean up allow_partition_search_skip code cf64eb280 Disable allow_partition_search_skip feature 4a4ea28a3 Add control to get QP for all spatial layers 6b4b82fd7 Use round to be more accurate casting float to int cd260eba1 Add cyclic refresh to vp9 rtc external ratecontrol f9b565f7e Refactor rtc rate control test b1f2532b4 Avoid chroma resampling for 420mpeg2 input 76ad30b6f Add codec control for rtc external ratectrl lib 69fc60463 Check for addition overflows in vpx_img_set_rect() df7dc31cd Document vpx_img_set_rect() more precisely 5f345a924 Avoid overflow in calc_iframe_target_size <...> Bug: webm:1732 Test: (aosp_sargo_hwasan-userdebug) "CtsMediaTestCases:include-filter:.*(?i:vp[89])" Test: (aosp_sargo_hwasan-userdebug, armeabi-v7a) "CtsMediaTestCases:include-filter:.*(?i:vp[89])" Test: (aosp_sargo_hwasan-userdebug) "VtsHalMediaC2V1_0TargetVideoDecTest:include-filter:*vp9*" Test: (aosp_sargo_hwasan-userdebug) "VtsHalMediaC2V1_0TargetVideoDecTest:include-filter:*vp8*" Change-Id: I63cd3445aa484984dea5b175fd618592dca5a203
Diffstat (limited to 'libvpx/tools_common.h')
-rw-r--r--libvpx/tools_common.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/libvpx/tools_common.h b/libvpx/tools_common.h
index 4526d9f16..4e8851fc1 100644
--- a/libvpx/tools_common.h
+++ b/libvpx/tools_common.h
@@ -110,6 +110,8 @@ extern "C" {
#if defined(__GNUC__)
#define VPX_NO_RETURN __attribute__((noreturn))
+#elif defined(_MSC_VER)
+#define VPX_NO_RETURN __declspec(noreturn)
#else
#define VPX_NO_RETURN
#endif
@@ -117,14 +119,14 @@ extern "C" {
/* Sets a stdio stream into binary mode */
FILE *set_binary_mode(FILE *stream);
-void die(const char *fmt, ...) VPX_NO_RETURN;
-void fatal(const char *fmt, ...) VPX_NO_RETURN;
+VPX_NO_RETURN void die(const char *fmt, ...);
+VPX_NO_RETURN void fatal(const char *fmt, ...);
void warn(const char *fmt, ...);
-void die_codec(vpx_codec_ctx_t *ctx, const char *s) VPX_NO_RETURN;
+VPX_NO_RETURN void die_codec(vpx_codec_ctx_t *ctx, const char *s);
/* The tool including this file must define usage_exit() */
-void usage_exit(void) VPX_NO_RETURN;
+VPX_NO_RETURN void usage_exit(void);
#undef VPX_NO_RETURN