platform/upstream/libvpx.git
10 years agoMerge "configure: Check for make"
James Zern [Thu, 6 Mar 2014 02:12:43 +0000 (18:12 -0800)]
Merge "configure: Check for make"

10 years agoAdjust some speed features for --rt (-5)
Yaowu Xu [Wed, 5 Mar 2014 21:52:29 +0000 (13:52 -0800)]
Adjust some speed features for --rt (-5)

Change-Id: Ibabd8440ff5c9dd7f300f317e2c9d50e8e84aab9

10 years agoMerge "Fix set_mode_info settings"
Jingning Han [Thu, 6 Mar 2014 00:01:06 +0000 (16:01 -0800)]
Merge "Fix set_mode_info settings"

10 years agoMerge "Remove repeated tx_mode_select calls"
Jingning Han [Thu, 6 Mar 2014 00:00:58 +0000 (16:00 -0800)]
Merge "Remove repeated tx_mode_select calls"

10 years agoMerge "Move set_speed_feature out of frame encoding"
Jingning Han [Thu, 6 Mar 2014 00:00:50 +0000 (16:00 -0800)]
Merge "Move set_speed_feature out of frame encoding"

10 years agoMerge "vp9_picklpf.c: remove unused functions and params"
Yaowu Xu [Wed, 5 Mar 2014 23:39:44 +0000 (15:39 -0800)]
Merge "vp9_picklpf.c: remove unused functions and params"

10 years agoconfigure: Check for make
Tom Finegan [Wed, 5 Mar 2014 23:30:18 +0000 (15:30 -0800)]
configure: Check for make

Stop configuration and report an error when make is not available.

Change-Id: I599a4c43386e3657748d5b875afb235701e6b57f

10 years agoMerge "improved speed of 4x4 sse2 fdct."
Andrew Russell [Wed, 5 Mar 2014 22:35:44 +0000 (14:35 -0800)]
Merge "improved speed of 4x4 sse2 fdct."

10 years agovp9_picklpf.c: remove unused functions and params
Yaowu Xu [Mon, 3 Mar 2014 23:16:25 +0000 (15:16 -0800)]
vp9_picklpf.c: remove unused functions and params

Change-Id: Ib4d850227cef35694c663feb157765a2cbf84699

10 years agoMerge "Merging force-keyframe example into simple_encoder."
Dmitry Kovalev [Wed, 5 Mar 2014 21:57:49 +0000 (13:57 -0800)]
Merge "Merging force-keyframe example into simple_encoder."

10 years agoMerge "Cleaning up vp9_refining_search_sadx4()."
Dmitry Kovalev [Wed, 5 Mar 2014 21:57:23 +0000 (13:57 -0800)]
Merge "Cleaning up vp9_refining_search_sadx4()."

10 years agoMerging force-keyframe example into simple_encoder.
Dmitry Kovalev [Tue, 4 Mar 2014 01:48:06 +0000 (17:48 -0800)]
Merging force-keyframe example into simple_encoder.

The only difference between two examples was usage of VPX_EFLAG_FORCE_KF
flag for frame encoding. Moving this functionality into simple_encoder
with additional command line option.

Change-Id: Ia3c4209be073eeb541d4ac6b41bd0f12812f6676

10 years agoMerge "Converting vp8cx_set_ref example to use new API."
Dmitry Kovalev [Wed, 5 Mar 2014 20:01:24 +0000 (12:01 -0800)]
Merge "Converting vp8cx_set_ref example to use new API."

10 years agoMerge "Prune RT mode decisions for BLOCK_32x32 and up"
Alex Converse [Wed, 5 Mar 2014 19:57:04 +0000 (11:57 -0800)]
Merge "Prune RT mode decisions for BLOCK_32x32 and up"

10 years agoMerge "Cleaning up vp9_mvref_common.c."
Dmitry Kovalev [Wed, 5 Mar 2014 18:57:37 +0000 (10:57 -0800)]
Merge "Cleaning up vp9_mvref_common.c."

10 years agoMerge "Removing VP9_PTR."
Dmitry Kovalev [Wed, 5 Mar 2014 18:57:10 +0000 (10:57 -0800)]
Merge "Removing VP9_PTR."

