platform/upstream/libvpx.git
10 years agoMerge "tests: enable datarate_test based on CONFIG_ENCODERS"
James Zern [Sat, 22 Feb 2014 18:16:25 +0000 (10:16 -0800)]
Merge "tests: enable datarate_test based on CONFIG_ENCODERS"

10 years agoChanged a constant array to static const type
Yaowu Xu [Sat, 22 Feb 2014 00:58:36 +0000 (16:58 -0800)]
Changed a constant array to static const type

Change-Id: I5b3918441f63ceb7889dcf546e9a2d781be4a3cb

10 years agoMerge "Remove an unused variable"
Yaowu Xu [Sat, 22 Feb 2014 06:44:05 +0000 (22:44 -0800)]
Merge "Remove an unused variable"

10 years agotests: enable datarate_test based on CONFIG_ENCODERS
James Zern [Sat, 22 Feb 2014 02:33:09 +0000 (18:33 -0800)]
tests: enable datarate_test based on CONFIG_ENCODERS

not just CONFIG_VP8_ENCODER; there's now VP9 code in the same file

Change-Id: I73d8b9141af1374b37480fb0495e17a7952eb4f9

10 years agoupdate gitignore
James Zern [Sat, 22 Feb 2014 02:11:11 +0000 (18:11 -0800)]
update gitignore

- update example paths
- add a few missing generated rtcd, dox files
+ sort

Change-Id: I7f4fbf53972d247e96f9c741ff039d244ceb6b2e

10 years agomove vp9_spatial_scalable_encoder.c to examples/
James Zern [Sat, 22 Feb 2014 01:57:27 +0000 (17:57 -0800)]
move vp9_spatial_scalable_encoder.c to examples/

Change-Id: Id5c889cb87ad33a21d83a415a23e957e8ee3218f

10 years agoMerge "Refactor selected partition size coding for rtc"
Jingning Han [Sat, 22 Feb 2014 01:41:32 +0000 (17:41 -0800)]
Merge "Refactor selected partition size coding for rtc"

10 years agoMerge "update nestegg"
James Zern [Sat, 22 Feb 2014 01:15:16 +0000 (17:15 -0800)]
Merge "update nestegg"

10 years agoMerge "vp8cx.h: add brief desc. for VP9E_SET_SVC_LAYER_ID"
James Zern [Fri, 21 Feb 2014 23:49:11 +0000 (15:49 -0800)]
Merge "vp8cx.h: add brief desc. for VP9E_SET_SVC_LAYER_ID"

10 years agoMerge "Stop gating non420 features with a configure flag."
Alex Converse [Fri, 21 Feb 2014 23:45:38 +0000 (15:45 -0800)]
Merge "Stop gating non420 features with a configure flag."

10 years agoMerge "Require an --experimental-bitstream flag at runtime for encoding profile 1."
Alex Converse [Fri, 21 Feb 2014 23:45:33 +0000 (15:45 -0800)]
Merge "Require an --experimental-bitstream flag at runtime for encoding profile 1."

10 years agoRefactor selected partition size coding for rtc
Jingning Han [Fri, 21 Feb 2014 22:33:27 +0000 (14:33 -0800)]
Refactor selected partition size coding for rtc

This commit makes a refactoring of the rtc_use_partition. It allows
the encoder to take a preferred block size for non-RD mode decision.
The boundary blocks are handled such that smaller block sizes that
fit in the boundary size will be used instread.

In rtc mode, the coding performance of speed -6 for pedestrian_1080p
goes from
158980 b/f, 38.934 dB, 22721 ms to
159008 b/f, 40.064 dB, 23721 ms.

For rtc set, the speed -6 compression performance is improved by
26%. Still about 2dB behind speed -5 at this point.

Change-Id: If0944f0880eaf1ad340bc325d97cea8d0f9dd53f

10 years agoMerge "vp9_rd_pick_inter_mode_sb() reorganization"
Yaowu Xu [Fri, 21 Feb 2014 20:06:31 +0000 (12:06 -0800)]
Merge "vp9_rd_pick_inter_mode_sb() reorganization"

