summaryrefslogtreecommitdiff
path: root/vpx
AgeCommit message (Collapse)Author
2014-08-13vpx_codec_internal.h : clean out unused function warningJim Bankoski
Change-Id: I53659e3ff8ba1b70d89d152e0580ac7a412b89b2
2014-08-13vpx_internal_error -> fix -Wunused-function issuesJim Bankoski
Moved to global function to avoid unused function warnings... Change-Id: I4e9002dcb20748f6d8d84cbbe6ef2de0bd9a8018
2014-08-12Merge "vpx_codec_decode: check data size"James Zern
2014-08-12Merge "inline vpx functions in headers to avoid unused function warning"James Zern
2014-08-12inline vpx functions in headers to avoid unused function warningJim Bankoski
Change-Id: I80284ae82915b9df56f7c5ef4953bd53e8cffd1f
2014-08-11Merge "remove remaining references to XMA"James Zern
2014-08-11remove remaining references to XMAJames Zern
the bulk of the functionality was removed in: a42b5c2 Removing legacy XMA features from libvpx. BUG=840 Change-Id: I8ca51d6aa76028f36d0eb1a15d2f2e3161e12ea4
2014-08-11[spatial svc]Remove CONFIG_SPATIAL_SVC for ss_enable_auto_alt_ref in ↵Minghai Shang
vpx_codec_enc_cfg to fix heap-overflow issue in asan config Change-Id: Icdf08501db5f416285f751d316941dfacd2c69ba
2014-08-11vpx_codec_decode: check data sizeJames Zern
When a valid data pointer is given make sure the size is greater than zero. A previous check for vp9 was incorrectly removed in: 7050074 Make the api behavior conform to api spec. No semantics for valid pointers + 0-sized frames are defined for VPx codecs, so move the check to vpx_codec_decode(). This avoids an assert in vp9. + add some basic invalid param testing for decoder init/decode/destroy Change-Id: I99f9cef6076d15874fd72ac973f2685d8a2353c3
2014-08-08Adds spatial-svc macros to code to allow disablingDeb Mukherjee
Adds a couple of CONFIG_SPATIAL_SVC macros to allow compilation when spatial-svc is disabled. Change-Id: I67f84406d1d3fa26f225d9c6518161a0841f2d29
2014-08-08Merge "Removing legacy XMA features from libvpx."Dmitry Kovalev
2014-08-05Removing legacy XMA features from libvpx.Dmitry Kovalev
Change-Id: I60ffee7cf78e748792fa6d109322ec32f92e40a9
2014-08-05Add a codec control option to tune for screen content.Alex Converse
Change-Id: I12b0b0a06750cb9a5f1bdc3368deb44137acc9a3
2014-07-31Changes interface to avoid uninitialized warnings in vp9_cx_iface.c.Jim Bankoski
Change-Id: I1092239e21c1cde188ee2dcb765f4c6fc8c5cdec
2014-07-22[spatial svc]Use #if instead of #ifdef on macro CONFIG_SPATIAL_SVCMinghai Shang
Change-Id: Ifc94377a0d05d66e3d21b007893a985b66db6082
2014-07-17allow config options to limit max size of decodeJim Bankoski
This is a practical concern to allow us to fail in a decoder instance if the size of a file is bigger than we can reasonably handle. Change-Id: I0446b5502b1f8a48408107648ff2a8d187dca393
2014-07-14Rewrite functions related to first pass block statsPengchong Jin
Change-Id: I28679f88e2911b06eef5cbc83ecb62b8c69e4c53
2014-07-14[spatial svc]Implement alt reference framesMinghai Shang
All changes are for spatial svc only. 1. Enable encoding hidden frames in each layer and use alt reference idex to reference the hidden frame in each layer 2. Use golden reference idx for spatial reference 3. For those layers that don't have hidden frames (caused by lack of frame buffers), reference a hidden frame in lower layers 4. Add "auto-alt-refs" in svc options Change-Id: Idf27d1fd2fb5f3ffd9e86d2119235e3dad36c178
2014-07-05Adds support for reading and writing 10/12-bit y4mDeb Mukherjee
The y4m extension used is the same as the one used in ffmpeg/x264. The patch is adapted from the highbitdepth branch. Also adds unit tests for y4m header parsing and md5 check of the raw frame data, as well as y4m writing. [build fix for Mac/VS by not using tuples with strings] Change-Id: I40897ee37d289e4b6cea6fedc67047d692b8cb46
2014-07-02Reverting "Adds support for reading and writing 10/12-bit y4m" for now ↵Dmitry Kovalev
because of Mac Build Failure. This reverts commit 82dc1332af4b16d3e4ad3c4358498820637b7add Change-Id: I824bf42bf47c7df6985c79e451d6af913030d374
2014-07-02Adds support for reading and writing 10/12-bit y4mDeb Mukherjee
The y4m extension used is the same as the one used in ffmpeg/x264. The patch is adapted from the highbitdepth branch. Also adds unit tests for y4m header parsing and md5 check of the raw frame data, as well as y4m writing. Change-Id: Ie2794daf6dbafd2f128464f9b9da520fc54c0dd6
2014-06-27Merge "[spatial svc] Remove encoding modes since we only need one mode at ↵Minghai Shang
this time."
2014-06-25[spatial svc] Remove encoding modes since we only need one mode at this time.Minghai Shang
Change-Id: I1b6ed2e82a7e3e8a9e790bf29d667a3f856a9518
2014-06-25[spatial svc]Remove key frame quantizer settings since key frame is decided ↵Minghai Shang
by rate control Change-Id: I7eda0f5e678034f0e9c2ab481c517d2e9b280eb5
2014-06-24[spatial svc]Implement lag in frames for spatial svcMinghai Shang
Change-Id: I930dced169c9d53f8044d2754a04332138347409
2014-05-29Do not export non-existant symbolsSean McGovern
Change-Id: Ic0fb8e5016d064c2227cf5d87ffba86a4303c82b
2014-05-27Removing ctrl_id parameter from vpx_codec_control_fn_t.Dmitry Kovalev
Change-Id: I2b61c8c17ded1074dea92b4f6ad9be84d128b52a
2014-05-22Merge "[spatial svc] Remove hard coded rc_end_usage setting"Minghai Shang
2014-05-21[spatial svc] Disable auto alt referenceMinghai Shang
Change-Id: I2a41c1fe08261065dd21fe631b2b5937acfbfb51
2014-05-21[spatial svc] Remove hard coded rc_end_usage settingMinghai Shang
Change-Id: Ifb09502ddf62664b3bfc62172de46bc36fde8efb
2014-05-20Merge "make spatial svc an experiment"James Zern
2014-05-20[spatial svc] Remove some restrictions that are needed to improve the qualityMinghai Shang
Change-Id: I76a48b03388a8c5cc74b871deb836cd92263b306
2014-05-16Cleaning up vp9_cx_iface.c.Dmitry Kovalev
Marking unused parameters with (void), adding consts, fixing formatting. Change-Id: I8ac1e6606c0f2673f78bc41830e672a680ffed02
2014-05-14make spatial svc an experimentJames Zern
disabled by default, enable with: --enable-experimental --enable-spatial-svc this disables vp9_spatial_svc_encoder and svc_test, further work is needed to remove internal lib references Change-Id: I6a487ecbf07eb98843a99d96e17f08f960b63088
2014-05-12svc_encodeframe.c: change to use correct typeYaowu Xu
Change-Id: I2e97a1d3935944573d027a8020fe1aa391a6f27a
2014-05-07Merge "Mark VP8E_SET_ARNR_TYPE as being deprecated"Adrian Grange
2014-05-05Mark VP8E_SET_ARNR_TYPE as being deprecatedAdrian Grange
In a future release we plan to remove the option of setting the ARNR filter type. This patch marks this control as being deprecated as advance warning that it will be removed from the API at some point. Change-Id: I5dcca804b44c7c93b1a10da7d69d19ba6061869c
2014-05-02[spatial svc] Fix one extra frame count during flushMinghai Shang
Change-Id: Ia096aafa8aca4f9e58450c4b861393d8f0a15afe
2014-05-02Merge "Revert "Force ARNR filtering to be centered on the ARF frame""Adrian Grange
2014-04-30Added 16bit vpx_img_fmt_t enumsPeter de Rivaz
Added in preparation for modifications to support high bitdepth operations. Change-Id: I1ad403ea8886cb84020ff06807ae25e2e4bff608
2014-04-29Revert "Force ARNR filtering to be centered on the ARF frame"Adrian Grange
This reverts commit 59e733ca81b707780901340686ecd7419077eb54. Hold off removing arnr_type to give users the opportunity to change their script files to handle its deprecation. A follow-up patch will mark the control for setting arnr_type as deprecated and it will be removed completely in a later revision of the code. Change-Id: I8b817c744e144d3714234a4cd4309816d0c7e3e8
2014-04-23Add VPXD_SET_DECRYPTOR support to the VP9 decoder.Joey Parrish
Change-Id: I88f86c8ff9af34e0b6531028b691921b54c2fc48
2014-04-14Enable vpxenc to specify internal coded frame sizeAdrian Grange
Added command line flags "resize-width" & "resize-height" to allow the user to specify the frame size to encode at. These two flags are ignored if the "resize-allowed" switch is not set to 1. All frames in the clip are then encoded at this size, which must be smaller than the raw frame size. Change-Id: I3d64bd9303d5c0bd678461a866a1ea621700d744
2014-04-03Add codec control function for enabling frame_periodic_boost.Marco Paniconi
Change-Id: I6371ef7301c6bc3138552bd349e9bd154dee3e08
2014-03-27[svc] Fix issue for setting layers through ffmpegMinghai Shang
Root cause is number of spatial layers is set through parse_options() when running from ffmpeg. Change-Id: Icd79cd13fd76e8712150d803838a33fee9117dcb
2014-03-21[svc] Add min/max q and min/max bitrate in svc test appMinghai Shang
Change-Id: I67ea45119f23659279d24aa67eb823c751ac86fc
2014-03-19[svc] Finalize spatial svc first pass rate controlMinghai Shang
1. Save stats for each spatial layer 2. Add frame buffer management for svc first pass rc 3. Set default spatial layer to 1 4. Flush encoder at the end of stream in test app This only supports spatial svc. Change-Id: Ia89cfa87bb6394e6c0405b921d86c426d0a0c9ae
2014-03-14svc_encodeframe: quiet -Warray-bounds warningsJames Zern
si->layers is validated prior to assignment; add an assertion prior to first use as a loop bound Change-Id: I727d4e24be3c352c3e5320d92e89d3f787944812
2014-03-10Adding type casts to remove C++ compiler errors.Dmitry Kovalev
Change-Id: I224e49955ad6c833d204feb8efc4056e37d206be
2014-02-28[svc] 1. Add two pass RC options in vp9_spatial_scalable_encoder.Minghai Shang
2. Add read/write for RC stats file The two pass RC for svc does not work yet. This is just the first step. We need further development to make it working. Change-Id: I8ef0e177dff0b5ed3c97a916beea5123717cc6f2