10 years agoCleaning up vp9_refining_search_sadx4().
Dmitry Kovalev [Fri, 28 Feb 2014 18:24:10 +0000 (10:24 -0800)]
Cleaning up vp9_refining_search_sadx4().

Change-Id: I3ed0a95645a66be069ce92a1fad8083a87d01001

10 years agoConverting vp8cx_set_ref example to use new API.
Dmitry Kovalev [Tue, 4 Mar 2014 01:41:51 +0000 (17:41 -0800)]
Converting vp8cx_set_ref example to use new API.

Change-Id: I8e40811c85c2246da75d9f06c4fda1a5079fcc71

10 years agoFix set_mode_info settings
Jingning Han [Tue, 4 Mar 2014 19:36:21 +0000 (11:36 -0800)]
Fix set_mode_info settings

Properly set intra mode information entries.

Change-Id: Ie3a8992e415dcdd9087a55993bbca06087a0107a

10 years agoRemove repeated tx_mode_select calls
Jingning Han [Tue, 4 Mar 2014 19:30:27 +0000 (11:30 -0800)]
Remove repeated tx_mode_select calls

The frame level transform size selection is done inside
encode_frame_internal().

Change-Id: Id7e5e417a3a3f88f875bf12b21bb8029bc6d0d82

10 years agoMerge changes Idfb71188,Ibe1e72db
James Zern [Wed, 5 Mar 2014 08:44:42 +0000 (00:44 -0800)]
Merge changes Idfb71188,Ibe1e72db

* changes:
  build: convert rtcd.sh to perl
  configure: check for perl

10 years agoMerge "msvs: filter out include-only asm files"
James Zern [Wed, 5 Mar 2014 07:34:05 +0000 (23:34 -0800)]
Merge "msvs: filter out include-only asm files"

10 years agoMerge changes Ibc5352e6,I28d0ec5c,I5c4fc3bb,Ie574a3a7
James Zern [Wed, 5 Mar 2014 06:15:59 +0000 (22:15 -0800)]
Merge changes Ibc5352e6,I28d0ec5c,I5c4fc3bb,Ie574a3a7

* changes:
  nestegg: ne_buffer_read: quiet uint64->size_t warning
  nestegg: quiet read related uint64->size_t warnings
  nestegg: ne_parse: normalize size_t usage
  nestegg: ne_read_(string|binary|block): normalize size_t usage

10 years agomsvs: filter out include-only asm files
James Zern [Wed, 5 Mar 2014 03:46:29 +0000 (19:46 -0800)]
msvs: filter out include-only asm files

avoid building x86inc.asm, x86_abi_support.asm and vpx_config.asm as
they provide no symbols themselves

fixes:
 warning LNK4221: This object file does not define any previously
undefined public symbols, so it will not be used by any link operation
that consumes this library

Change-Id: Iecfe03aa76efbfc07c2af5b91ba5405634e45f1d

10 years agoMove set_speed_feature out of frame encoding
Jingning Han [Tue, 4 Mar 2014 18:24:25 +0000 (10:24 -0800)]
Move set_speed_feature out of frame encoding

Set speed features before running frame encoding. This avoids
redundant RD threshold calculation in key frame coding.

Change-Id: If8e3cf2c02976baa59b310c1c23af9eea0c46e36

10 years agoMerge "vp8_decrypt_test.c: Silence MSVC data loss warning."
Tom Finegan [Tue, 4 Mar 2014 22:31:16 +0000 (14:31 -0800)]
Merge "vp8_decrypt_test.c: Silence MSVC data loss warning."

10 years agoPrune RT mode decisions for BLOCK_32x32 and up
Alex Converse [Fri, 28 Feb 2014 04:07:43 +0000 (20:07 -0800)]
Prune RT mode decisions for BLOCK_32x32 and up

* Remove all non-DC intra modes for BLOCK_32x32 and up
* Remove all intra modes for blocks bigger than BLOCK_32x32
* Remove ZEROMV for BLOCK_32x32 and up
* Only consider NEARESTMV for blocks bigger than BLOCK_32x32