10 years agoStop gating non420 features with a configure flag.
Alex Converse [Fri, 21 Feb 2014 18:31:36 +0000 (10:31 -0800)]
Stop gating non420 features with a configure flag.

Change-Id: I8cc38fdef6a2a0968af8dfe15e7c2b3c46c531ea

10 years agoRequire an --experimental-bitstream flag at runtime for encoding profile 1.
Alex Converse [Fri, 21 Feb 2014 18:52:09 +0000 (10:52 -0800)]
Require an --experimental-bitstream flag at runtime for encoding profile 1.

Change-Id: I73865bbbf6ea74434f15b73783ae97b4d273be80

10 years agoupdate nestegg
James Zern [Sat, 14 Dec 2013 02:53:31 +0000 (18:53 -0800)]
update nestegg

+ prune some unused files

https://github.com/kinetiknz/nestegg.git

commit f46223191d8116a36bf299b5b9793fcb798417b1
Merge: 0851279 4b0190a
Author:     Matthew Gregan <kinetik@flim.org>
AuthorDate: Wed Nov 27 13:50:43 2013 -0800
Commit:     Matthew Gregan <kinetik@flim.org>
CommitDate: Wed Nov 27 13:50:43 2013 -0800

    Merge pull request #15 from shadone/master

    Fix compiler warning.

Change-Id: I59eecdd68fced1ef61b67d446735539628d81484

10 years agovp8cx.h: add brief desc. for VP9E_SET_SVC_LAYER_ID
James Zern [Fri, 21 Feb 2014 04:36:28 +0000 (20:36 -0800)]
vp8cx.h: add brief desc. for VP9E_SET_SVC_LAYER_ID

fixes doxygen warning related to vpx_svc_layer_id

Change-Id: I365688133c1598182488501158de6af4b0f4c546

10 years agoobj_int_extract.bat: Pass obj_int_extract.exe path to obj_int_extract.bat.
Tom Finegan [Fri, 21 Feb 2014 06:20:58 +0000 (22:20 -0800)]
obj_int_extract.bat: Pass obj_int_extract.exe path to obj_int_extract.bat.

- Update the vcxproj generator to pass the path to the batch file.
- Update the batch file the take the path to obj_int_extract.exe as arg
  2.

Fixes this warning:
warning MSB8012: TargetPath does not match Linker's OutputFile property
value.

Change-Id: I5825f1d1d79f370aeb295bbd2aeb08b22c0e73ab

10 years agoMerge "Enable reduced set of intra modes in rtc coding"
Yaowu Xu [Fri, 21 Feb 2014 05:11:10 +0000 (21:11 -0800)]
Merge "Enable reduced set of intra modes in rtc coding"

10 years agoMerge "Added three test vectors with droppable frames"
Adrian Grange [Fri, 21 Feb 2014 02:29:59 +0000 (18:29 -0800)]
Merge "Added three test vectors with droppable frames"

10 years agovp9_rd_pick_inter_mode_sb() reorganization
Alex Converse [Thu, 20 Feb 2014 17:43:32 +0000 (09:43 -0800)]
vp9_rd_pick_inter_mode_sb() reorganization

* Reduce the number of short cirtcuit checks by pre-computing and combining like checks.
* Postpone non-trivial initializations until after the shortcircuits are evaluated.
* Add some consts and const pointers.

No change to the actual results of the call or output of the encoder.

Change-Id: Ie44c4702aec6e08cfe0b8b0ba3cd6b57206478d1

10 years agoEnable reduced set of intra modes in rtc coding
Jingning Han [Wed, 19 Feb 2014 23:30:09 +0000 (15:30 -0800)]
Enable reduced set of intra modes in rtc coding

This commit enables the use of DC, vertical, and horizontal intra
prediction mode in rtc non-RD mode decision. When the best cost value
of inter modes is above a given threshold, the encoder runs the
above three intra modes and selects the one that has minimum
prediction residual in terms of SAD.

This together with recent changes on non-RD mode decision and coding
control improves compression performance of speed -6 by
derf  91%
yt    61%
hd    46%
stdhd 52%

