aboutsummaryrefslogtreecommitdiff
path: root/libvpx/y4minput.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/y4minput.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/y4minput.h')
-rw-r--r--libvpx/y4minput.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/libvpx/y4minput.h b/libvpx/y4minput.h
index a4a8b18dc..573750d74 100644
--- a/libvpx/y4minput.h
+++ b/libvpx/y4minput.h
@@ -56,8 +56,16 @@ struct y4m_input {
unsigned int bit_depth;
};
-int y4m_input_open(y4m_input *_y4m, FILE *_fin, char *_skip, int _nskip,
- int only_420);
+/**
+ * Open the input file, treating it as Y4M. |y4m_ctx| is filled in after
+ * reading it. The |skip_buffer| indicates bytes that were previously read
+ * from |file|, to do input-type detection; this buffer will be read before
+ * the |file| is read. It is of size |num_skip|, which *must* be 8 or less.
+ *
+ * Returns 0 on success, -1 on failure.
+ */
+int y4m_input_open(y4m_input *y4m_ctx, FILE *file, char *skip_buffer,
+ int num_skip, int only_420);
void y4m_input_close(y4m_input *_y4m);
int y4m_input_fetch_frame(y4m_input *_y4m, FILE *_fin, vpx_image_t *img);