Change-Id: Ia18351a238213e2f072f9e481d622949346a245f

10 years agoAvoid gf/altref boost in pick_q under svc cbr mode.
Marco Paniconi [Tue, 4 Mar 2014 02:51:32 +0000 (18:51 -0800)]
Avoid gf/altref boost in pick_q under svc cbr mode.

Change-Id: Ib719a9f74924718715592e0238bc391ae239d026

10 years agonestegg: ne_buffer_read: quiet uint64->size_t warning
James Zern [Tue, 4 Mar 2014 02:40:15 +0000 (18:40 -0800)]
nestegg: ne_buffer_read: quiet uint64->size_t warning

the buffer length is already a size_t making the offset into it limited

Change-Id: Ibc5352e69049186cc07f7d86117696b11a98a600

10 years agonestegg: quiet read related uint64->size_t warnings
James Zern [Tue, 4 Mar 2014 02:40:06 +0000 (18:40 -0800)]
nestegg: quiet read related uint64->size_t warnings

ne_read_ebml_lacing / ne_read_discard_padding
+ add some asserts

Change-Id: I28d0ec5c8f901ae0a35928a8f512c51b3ecf177d

10 years agonestegg: ne_parse: normalize size_t usage
James Zern [Tue, 4 Mar 2014 02:40:00 +0000 (18:40 -0800)]
nestegg: ne_parse: normalize size_t usage

in calls to ne_read_simple / ne_io_read_skip

Change-Id: I5c4fc3bb41832973830ad54248839d6a4944aae6

10 years agonestegg: ne_read_(string|binary|block): normalize size_t usage
James Zern [Tue, 4 Mar 2014 02:39:43 +0000 (18:39 -0800)]
nestegg: ne_read_(string|binary|block): normalize size_t usage

+ nestegg_track_codec_data
quiets uint64_t -> size_t warnings
the sizes used are previously validated against their associated LIMIT_*
values

Change-Id: Ie574a3a7496d0143bd58b778145c27f38dd6a4da

10 years agovp8_decrypt_test.c: Silence MSVC data loss warning.
Tom Finegan [Tue, 4 Mar 2014 02:04:35 +0000 (18:04 -0800)]
vp8_decrypt_test.c: Silence MSVC data loss warning.

- Change type of encrypt_buffer() offset argument to ptrdiff_t, and change the
  type of the size argument to size_t.
- Update size argument encrypt_buffer() in vp8_boolcoder_test.c with
  same.

Change-Id: Ie29c7c82c73318bee01b89c6fb4c4e1442eef03c

10 years agoMerge "Cleaning up vp9_init_dsmotion_compensation()."
Dmitry Kovalev [Tue, 4 Mar 2014 01:27:51 +0000 (17:27 -0800)]
Merge "Cleaning up vp9_init_dsmotion_compensation()."

10 years agoRemoving VP9_PTR.
Dmitry Kovalev [Tue, 4 Mar 2014 00:50:16 +0000 (16:50 -0800)]
Removing VP9_PTR.

Change-Id: Ib49d8dbc67c590f22a1a70251ff607c9f38febd7

10 years agoRefactoring motion search libs
Deb Mukherjee [Fri, 28 Feb 2014 22:29:22 +0000 (14:29 -0800)]
Refactoring motion search libs

The core motion estimation fucntions all return sad now consistently.
The only exception is vp9_full_pixel_diamond(), however the core diamond
and refining search routines called from vp9_full_pixel_diamond() also
return SAD. If variance of pred error + mv cost is desired it must be
calculated explicitly outside these functions. For very fast encoding,
hopefully this will eliminate some redundant computations.

Also suggests reimplementing FAST_HEX with the vp9_pattern_search
framework. It is not exactly the same as the existing FAST_HEX, but
performance is slightly better and speed is very similar. Enables
removing a lot of duplicate code.

Change-Id: I152736393438c25bdf7e96b37cbb8ce330f4f94a

10 years agobuild: convert rtcd.sh to perl
James Zern [Mon, 24 Feb 2014 00:33:14 +0000 (16:33 -0800)]
build: convert rtcd.sh to perl

significantly speeds up file generation.