In terms of encoding speed, it is about 3 times faster than speed -5.

Change-Id: I6b483bfd0307e6482bb22a6676ae4e25a52b1310

10 years agoMerge "Force alt reference frame off in rtc mode"
Jingning Han [Fri, 21 Feb 2014 02:03:12 +0000 (18:03 -0800)]
Merge "Force alt reference frame off in rtc mode"

10 years agoAdded three test vectors with droppable frames
Yaowu Xu [Fri, 21 Feb 2014 01:04:08 +0000 (17:04 -0800)]
Added three test vectors with droppable frames

Change-Id: I70240e50927b4379603628f6349bf615f756b5a1

10 years agoMerge "Test vectors for odd image width and height."
Adrian Grange [Fri, 21 Feb 2014 00:40:02 +0000 (16:40 -0800)]
Merge "Test vectors for odd image width and height."

10 years agoMerge "vp9_subpel_variance_impl_intrin_avx2.c: make some tables static"
James Zern [Fri, 21 Feb 2014 00:03:23 +0000 (16:03 -0800)]
Merge "vp9_subpel_variance_impl_intrin_avx2.c: make some tables static"

10 years agoMerge "vp9_subpixel_8t_intrin_ssse3.c: make some tables static"
James Zern [Fri, 21 Feb 2014 00:02:16 +0000 (16:02 -0800)]
Merge "vp9_subpixel_8t_intrin_ssse3.c: make some tables static"

10 years agoMerge "vp9_subpixel_8t_intrin_avx2.c: make some tables static"
James Zern [Fri, 21 Feb 2014 00:01:50 +0000 (16:01 -0800)]
Merge "vp9_subpixel_8t_intrin_avx2.c: make some tables static"

10 years agoForce alt reference frame off in rtc mode
Jingning Han [Wed, 19 Feb 2014 23:11:12 +0000 (15:11 -0800)]
Force alt reference frame off in rtc mode

When non-RD coding decision is used in rtc mode, the alt reference
is not used for inter frame prediction. This commit disabled alt ref
option whenever speed -6 is used.

Change-Id: I0b33ca03661de1db2d9bef1bcbff848cd4c9396f

10 years agoRemove an unused variable
Yaowu Xu [Thu, 20 Feb 2014 22:49:44 +0000 (14:49 -0800)]
Remove an unused variable

Change-Id: I8eeec70a7d4403243762f14d0b560792801645e8

10 years agoTest vectors for odd image width and height.
Jim Bankoski [Thu, 20 Feb 2014 22:35:40 +0000 (14:35 -0800)]
Test vectors for odd image width and height.

Change-Id: I39286df9fc76e3451f14ce2652d671e11b0c37bc

10 years agoMerge "Rename vp8_cfg to vp9_cfg in vp9_cx_iface"
Jingning Han [Thu, 20 Feb 2014 22:29:41 +0000 (14:29 -0800)]
Merge "Rename vp8_cfg to vp9_cfg in vp9_cx_iface"

10 years agoMerge "Use MI_BLOCK_SIZE in block coding loop"
Jingning Han [Thu, 20 Feb 2014 22:29:30 +0000 (14:29 -0800)]
Merge "Use MI_BLOCK_SIZE in block coding loop"

10 years agoMerge "Rework non-RD mode decision coding flow"
Jingning Han [Thu, 20 Feb 2014 22:28:57 +0000 (14:28 -0800)]
Merge "Rework non-RD mode decision coding flow"

10 years agoMerge "twopass_encoder.c: Silence MSVC data loss warnings."
Tom Finegan [Thu, 20 Feb 2014 22:03:37 +0000 (14:03 -0800)]
Merge "twopass_encoder.c: Silence MSVC data loss warnings."

10 years agoMerge "vpx_temporal_scalable_patterns: set rc_target_bitrate correct."
Marco Paniconi [Thu, 20 Feb 2014 20:48:50 +0000 (12:48 -0800)]
Merge "vpx_temporal_scalable_patterns: set rc_target_bitrate correct."

