summaryrefslogtreecommitdiff
path: root/examples/vp8cx_set_ref.c
AgeCommit message (Collapse)Author
2020-05-07examples: use die() on dec/enc_init() failureJames Zern
rather than die_codec(). calling any api functions with an uninitialized codec context is undefined. this avoids a crash in a call to vpx_codec_error_detail(). BUG=webm:1688 Change-Id: I4a4feeabc1cafa44c8d2f24587fad79e313dba6d
2016-09-19examples: quiet -Wshorten-64-to-32 warningsJames Zern
all around usage of strtol/strtoul Change-Id: If907c89f107a068987aa71ddd93cee9a7389e4cd
2016-09-16zero structures completelyJohann
Use vp[89]_zero when possible. Expand the {} set when neither is available or nearby. Change-Id: Ifc1f46f60100916cd798bf7be3a10f09321c99bd
2016-07-18examples: apply clang-formatclang-format
Change-Id: Icc3bbb07c99a31a70030baec7e51b881902a7b5e
2015-05-11tools_common.h: fix usage_exit() prototypeJames Zern
+ the definitions in the examples silences a missing-prototype warning Change-Id: I7c064cacd6d2073a6107de6c3e2cc46ef8a68411
2015-02-04Xcode: Fix includes in examples.Tom Finegan
The current file's directory, ".", is treated much more literally when building libvpx examples with Xcode than it is with make, and clang cannot find common include files included via "./" when those files actually reside one directory up in the tree. Change-Id: I5f66a026282e35d80248ca4052ebb882b859172e
2014-10-13Resolves some lint errorsDeb Mukherjee
And also fixes some style consistency issues. Change-Id: I3dc6d44e17d2d6075dc9b02c4255a7395046c5e0
2014-09-02Removing legacy compatibility layer.Dmitry Kovalev
Change-Id: I6fdcea0e0faf42386dd2b8f972a3b3fb2c21b2c7
2014-08-15vp8cx_set_ref: Flush encoder.Dmitry Kovalev
According to the current API spec we need to call vpx_codec_encode() until vpx_codec_get_cx_data() returns NULL. Change-Id: Ide0c531dc0d453df8ec1edb8acb894856d6cc22e
2014-07-15Renames interface field in VpxInterfaceDeb Mukherjee
Renames interface to codec_interface since it is a reserved word on windows. Change-Id: I84f2cbf257a4c44f16dc2464127e35ee405c2c3e
2014-03-06vp8cx_set_ref: fix variable assignmentJames Zern
assign vpx_ref_frame_t members explicitly avoiding incompatibility in visual studio builds Change-Id: I22df4c5ebb772d65b4d72f22949fbde53543d7ec
2014-03-05Converting vp8cx_set_ref example to use new API.Dmitry Kovalev
Change-Id: I8e40811c85c2246da75d9f06c4fda1a5079fcc71
2014-02-19vp8cx_set_ref.c: Silence MSVC data loss warning.Tom Finegan
Change-Id: I1210ce23cf8f98950c445a17ef51a73c6852c89f
2014-01-07Removing examples code generation and making them static.Dmitry Kovalev
All documentation will be provided as comments in the source files. Change-Id: Ie609852747733c181191f864204c787a6b23ef3a