the goal of this change is to convert rtcd.sh to perl as directly as
possible to allow for simple comparison. future changes can make it more
perl-like.

---
Linux
    [CREATE] vpx_scale_rtcd.h
real    0m0.485s ->    0m0.022s
    [CREATE] vp8_rtcd.h
real    0m4.619s ->    0m0.060s
    [CREATE] vp9_rtcd.h
real    0m10.102s ->    0m0.087s

Windows
    [CREATE] vpx_scale_rtcd.h
real    0m8.360s ->    0m0.080s
    [CREATE] vp8_rtcd.h
real    1m8.083s ->    0m0.160s
    [CREATE] vp9_rtcd.h
real    2m6.489s ->    0m0.233s

Change-Id: Idfb71188206c91237d6a3c3a81dfe00d103f11ee

10 years agoconfigure: check for perl
James Zern [Fri, 28 Feb 2014 20:24:46 +0000 (12:24 -0800)]
configure: check for perl

Though not (currently) required this tests for perl in all
configurations.

Fixes issue #671

Change-Id: Ibe1e72db74bb4cf3252b73c68ff1dfc2ecfc902b

10 years agoimproved speed of 4x4 sse2 fdct.
Andrew Russell [Mon, 3 Mar 2014 15:38:02 +0000 (07:38 -0800)]
improved speed of 4x4 sse2 fdct.

* speed improvment of 30 percent achieved
* multiplies and adds remain the same
* non-arithmetic instructions minimized by hand, by:
   -expanding 2 pass loop
   -removing irrelivant "shuffles"
   -combining last two rounding steps
* further improvments may be possible

Change-Id: Idec2c3f52910c48e6a0e0f9aefed5cae31b0b8c0

10 years agoMerge "Adding get_tx_type() instead of get_tx_type_{8x8, 16x16}."
Dmitry Kovalev [Mon, 3 Mar 2014 22:24:28 +0000 (14:24 -0800)]
Merge "Adding get_tx_type() instead of get_tx_type_{8x8, 16x16}."

10 years agoMerge "Moving FRAME_CONTEXT & FRAME_COUNTS to vp9_entropymode.h."
Dmitry Kovalev [Mon, 3 Mar 2014 22:24:04 +0000 (14:24 -0800)]
Merge "Moving FRAME_CONTEXT & FRAME_COUNTS to vp9_entropymode.h."

10 years agoMerge "Adding consts and cleaning up vp9_rdopt."
Dmitry Kovalev [Mon, 3 Mar 2014 22:17:31 +0000 (14:17 -0800)]
Merge "Adding consts and cleaning up vp9_rdopt."

10 years agoMerge "cost_coefs approximation speed up"
Jim Bankoski [Mon, 3 Mar 2014 22:08:24 +0000 (14:08 -0800)]
Merge "cost_coefs approximation speed up"

10 years agoMerge changes I67b2b0d7,I24c024d1,I3703d739,Ia6f669a9
James Zern [Mon, 3 Mar 2014 20:59:34 +0000 (12:59 -0800)]
Merge changes I67b2b0d7,I24c024d1,I3703d739,Ia6f669a9

* changes:
  nestegg: packet_track: fix uint64->uint32 warning
  nestegg: fix track_scale double->uint64 warning
  nestegg: fix track_number uint64->uint32 warnings
  nestegg: add ne_get_uint32 convenience function

10 years agoMerge "Enforce intra_y_mode_mask for inter rd."
Alex Converse [Mon, 3 Mar 2014 20:55:25 +0000 (12:55 -0800)]
Merge "Enforce intra_y_mode_mask for inter rd."

10 years agoMerge "Refactor ZEROMV equivalence"
Alex Converse [Mon, 3 Mar 2014 20:30:22 +0000 (12:30 -0800)]
Merge "Refactor ZEROMV equivalence"

10 years agoMerge "Reset search_method for non-rd pick mode"
Yunqing Wang [Mon, 3 Mar 2014 20:21:52 +0000 (12:21 -0800)]
Merge "Reset search_method for non-rd pick mode"