10 years agoMerge "Use fast HEX search in real time mode"
Yunqing Wang [Thu, 20 Feb 2014 20:07:10 +0000 (12:07 -0800)]
Merge "Use fast HEX search in real time mode"

10 years agoMerge "Only track mode_chosen_counts if CONFIG_INTERNAL_STATS."
Alex Converse [Thu, 20 Feb 2014 20:03:48 +0000 (12:03 -0800)]
Merge "Only track mode_chosen_counts if CONFIG_INTERNAL_STATS."

10 years agovp9_encodeframe.c: Silence rdmult assignment warning with a cast.
Tom Finegan [Wed, 19 Feb 2014 02:00:09 +0000 (18:00 -0800)]
vp9_encodeframe.c: Silence rdmult assignment warning with a cast.

Cast result of round() to int.

Change-Id: Ib708fddfadde4c765001ce9723fda113fd0f4bf6

10 years agoMerge "vp9_vaq.c: Cast result of round() to int to silence warning caused by clamp...
Tom Finegan [Thu, 20 Feb 2014 19:57:36 +0000 (11:57 -0800)]
Merge "vp9_vaq.c: Cast result of round() to int to silence warning caused by clamp() call."

10 years agovp9_encodeframe.c: Silence totalrate assignment warning with a cast.
Tom Finegan [Wed, 19 Feb 2014 02:04:13 +0000 (18:04 -0800)]
vp9_encodeframe.c: Silence totalrate assignment warning with a cast.

Cast result of round() to int.

Change-Id: I4982886ad4e7657b4c40d21bd850d31690a68c28

10 years agovpx_temporal_scalable_patterns: set rc_target_bitrate correct.
Marco Paniconi [Thu, 20 Feb 2014 18:46:44 +0000 (10:46 -0800)]
vpx_temporal_scalable_patterns: set rc_target_bitrate correct.

Current setting was specific to 1 layer case.
rc_target_bitrate is total bitrate for whole stream,
so set it to ts_target_bitrate for highest/top temporal layer.

Change-Id: I83de73364956fa21c0a7c971c9f390d4840457e6

10 years agoCondition alt-ref entropy context setting on svc.
Marco Paniconi [Thu, 20 Feb 2014 01:13:38 +0000 (17:13 -0800)]
Condition alt-ref entropy context setting on svc.

Avoid special context setting for alt-ref in svc mode.

Change-Id: I5337d0739abe16aab7854bcaa3c8537191c4b60c

10 years agoMerge "vp9_rdopt.c: Use int64_t for dist_sum and rate_sum in model_rd_for_sb()."
Paul Wilkins [Thu, 20 Feb 2014 10:03:49 +0000 (02:03 -0800)]
Merge "vp9_rdopt.c: Use int64_t for dist_sum and rate_sum in model_rd_for_sb()."

10 years agoMerge "video_source.h: Minor clean up."
James Zern [Thu, 20 Feb 2014 06:58:12 +0000 (22:58 -0800)]
Merge "video_source.h: Minor clean up."

10 years agoMerge "vp8_set_maps.c: Silence signed/unsigned mismatch MSVC warnings."
James Zern [Thu, 20 Feb 2014 06:55:40 +0000 (22:55 -0800)]
Merge "vp8_set_maps.c: Silence signed/unsigned mismatch MSVC warnings."

10 years agoMerge "vp8cx_set_ref.c: Silence MSVC data loss warning."
James Zern [Thu, 20 Feb 2014 06:55:19 +0000 (22:55 -0800)]
Merge "vp8cx_set_ref.c: Silence MSVC data loss warning."

10 years agoMerge "Fixed compilation on mingw with secure APIs enabled by default."
James Zern [Thu, 20 Feb 2014 05:00:09 +0000 (21:00 -0800)]
Merge "Fixed compilation on mingw with secure APIs enabled by default."

10 years agoOnly track mode_chosen_counts if CONFIG_INTERNAL_STATS.
Alex Converse [Fri, 14 Feb 2014 22:46:29 +0000 (14:46 -0800)]
Only track mode_chosen_counts if CONFIG_INTERNAL_STATS.

Change-Id: Ia9252ad0caa4d2bda529a3fe93efcb31e7eb2da0