10 years agoAdding get_tx_type() instead of get_tx_type_{8x8, 16x16}.
Dmitry Kovalev [Thu, 27 Feb 2014 23:46:48 +0000 (15:46 -0800)]
Adding get_tx_type() instead of get_tx_type_{8x8, 16x16}.

Change-Id: I4a54b12e5229705222c5a101258b9d1f81e2948d

10 years agoAdding consts and cleaning up vp9_rdopt.
Dmitry Kovalev [Mon, 3 Mar 2014 20:19:51 +0000 (12:19 -0800)]
Adding consts and cleaning up vp9_rdopt.

Change-Id: I9423b543e1be414e5c9e10480b813f06e6b88f8a

10 years agoMerge "Merging error-resilient example into simple_encoder."
Dmitry Kovalev [Mon, 3 Mar 2014 20:10:37 +0000 (12:10 -0800)]
Merge "Merging error-resilient example into simple_encoder."

10 years agocost_coefs approximation speed up
Jim Bankoski [Mon, 3 Mar 2014 19:49:13 +0000 (11:49 -0800)]
cost_coefs approximation speed up

This patch adds a new speed feature which doesn't do the rather
expensive entropy context lookup or save to the table,  while
doing costing.

The speed up on desktop36p.y4m is around 10% other clips much less.

On the RTC test set this was + 1% in overall datarate.

Change-Id: Ia5144bbf45270671e7be9c8e4055369909e2f738

10 years agoRefactor ZEROMV equivalence
Alex Converse [Fri, 28 Feb 2014 18:28:57 +0000 (10:28 -0800)]
Refactor ZEROMV equivalence

This gets more accurate mode hit stats. It's also the first step to
handling ZEROMV not being allowed more intelligently.

Change-Id: I5de6734507b5177bf73e9ddbad923f218c39f3e4

10 years agoReset search_method for non-rd pick mode
Yunqing Wang [Mon, 3 Mar 2014 19:12:11 +0000 (11:12 -0800)]
Reset search_method for non-rd pick mode

Reset FAST_HEX search_method, which was lost because of code merging.

Change-Id: Ic2b2cb9ec2f1751e96f7db0f9226310f605fcc83

10 years agoEnforce intra_y_mode_mask for inter rd.
Alex Converse [Fri, 28 Feb 2014 03:13:48 +0000 (19:13 -0800)]
Enforce intra_y_mode_mask for inter rd.

intra_y_mode_mask is already enforced for the sub8x8 case.
intra_uv_mode_mask is already enforced for all sizes.

Change-Id: Ia9dd14701cb49873c2e8f24eb5f8b255eaf76a1f

10 years agoMerge "Cleanup conditions in vp9_rd_pick_inter_mode_sb()."
Alex Converse [Mon, 3 Mar 2014 18:23:51 +0000 (10:23 -0800)]
Merge "Cleanup conditions in vp9_rd_pick_inter_mode_sb()."

10 years agoMerge "Clear implied conversion to int64_t warning."
Paul Wilkins [Mon, 3 Mar 2014 17:28:12 +0000 (09:28 -0800)]
Merge "Clear implied conversion to int64_t warning."

10 years agoMerge "Removing VP9D_PTR."
Dmitry Kovalev [Mon, 3 Mar 2014 17:18:28 +0000 (09:18 -0800)]
Merge "Removing VP9D_PTR."

10 years agoMerge "AVX2 SubPixel AVG Variance Optimization"
Yunqing Wang [Mon, 3 Mar 2014 17:01:36 +0000 (09:01 -0800)]
Merge "AVX2 SubPixel AVG Variance Optimization"

10 years agoMerge "vp9_lookahead_push(): remove unused parameters"
Yaowu Xu [Mon, 3 Mar 2014 16:36:06 +0000 (08:36 -0800)]
Merge "vp9_lookahead_push(): remove unused parameters"

10 years agoMerge "vp9_decodeframe.c: remove unused params"
Yaowu Xu [Mon, 3 Mar 2014 16:36:00 +0000 (08:36 -0800)]
Merge "vp9_decodeframe.c: remove unused params"

10 years agoMerge "Silence int64 to int warning"
Paul Wilkins [Mon, 3 Mar 2014 16:29:27 +0000 (08:29 -0800)]
Merge "Silence int64 to int warning"

10 years agoMerge "vp9_mbgraph.c: remove unused parameters"
Yaowu Xu [Mon, 3 Mar 2014 16:24:49 +0000 (08:24 -0800)]
Merge "vp9_mbgraph.c: remove unused parameters"

10 years agoMerge "temporal_filter_find_matching_mb_c(): remove a param"
Yaowu Xu [Mon, 3 Mar 2014 16:24:39 +0000 (08:24 -0800)]
Merge "temporal_filter_find_matching_mb_c(): remove a param"

10 years agoMerge "vp9_prob_diff_update_savings_search_model(): remove params"
Yaowu Xu [Mon, 3 Mar 2014 16:24:30 +0000 (08:24 -0800)]
Merge "vp9_prob_diff_update_savings_search_model(): remove params"

10 years agoClear implied conversion to int64_t warning.
Paul Wilkins [Mon, 3 Mar 2014 15:41:21 +0000 (15:41 +0000)]
Clear implied conversion to int64_t warning.

Clear warning caused by implied conversion from int32 to int64.

Change-Id: I473b37a54984cbfb22702eb3f712465881ff86e8

10 years agoSilence int64 to int warning
Paul Wilkins [Mon, 3 Mar 2014 15:30:13 +0000 (15:30 +0000)]
Silence int64 to int warning

Change-Id: Ic97ddd5143425a7b63fac4e40d9740a10a0491ad

10 years agoMerge "vp9_firstpass.c: remove unused functions & params"
Yaowu Xu [Mon, 3 Mar 2014 14:53:35 +0000 (06:53 -0800)]
Merge "vp9_firstpass.c: remove unused functions & params"

10 years agoMerge "Sorting includes in vp9_firstpass.c."
Dmitry Kovalev [Mon, 3 Mar 2014 09:03:21 +0000 (01:03 -0800)]
Merge "Sorting includes in vp9_firstpass.c."

10 years agovp9_mbgraph.c: remove unused parameters
Yaowu Xu [Mon, 3 Mar 2014 04:48:54 +0000 (20:48 -0800)]
vp9_mbgraph.c: remove unused parameters

Change-Id: I5a01d0dccc9afc87e2adbb5ddc7d44379fe1f125

10 years agotemporal_filter_find_matching_mb_c(): remove a param
Yaowu Xu [Mon, 3 Mar 2014 04:42:29 +0000 (20:42 -0800)]
temporal_filter_find_matching_mb_c(): remove a param

There is one parameter that is never used, therefore is removed.

Change-Id: I595722e7c5731534c72831315359e4dce9c21763

10 years agovp9_prob_diff_update_savings_search_model(): remove params
Yaowu Xu [Mon, 3 Mar 2014 04:36:32 +0000 (20:36 -0800)]
vp9_prob_diff_update_savings_search_model(): remove params

Two paramemters are not in use, therefore are removed.

Change-Id: I41eb601b7b4bf2feedb13b3f240315656d8694f9

10 years agovp9_lookahead_push(): remove unused parameters
Yaowu Xu [Sun, 2 Mar 2014 04:59:19 +0000 (20:59 -0800)]
vp9_lookahead_push(): remove unused parameters

Change-Id: Ia319bd924401677b5c30b0f46d1ab2be6a1f446e

10 years agovp9_decodeframe.c: remove unused params
Yaowu Xu [Sun, 2 Mar 2014 04:31:47 +0000 (20:31 -0800)]
vp9_decodeframe.c: remove unused params

Change-Id: Ie83e18802234199491dbb6e90886739814558f96

10 years agovp9_firstpass.c: remove unused functions & params
Yaowu Xu [Sat, 1 Mar 2014 00:35:19 +0000 (16:35 -0800)]
vp9_firstpass.c: remove unused functions & params

Change-Id: I111c5bd0dd47db7b1f6952c18056bee548bb42e9

10 years agovp9_encodeframe.c: remove unused function params
Yaowu Xu [Sat, 1 Mar 2014 00:23:56 +0000 (16:23 -0800)]
vp9_encodeframe.c: remove unused function params