10 years agovp8cx_set_ref.c: Silence MSVC data loss warning.
Tom Finegan [Thu, 20 Feb 2014 00:20:14 +0000 (16:20 -0800)]
vp8cx_set_ref.c: Silence MSVC data loss warning.

Change-Id: I1210ce23cf8f98950c445a17ef51a73c6852c89f

10 years agovp8_set_maps.c: Silence signed/unsigned mismatch MSVC warnings.
Tom Finegan [Thu, 20 Feb 2014 00:13:15 +0000 (16:13 -0800)]
vp8_set_maps.c: Silence signed/unsigned mismatch MSVC warnings.

Use unsigned loop counters in set_roi_map() and set_active_map().

Change-Id: I9bbaed38b51ef73b82ba4ad4c4bc18ca5d2399f9

10 years agotwopass_encoder.c: Silence MSVC data loss warnings.
Tom Finegan [Wed, 19 Feb 2014 22:44:35 +0000 (14:44 -0800)]
twopass_encoder.c: Silence MSVC data loss warnings.

Use unsigned int instead of uint64_t for duration and deadline
arguments to functions get_frame_stats() and encode_frame().

Change-Id: I1f26a7afc38ae89916b2c67415ced26fdc9d53e7

10 years agovideo_source.h: Minor clean up.
Tom Finegan [Wed, 19 Feb 2014 22:17:55 +0000 (14:17 -0800)]
video_source.h: Minor clean up.

- Use size_t for frame_size() (fixes warnings elsewhere)
- Remove unnecessary use of const.

Change-Id: Id2cba182ac3fd2f67d25fd1db3a0bc3e1eda040b

10 years agoMerge "decode_with_drops.c: Cast away MSVC data loss warning."
James Zern [Wed, 19 Feb 2014 22:04:34 +0000 (14:04 -0800)]
Merge "decode_with_drops.c: Cast away MSVC data loss warning."

10 years agoMerge "simple_decoder.c: Silence MSVC data loss warning."
James Zern [Wed, 19 Feb 2014 22:04:20 +0000 (14:04 -0800)]
Merge "simple_decoder.c: Silence MSVC data loss warning."

10 years agoMerge "postproc.c: Cast away MSVC data loss warning."
James Zern [Wed, 19 Feb 2014 22:04:01 +0000 (14:04 -0800)]
Merge "postproc.c: Cast away MSVC data loss warning."

10 years agoRename vp8_cfg to vp9_cfg in vp9_cx_iface
Jingning Han [Wed, 19 Feb 2014 21:46:48 +0000 (13:46 -0800)]
Rename vp8_cfg to vp9_cfg in vp9_cx_iface

This variable takes control parameters for vp9 encoder, hence
renamed vp9_cfg.

Change-Id: I9b253c41a06e44d97fe699f26005cd71e2eeb36c

10 years agoMerge "Adding is_mv_valid() function."
Dmitry Kovalev [Wed, 19 Feb 2014 21:39:21 +0000 (13:39 -0800)]
Merge "Adding is_mv_valid() function."

10 years agoMerge "Do not use the value of 'rate_mv' if uninitialized."
Alex Converse [Wed, 19 Feb 2014 20:41:14 +0000 (12:41 -0800)]
Merge "Do not use the value of 'rate_mv' if uninitialized."

10 years agoMerge "vpx_temporal_scalable_patterns.c: Silence MSVC warnings."
Tom Finegan [Wed, 19 Feb 2014 20:38:41 +0000 (12:38 -0800)]
Merge "vpx_temporal_scalable_patterns.c: Silence MSVC warnings."

10 years agosimple_decoder.c: Silence MSVC data loss warning.
Tom Finegan [Wed, 19 Feb 2014 20:08:18 +0000 (12:08 -0800)]
simple_decoder.c: Silence MSVC data loss warning.

Change-Id: I138d7f62ac7e905642405e60a49ac3d282695e3f

10 years agopostproc.c: Cast away MSVC data loss warning.
Tom Finegan [Wed, 19 Feb 2014 19:58:28 +0000 (11:58 -0800)]
postproc.c: Cast away MSVC data loss warning.

Change-Id: Ib80d4f394692a981e369dc5fecd5432cbec488d1

10 years agodecode_with_drops.c: Cast away MSVC data loss warning.
Tom Finegan [Wed, 19 Feb 2014 19:55:06 +0000 (11:55 -0800)]
decode_with_drops.c: Cast away MSVC data loss warning.

Change-Id: Ib8ee2b9a4cb785176ca1054489df5dced004837a

10 years agoMerge "error_resilient.c: Cast away MSVC data loss warning."
Tom Finegan [Wed, 19 Feb 2014 19:45:58 +0000 (11:45 -0800)]
Merge "error_resilient.c: Cast away MSVC data loss warning."

10 years agoMerge "decode_to_md5.c: Silence warning with cast."
Tom Finegan [Wed, 19 Feb 2014 19:45:11 +0000 (11:45 -0800)]
Merge "decode_to_md5.c: Silence warning with cast."

10 years agoMerge "force_keyframe.c: Cast away MSVC data loss warning."
Tom Finegan [Wed, 19 Feb 2014 19:43:24 +0000 (11:43 -0800)]
Merge "force_keyframe.c: Cast away MSVC data loss warning."

10 years agoMerge "vpx_frame_buffer.h: add doxygen \file block"
James Zern [Wed, 19 Feb 2014 19:41:18 +0000 (11:41 -0800)]
Merge "vpx_frame_buffer.h: add doxygen \file block"

10 years agoerror_resilient.c: Cast away MSVC data loss warning.
Tom Finegan [Wed, 19 Feb 2014 19:39:21 +0000 (11:39 -0800)]
error_resilient.c: Cast away MSVC data loss warning.

Change-Id: I6d81f7d94cb724a9f5a302ca3551196f2d06f9b4

10 years agoMerge "vp9: normalize DECLARE_ALIGNED use on global tables"
James Zern [Wed, 19 Feb 2014 19:38:47 +0000 (11:38 -0800)]
Merge "vp9: normalize DECLARE_ALIGNED use on global tables"

10 years agoforce_keyframe.c: Cast away MSVC data loss warning.
Tom Finegan [Wed, 19 Feb 2014 19:37:28 +0000 (11:37 -0800)]
force_keyframe.c: Cast away MSVC data loss warning.

Change-Id: Ibf09b76d5b8c8106b804354d9a7f007a0e3f6173

10 years agovpx_temporal_scalable_patterns.c: Silence MSVC warnings.
Tom Finegan [Wed, 19 Feb 2014 19:30:08 +0000 (11:30 -0800)]
vpx_temporal_scalable_patterns.c: Silence MSVC warnings.

Change floats to doubles in RateControlMetrics, and make loop
counter signs agree.

Change-Id: I845cf268d9ce837a543d052d8d0f8dfd32bd9817

10 years agoUse MI_BLOCK_SIZE in block coding loop
Jingning Han [Wed, 19 Feb 2014 19:17:12 +0000 (11:17 -0800)]
Use MI_BLOCK_SIZE in block coding loop

Change-Id: Ia70057e11c9b3d9d4bea6fbdd08839334ed02dce

10 years agoRework non-RD mode decision coding flow
Jingning Han [Tue, 18 Feb 2014 19:23:11 +0000 (11:23 -0800)]
Rework non-RD mode decision coding flow

In the first coding run of a 64x64 block, check the coding mode
for each 8x8 block. Will need a second annealing stage to decide
the partition size to be encoded.

Change-Id: Ida9417805ff3358979b0c0429d4099c023c88866

10 years agodecode_to_md5.c: Silence warning with cast.
Tom Finegan [Wed, 19 Feb 2014 18:59:40 +0000 (10:59 -0800)]
decode_to_md5.c: Silence warning with cast.

More size_t/unsigned int disagreement.

Change-Id: I2be01ee680f852f168f6fcac554a534ca3c83e5d

10 years agoMerge "Remove comment from calls to vp9_clear_system_state."
Paul Wilkins [Wed, 19 Feb 2014 13:14:51 +0000 (05:14 -0800)]
Merge "Remove comment from calls to vp9_clear_system_state."