Change-Id: I6d47618e8aee6e6c2fe1cf0b8bb4da0b2a0bab66

10 years agoRemove dec_build_inter_predictors() parameters
Yaowu Xu [Sat, 1 Mar 2014 00:17:10 +0000 (16:17 -0800)]
Remove dec_build_inter_predictors() parameters

There were two parameters not in use, this commit removed them.

Change-Id: Ia03a73b9a2521400bed539df45574e34214ed93a

10 years agoRemove unused parameters from update_state_rt()
Yaowu Xu [Sat, 1 Mar 2014 00:05:24 +0000 (16:05 -0800)]
Remove unused parameters from update_state_rt()

In addition, a local variable was renamed to avoid confusion.

Change-Id: Id4c497f9cfa219e8a414aa9fee9a85af5f147249

10 years agoRemove vp9_create_common()
Yaowu Xu [Fri, 28 Feb 2014 23:41:53 +0000 (15:41 -0800)]
Remove vp9_create_common()

The function has evolved over time, now only calls vp9_rtcd(), so this
commit removes the function and changes to call vp9_rtcd() directly.

Change-Id: I8cfa6190daa4b28f6f3d1e11bb3a07f9c95322bf

10 years agoRemove a parameter from write_selected_tx_size()
Yaowu Xu [Fri, 28 Feb 2014 23:56:08 +0000 (15:56 -0800)]
Remove a parameter from write_selected_tx_size()

The parameter was never used.

Change-Id: I99fd9aad697917ddbe3d10c71cae344228fafc31

10 years agoAVX2 SubPixel AVG Variance Optimization
levytamar82 [Mon, 24 Feb 2014 06:58:56 +0000 (23:58 -0700)]
AVX2 SubPixel AVG Variance Optimization

Optimizing 2 functions to process 32 elements in parallel instead of 16:
1. vp9_sub_pixel_avg_variance64x64
2. vp9_sub_pixel_avg_variance32x32
both of those function were calling vp9_sub_pixel_avg_variance16xh_ssse3
instead of calling that function, it calls vp9_sub_pixel_avg_variance32xh_avx2
that is written in avx2 and process 32 elements in parallel.
This Optimization gave 80% function level gain and 2% user level gain

Change-Id: Iea694654e1b7612dc6ed11e2626208c2179502c8

10 years agonestegg: packet_track: fix uint64->uint32 warning
James Zern [Sat, 1 Mar 2014 03:58:44 +0000 (19:58 -0800)]
nestegg: packet_track: fix uint64->uint32 warning

Change-Id: I67b2b0d722424df9938d7c26f9d3478592bc813a

10 years agonestegg: fix track_scale double->uint64 warning
James Zern [Sat, 1 Mar 2014 03:58:33 +0000 (19:58 -0800)]
nestegg: fix track_scale double->uint64 warning

Change-Id: I24c024d1b328b9c34289c125c501d2fdc246e92e

10 years agonestegg: fix track_number uint64->uint32 warnings
James Zern [Sat, 1 Mar 2014 03:58:19 +0000 (19:58 -0800)]
nestegg: fix track_number uint64->uint32 warnings

ne_read_block/ne_find_cue_position_for_track/nestegg_get_cue_point
in the use of ne_map_track_number_to_index
+ add a check to ensure it doesn't exceed the type bounds

fixes:
./third_party/nestegg/src/nestegg.c|1322| warning C4244: 'function' :
conversion from 'uint64_t' to 'unsigned int', possible loss of data

Change-Id: I3703d739dcf9a2d4d8e2b704e957e5e3fd80dca0

10 years agonestegg: add ne_get_uint32 convenience function
James Zern [Sat, 1 Mar 2014 03:58:00 +0000 (19:58 -0800)]
nestegg: add ne_get_uint32 convenience function

- avoids downcasting from uint64_t in multiple locations

Change-Id: Ia6f669a9ee81336ed1ef29a6a79240d5905acab5

10 years agoMerge "normalize perl shebangs"
James Zern [Sat, 1 Mar 2014 01:56:01 +0000 (17:56 -0800)]
Merge "normalize perl shebangs"

10 years agoMerge "Fix unused parameters in vp9_extend_frame_borders"
Yaowu Xu [Sat, 1 Mar 2014 01:34:38 +0000 (17:34 -0800)]
Merge "Fix unused parameters in vp9_extend_frame_borders"

10 years agoMerge "fix vp9 only build"
Yaowu Xu [Sat, 1 Mar 2014 01:09:31 +0000 (17:09 -0800)]
Merge "fix vp9 only build"

10 years agoMerge "Replacing int_mv with MV."
Dmitry Kovalev [Sat, 1 Mar 2014 00:09:17 +0000 (16:09 -0800)]
Merge "Replacing int_mv with MV."

10 years agoMerge "Removing unnecessary casts from quantization code."
Dmitry Kovalev [Sat, 1 Mar 2014 00:08:24 +0000 (16:08 -0800)]
Merge "Removing unnecessary casts from quantization code."

10 years agoMerge "Using ref_mv[2] instead of two separate variables."
Dmitry Kovalev [Sat, 1 Mar 2014 00:07:45 +0000 (16:07 -0800)]
Merge "Using ref_mv[2] instead of two separate variables."

10 years agoFix unused parameters in vp9_extend_frame_borders
Yaowu Xu [Fri, 28 Feb 2014 23:34:31 +0000 (15:34 -0800)]
Fix unused parameters in vp9_extend_frame_borders

Change-Id: I7255b3bc47d760333f58ac4878becbcc8ad30967

10 years agoMerge "Sorting includes in vp9_rdopt.c."
Dmitry Kovalev [Fri, 28 Feb 2014 23:37:51 +0000 (15:37 -0800)]
Merge "Sorting includes in vp9_rdopt.c."

10 years agofix vp9 only build
Yaowu Xu [Fri, 28 Feb 2014 23:26:09 +0000 (15:26 -0800)]
fix vp9 only build

Change-Id: I7a1a7190dc32c65846a897a3162a02d63e59719f

10 years agoCleaning up vp9_mvref_common.c.
Dmitry Kovalev [Fri, 28 Feb 2014 23:12:33 +0000 (15:12 -0800)]
Cleaning up vp9_mvref_common.c.

different_ref_found is always equal to one (if calculated) because
ref_frame[0] != ref_frame[1] for each mi-block.

Change-Id: Ibd7625b7b29dec2fd3c40edbc3de1169abb78585

10 years agoMerge "Adds speed 8 to vp9 as reference"
Deb Mukherjee [Fri, 28 Feb 2014 22:17:24 +0000 (14:17 -0800)]
Merge "Adds speed 8 to vp9 as reference"

10 years agoUsing ref_mv[2] instead of two separate variables.
Dmitry Kovalev [Fri, 28 Feb 2014 22:10:51 +0000 (14:10 -0800)]
Using ref_mv[2] instead of two separate variables.

Change-Id: I909a81991aa0cc18afe6526542c7513837445213

10 years agoSorting includes in vp9_rdopt.c.
Dmitry Kovalev [Fri, 28 Feb 2014 18:57:30 +0000 (10:57 -0800)]
Sorting includes in vp9_rdopt.c.

Change-Id: I7e2591b4b54e0eac8521e128c7d97f62d2057ed8

10 years agoMerge "Sorting and eliminating includes in vp9_pickmode.c."
Dmitry Kovalev [Fri, 28 Feb 2014 21:57:31 +0000 (13:57 -0800)]
Merge "Sorting and eliminating includes in vp9_pickmode.c."

10 years agoMoving FRAME_CONTEXT & FRAME_COUNTS to vp9_entropymode.h.
Dmitry Kovalev [Fri, 28 Feb 2014 21:56:43 +0000 (13:56 -0800)]
Moving FRAME_CONTEXT & FRAME_COUNTS to vp9_entropymode.h.

Change-Id: I1fe71e35b1e44da693b43d26607abb33efd56820

10 years agoMerge "Fixing include order in vp9_quantize.c"
Dmitry Kovalev [Fri, 28 Feb 2014 21:18:38 +0000 (13:18 -0800)]
Merge "Fixing include order in vp9_quantize.c"