10 years agoAdding is_mv_valid() function.
Dmitry Kovalev [Wed, 19 Feb 2014 12:57:18 +0000 (13:57 +0100)]
Adding is_mv_valid() function.

Change-Id: I9d036244b558765b252d8c6681b22721cb2e51bb

10 years agoCleaning up vp9_onyx_if.c.
Dmitry Kovalev [Mon, 17 Feb 2014 09:49:16 +0000 (10:49 +0100)]
Cleaning up vp9_onyx_if.c.

Change-Id: I389790f1ad0dd40816a7ae1ddad4a5c46278cff3

10 years agoMerge "Cleaning up pack_inter_mode_mvs() function."
Dmitry Kovalev [Wed, 19 Feb 2014 09:04:36 +0000 (01:04 -0800)]
Merge "Cleaning up pack_inter_mode_mvs() function."

10 years agoMerge "Removing unused tree_update_hist[] array."
Dmitry Kovalev [Wed, 19 Feb 2014 09:02:51 +0000 (01:02 -0800)]
Merge "Removing unused tree_update_hist[] array."

10 years agoMerge "Cleaning up vp9_encodemb.c."
Dmitry Kovalev [Wed, 19 Feb 2014 09:02:30 +0000 (01:02 -0800)]
Merge "Cleaning up vp9_encodemb.c."

10 years agovp9: normalize DECLARE_ALIGNED use on global tables
James Zern [Wed, 19 Feb 2014 04:35:22 +0000 (20:35 -0800)]
vp9: normalize DECLARE_ALIGNED use on global tables

- place extern within the macro
- use in the header only

Change-Id: I4274b345d8af9ef329c0eb9553a3ddaad70d1d26

10 years agovp9_rdopt.c: Use int64_t for dist_sum and rate_sum in model_rd_for_sb().
Tom Finegan [Wed, 19 Feb 2014 02:13:57 +0000 (18:13 -0800)]
vp9_rdopt.c: Use int64_t for dist_sum and rate_sum in model_rd_for_sb().

Removes unnecessary casts and silences warnings.

Change-Id: Ic516a909a2b3748831be6717f02d86ca60190af3

10 years agoRemoved unnecessary type cast
Yaowu Xu [Tue, 18 Feb 2014 03:03:01 +0000 (19:03 -0800)]
Removed unnecessary type cast

Change-Id: I0f2d5155ec042e9b5cbe9a9d6b186b121ed7737f

10 years agovp9_subpel_variance_impl_intrin_avx2.c: make some tables static
James Zern [Wed, 19 Feb 2014 04:42:49 +0000 (20:42 -0800)]
vp9_subpel_variance_impl_intrin_avx2.c: make some tables static

+ fix formatting

Change-Id: I7b4ec11b7b46d8926750e0b69f7a606f3ab80895

10 years agovp9_subpixel_8t_intrin_ssse3.c: make some tables static
James Zern [Wed, 19 Feb 2014 04:42:00 +0000 (20:42 -0800)]
vp9_subpixel_8t_intrin_ssse3.c: make some tables static

+ fix formatting

Change-Id: I344d4de089d03e403f0c7b3e64aeb7086cce86ac

10 years agovp9_subpixel_8t_intrin_avx2.c: make some tables static
James Zern [Wed, 19 Feb 2014 04:38:46 +0000 (20:38 -0800)]
vp9_subpixel_8t_intrin_avx2.c: make some tables static

+ fix formatting

Change-Id: Ia62610bff3d63855104366d7860749b6a3cf4577

10 years agoMerge "vp9_filter: move table alignment decl's to header"
James Zern [Wed, 19 Feb 2014 04:15:33 +0000 (20:15 -0800)]
Merge "vp9_filter: move table alignment decl's to header"

10 years agoMerge "restore examples to doxygen output"
James Zern [Wed, 19 Feb 2014 04:10:53 +0000 (20:10 -0800)]
Merge "restore examples to doxygen output"

10 years agoAdd comments to portion of SVC interface.
Marco Paniconi [Wed, 19 Feb 2014 01:31:57 +0000 (17:31 -0800)]
Add comments to portion of SVC interface.

Fixes issue #705.

Change-Id: I60d45ee28fb34f401a440015bfe7bd3837b51de1

10 years agovp9_vaq.c: Cast result of round() to int to silence warning caused by clamp() call.
Tom Finegan [Wed, 19 Feb 2014 02:26:42 +0000 (18:26 -0800)]
vp9_vaq.c: Cast result of round() to int to silence warning caused by clamp() call.

clamp() wants an int, round returns a double, warning! Too bad we can't just use lrint.

Change-Id: I9c08289dde742fac0d673df8559a1892edcd1bc7

10 years agoDo not use the value of 'rate_mv' if uninitialized.
Alex Converse [Tue, 18 Feb 2014 23:56:07 +0000 (15:56 -0800)]
Do not use the value of 'rate_mv' if uninitialized.

This happens when exiting single_motion_search() early due to adaptive_motion_search.

Change-Id: Ic396e7e31e59ff219bb66a459c873c9e5b17400d

10 years agoRemove comment from calls to vp9_clear_system_state.
Adrian Grange [Thu, 13 Feb 2014 23:49:21 +0000 (15:49 -0800)]
Remove comment from calls to vp9_clear_system_state.

Removed the comment "// __asm emms;" from all calls
to vp9_clear_system_state.

Change-Id: Ib4dae69c1cdf3f185b04184a870cd70c4d703f10

10 years agoMerge "Enable sub-pixel motion search for rtc mode"
Jingning Han [Tue, 18 Feb 2014 22:52:13 +0000 (14:52 -0800)]
Merge "Enable sub-pixel motion search for rtc mode"

10 years agoMerge "Initialize internal buffer pointers in rtc mode"
Jingning Han [Tue, 18 Feb 2014 22:51:38 +0000 (14:51 -0800)]
Merge "Initialize internal buffer pointers in rtc mode"

10 years agoUse fast HEX search in real time mode
Yunqing Wang [Fri, 14 Feb 2014 23:55:49 +0000 (15:55 -0800)]
Use fast HEX search in real time mode

In good quality mode motion search, the best matches are normally
found after searching in a large area. In real time mode, to make
encoding fast, a center-biased fast HEX search is used, which
converges quickly most of the time. A 4-point diamond search is
also carried out as the following refining search, which gives more
precise results, and maintains good motion search quality.

At speed 5, the borg test on rtc set showed an overall PSNR loss of
0.936%. The encoding speed gain is 4% - 5%.

Change-Id: I42cd68bb56a09ca1b86293c99d5f7312225ca7ae

10 years agoMerge "SSSE3 convolution optimization"
Yunqing Wang [Tue, 18 Feb 2014 20:55:34 +0000 (12:55 -0800)]
Merge "SSSE3 convolution optimization"

10 years agoMerge "AVX2 SubPixel Variance Optimization"
Yunqing Wang [Tue, 18 Feb 2014 20:18:13 +0000 (12:18 -0800)]
Merge "AVX2 SubPixel Variance Optimization"

10 years agoEnable sub-pixel motion search for rtc mode
Jingning Han [Fri, 14 Feb 2014 22:41:47 +0000 (14:41 -0800)]
Enable sub-pixel motion search for rtc mode

Run sub-pixel motion search when NEWMV gives lower rate-distortion
cost. This improves coding performance of derf set by 8%, std-hd by
2.2%.

Change-Id: Ife50f7fda8463927784fe59a41cc439c833e941a

10 years agoMerge "Replace vqshrun by vqmovun if shift #0 bit"
Johann [Tue, 18 Feb 2014 04:53:12 +0000 (20:53 -0800)]
Merge "Replace vqshrun by vqmovun if shift #0 bit"

10 years agoMerge "vp9_onyx_if.c resolve vs warnings"
Yaowu Xu [Mon, 17 Feb 2014 16:37:25 +0000 (08:37 -0800)]
Merge "vp9_onyx_if.c resolve vs warnings"