]> granicus.if.org Git - libvpx/log
libvpx
11 years agoMerge "Cleanup. Adding const to function pointer arguments."
Dmitry Kovalev [Fri, 1 Nov 2013 17:57:03 +0000 (10:57 -0700)]
Merge "Cleanup. Adding const to function pointer arguments."

11 years agoMerge "Cleaning up read_skip_coeff() function."
Dmitry Kovalev [Fri, 1 Nov 2013 17:56:55 +0000 (10:56 -0700)]
Merge "Cleaning up read_skip_coeff() function."

11 years agoTwo optimizations:
Yaowu Xu [Fri, 1 Nov 2013 14:24:07 +0000 (07:24 -0700)]
Two optimizations:

1. Reduced the size memset based on eob for 32x32 transform. The reset
of non-zero coefficient should probably go into where they are read in
inverse transform functions. (TODO)
2. Removed a redundant level of indirection.
vp9_iht4x4_add() checks transform type and call vp9_iht4x4_16_add()
for tranforms other than DCT_DCT. In this case, the DCT_DCT case
has been already handled here.

Change-Id: Iacbc77da761f0b308df5acea0f20c9add9f33d20

11 years agoMerge "simplify read_coef_prob()"
Yaowu Xu [Fri, 1 Nov 2013 13:59:17 +0000 (06:59 -0700)]
Merge "simplify read_coef_prob()"

11 years agoMerge "Removing is_intra_mode() function."
Dmitry Kovalev [Fri, 1 Nov 2013 01:06:53 +0000 (18:06 -0700)]
Merge "Removing is_intra_mode() function."

11 years agosimplify read_coef_prob()
Yaowu Xu [Thu, 31 Oct 2013 01:06:42 +0000 (18:06 -0700)]
simplify read_coef_prob()

Change-Id: I529c634db4f81ba5386092c126f53312b1e51b2b

11 years agoCleaning up read_skip_coeff() function.
Dmitry Kovalev [Thu, 31 Oct 2013 21:53:18 +0000 (14:53 -0700)]
Cleaning up read_skip_coeff() function.

Making code easier to read and avoiding calculation of skip context twice.

Change-Id: I42c376b1a1811bc842bf6420bf81d2de7a1bf980

11 years agoMerge "Reducing the number of foreach_transformed_block() calls."
Dmitry Kovalev [Thu, 31 Oct 2013 21:34:47 +0000 (14:34 -0700)]
Merge "Reducing the number of foreach_transformed_block() calls."

11 years agoCleanup. Adding const to function pointer arguments.
Dmitry Kovalev [Thu, 31 Oct 2013 21:34:21 +0000 (14:34 -0700)]
Cleanup. Adding const to function pointer arguments.

Change-Id: I12c67c8c0fa1aa7fb3f7d6cc2ef65be29c4ea292

11 years agoReducing the number of foreach_transformed_block() calls.
Dmitry Kovalev [Thu, 31 Oct 2013 20:52:08 +0000 (13:52 -0700)]
Reducing the number of foreach_transformed_block() calls.

The change doesn't affect the bitstream. It changes the order or function
calls and affects how we reconstruct intra- and inter-blocks. Speed up is
about 1...1.5%.

For intra-blocks:
  Before:
    for each transform block read tokens
    for each transform block do prediction
    for each transform block do inverse transform
  Now:
    for each transform block
      read tokens
      do prediction
      do inverse transform

For inter-blocks:
  Before:
    for each transform block read tokens
    for each transform block do inverse transform
  Now:
    for each transform block
      read tokens
      do inverse transform

Change-Id: I12a79bf1aa5a18c351b8010369bd3ff1deae1570

11 years agoMerge "mb_lpf_horizontal_edge AVX2 optimization"
Yaowu Xu [Thu, 31 Oct 2013 17:43:57 +0000 (10:43 -0700)]
Merge "mb_lpf_horizontal_edge AVX2 optimization"

11 years agoMerge "Fix x_offset_q4/y_offset_q4 calculation"
Yunqing Wang [Thu, 31 Oct 2013 16:47:54 +0000 (09:47 -0700)]
Merge "Fix x_offset_q4/y_offset_q4 calculation"

11 years agomb_lpf_horizontal_edge AVX2 optimization
Tamar Levy [Wed, 30 Oct 2013 15:04:31 +0000 (09:04 -0600)]
mb_lpf_horizontal_edge AVX2 optimization

This CL contains two AVX2 optimized loop filter functions,
mb_lpf_horizontal_edge_w_avx2_8 and mb_lpf_horizontal_edge_w_avx2_16.

Change-Id: I604e4fe6e99752b7800c2ea98721d97f7e0b931b

11 years agoUpdates to 1-pass:
Marco Paniconi [Tue, 22 Oct 2013 18:30:06 +0000 (11:30 -0700)]
Updates to 1-pass:

   -Don't reduce maxQ for gold/alt in CBR mode.

   -Fix to min/maxQ for first/initial key frame.

   -Add more speeds to datarate test and reduce the starting bitrate for test.

Change-Id: Id2a333d76dd3f6a51b322ca984588e2a22159c58

11 years agoMerge "Enable all-zero coeff block index for sub8x8 blk"
Jingning Han [Wed, 30 Oct 2013 23:00:57 +0000 (16:00 -0700)]
Merge "Enable all-zero coeff block index for sub8x8 blk"

11 years agoMerge "Reducing the number of recursive calls."
Dmitry Kovalev [Wed, 30 Oct 2013 22:14:18 +0000 (15:14 -0700)]
Merge "Reducing the number of recursive calls."

11 years agoReplacing (SWITCHABLE_FILTERS + 1) with SWITCHABLE_FILTER_CONTEXTS.
Dmitry Kovalev [Wed, 30 Oct 2013 21:40:34 +0000 (14:40 -0700)]
Replacing (SWITCHABLE_FILTERS + 1) with SWITCHABLE_FILTER_CONTEXTS.

Change-Id: I9781a62bc1a4cd9176554d1271d87dbcafda9cb0

11 years agoEnable all-zero coeff block index for sub8x8 blk
Jingning Han [Wed, 30 Oct 2013 20:52:55 +0000 (13:52 -0700)]
Enable all-zero coeff block index for sub8x8 blk

This commit makes zcoeff_blk cache the case where the entire block
is quantized to be zero (without applying zero-forcing) in the rate-
distortion optimization loop, and skip the forward DCT, quantization,
inverse DCT, and reconstruction process in the encode_block stage.

It now works for all the block sizes, including sub8x8 blocks.

Change-Id: I5ae60a9c436ba3637d11666733554bec4580ef98

11 years agoReducing the number of recursive calls.
Dmitry Kovalev [Wed, 30 Oct 2013 19:17:05 +0000 (12:17 -0700)]
Reducing the number of recursive calls.

Both decode_modes_sb and decode_modes_b had conditions to immediately
return at the beginning. Eliminating these conditions here and calling
these functions only to do a real work. Also unrolling loop for
PARTITION_SPLIT.

Change-Id: I2fc41cb74ac491f045a2f04fe68d30ff4aaa555d

11 years agovp9/decode: align tile worker data allocation
James Zern [Wed, 30 Oct 2013 07:33:09 +0000 (08:33 +0100)]
vp9/decode: align tile worker data allocation

fixes a crash in assembly on 32-bit linux/windows

Change-Id: I0c27e6c0ece9732b5eb2ee5b59ff42c3c8016c50

11 years agoMerge "vp9_decodframe.c: use vpx_memset instead of cast"
Johann [Wed, 30 Oct 2013 01:40:18 +0000 (18:40 -0700)]
Merge "vp9_decodframe.c: use vpx_memset instead of cast"

11 years agoMerge "idct_blk_mmx.c: use vpx_memset instead of cast"
Johann [Wed, 30 Oct 2013 01:40:01 +0000 (18:40 -0700)]
Merge "idct_blk_mmx.c: use vpx_memset instead of cast"

11 years agoMerge "decodframe.c: use vpx_memset instead of cast"
Johann [Wed, 30 Oct 2013 01:39:24 +0000 (18:39 -0700)]
Merge "decodframe.c: use vpx_memset instead of cast"

11 years agoMerge "threading.c: use vpx_memset instead of cast"
Johann [Wed, 30 Oct 2013 01:39:00 +0000 (18:39 -0700)]
Merge "threading.c: use vpx_memset instead of cast"

11 years agoMerge "idct_blk.c: use vpx_memset instead of cast"
Johann [Wed, 30 Oct 2013 01:38:20 +0000 (18:38 -0700)]
Merge "idct_blk.c: use vpx_memset instead of cast"

11 years agoFix x_offset_q4/y_offset_q4 calculation
Yunqing Wang [Tue, 29 Oct 2013 17:40:13 +0000 (10:40 -0700)]
Fix x_offset_q4/y_offset_q4 calculation

"<< SUBPEL_BITS" needs to be added in the calculation. Call
set_scaled_offsets() to calculate x_offset_q4 and y_offset_q4.

Change-Id: Ied130ea771510e918f51cd1dc3abe57f4c0962b5

11 years agoMerge "vp9: add multi-threaded tile decoder"
James Zern [Wed, 30 Oct 2013 00:44:22 +0000 (17:44 -0700)]
Merge "vp9: add multi-threaded tile decoder"

11 years agoMerge "vp9/decode: add get_tile()"
James Zern [Wed, 30 Oct 2013 00:34:56 +0000 (17:34 -0700)]
Merge "vp9/decode: add get_tile()"

11 years agovp9: add multi-threaded tile decoder
James Zern [Sat, 26 Oct 2013 12:33:45 +0000 (14:33 +0200)]
vp9: add multi-threaded tile decoder

tiles are decoded in parallel within a single frame

Change-Id: I7aca87cb1c239b74eceef72bdc9f672faebac373

11 years agovp9/decode: add get_tile()
James Zern [Mon, 28 Oct 2013 20:43:05 +0000 (21:43 +0100)]
vp9/decode: add get_tile()

factorizes the code in decode_tiles(). reading the offsets backwards
wasn't doing anything to prove tile independence

Change-Id: I0395d3c77205852ebdc55efedc68291e93cef85c

11 years agoMerge "Adding const to vp9_quantize_b_{32x32,} parameters."
Dmitry Kovalev [Tue, 29 Oct 2013 23:57:52 +0000 (16:57 -0700)]
Merge "Adding const to vp9_quantize_b_{32x32,} parameters."

11 years agoMerge "CL for adding AVX-AVX2 support in libvpx."
Erik Niemeyer [Tue, 29 Oct 2013 22:55:54 +0000 (15:55 -0700)]
Merge "CL for adding AVX-AVX2 support in libvpx."

11 years agoAdding const to vp9_quantize_b_{32x32,} parameters.
Dmitry Kovalev [Tue, 29 Oct 2013 22:25:19 +0000 (15:25 -0700)]
Adding const to vp9_quantize_b_{32x32,} parameters.

Change-Id: I56f8c50ac382202f66040cd9cfaa05d889572fc7

11 years agoCL for adding AVX-AVX2 support in libvpx.
Erik Niemeyer [Tue, 29 Oct 2013 15:48:12 +0000 (09:48 -0600)]
CL for adding AVX-AVX2 support in libvpx.

Change-Id: Idc03f3fca4bf2d0afd33631ea1d3caf8fc34ec29

11 years agoFixing clang warning.
Dmitry Kovalev [Tue, 29 Oct 2013 21:50:27 +0000 (14:50 -0700)]
Fixing clang warning.

Warning was: "implicit conversion from enumeration type 'VPX_SCALING_MODE'
(aka 'enum vpx_scaling_mode_1d') to different enumeration type
'VPX_SCALING'".

Change-Id: I45689e439a8775bc1e7534d0ea1ff7c729f2c7f5

11 years agoMerge "Fixing wrongly initialized tx_type variable."
Dmitry Kovalev [Tue, 29 Oct 2013 21:07:16 +0000 (14:07 -0700)]
Merge "Fixing wrongly initialized tx_type variable."

11 years agovp9_decodframe.c: use vpx_memset instead of cast
Johann [Tue, 29 Oct 2013 19:51:48 +0000 (12:51 -0700)]
vp9_decodframe.c: use vpx_memset instead of cast

Fix warning with -Wstrict-aliasing=1

Change-Id: Idfac09be1ab328923883e63436577f1018c895b8

11 years agoidct_blk_mmx.c: use vpx_memset instead of cast
Johann [Tue, 29 Oct 2013 19:16:26 +0000 (12:16 -0700)]
idct_blk_mmx.c: use vpx_memset instead of cast

Fix warning with -Wstrict-aliasing=1

Change-Id: Ic37013e6477cf213925830d0bd8e6f17364ff7cc

11 years agodecodframe.c: use vpx_memset instead of cast
Johann [Tue, 29 Oct 2013 19:05:27 +0000 (12:05 -0700)]
decodframe.c: use vpx_memset instead of cast

Fix warning with -Wstrict-aliasing=1

Change-Id: Ic4e511af924247800e87d5f990636565f3dd91d2

11 years agothreading.c: use vpx_memset instead of cast
Johann [Tue, 29 Oct 2013 18:59:56 +0000 (11:59 -0700)]
threading.c: use vpx_memset instead of cast

Fix warning with -Wstrict-aliasing=1

Change-Id: I43df2781656dd7b3f4c0ec6daa283d7a78928a0c

11 years agoidct_blk.c: use vpx_memset instead of cast
Johann [Tue, 29 Oct 2013 18:27:58 +0000 (11:27 -0700)]
idct_blk.c: use vpx_memset instead of cast

Fix warning with -Wstrict-aliasing=1

Change-Id: Ibf4af991f2c82b8ccbdc20362da64be669564333

11 years agoMerge "changed to comply with strict aliasing rule"
Yaowu Xu [Tue, 29 Oct 2013 20:44:07 +0000 (13:44 -0700)]
Merge "changed to comply with strict aliasing rule"

11 years agoFixing wrongly initialized tx_type variable.
Dmitry Kovalev [Tue, 29 Oct 2013 19:18:53 +0000 (12:18 -0700)]
Fixing wrongly initialized tx_type variable.

Wrong value was used in get_tx_type_4x4() function, so making
initialization before that call.

Change-Id: Ief30bb1e0c03b2f23d993bbf9ae18d7150ba9a83

11 years agoMerge "Correct handling of show_bit in uncompressed header."
Dmitry Kovalev [Tue, 29 Oct 2013 19:10:43 +0000 (12:10 -0700)]
Merge "Correct handling of show_bit in uncompressed header."

11 years agoCorrect handling of show_bit in uncompressed header.
Dmitry Kovalev [Tue, 29 Oct 2013 18:24:08 +0000 (11:24 -0700)]
Correct handling of show_bit in uncompressed header.

"keyframe" variable in the current code actually means that previous
frame is a keyframe because cm->frame_type has not been initialized
in read_uncompressed_header.

Change-Id: I5645b0816c70abdef5dfc70113018d06276dac77

11 years agochanged to comply with strict aliasing rule
Yaowu Xu [Mon, 28 Oct 2013 16:02:42 +0000 (09:02 -0700)]
changed to comply with strict aliasing rule

The clamp operation may not affect the values of the final assigned mv
where compiler may make use of strict aliasing rule to optimize out the
clamp operation. This change made the code segments to better comply
the strict aliasing rule.

Change-Id: I24502ff18bd4f9e62507a879cc8760a91a0fd07e

11 years agoMerge "Disable aliasing when building with Clang"
Johann [Tue, 29 Oct 2013 18:05:45 +0000 (11:05 -0700)]
Merge "Disable aliasing when building with Clang"

11 years agoMerge "Cleaning up vp9_regular_quantize_b_4x4."
Dmitry Kovalev [Tue, 29 Oct 2013 17:49:52 +0000 (10:49 -0700)]
Merge "Cleaning up vp9_regular_quantize_b_4x4."

11 years agoMerge "Making get_tx_counts() similar to get_tx_probs()."
Dmitry Kovalev [Tue, 29 Oct 2013 17:48:50 +0000 (10:48 -0700)]
Merge "Making get_tx_counts() similar to get_tx_probs()."

11 years agoMerge "Resolved Doxygen warnings."
Adrian Grange [Tue, 29 Oct 2013 17:43:33 +0000 (10:43 -0700)]
Merge "Resolved Doxygen warnings."

11 years agoMerge "Rewrite loop_filter_info_n struct"
Yunqing Wang [Tue, 29 Oct 2013 16:49:36 +0000 (09:49 -0700)]
Merge "Rewrite loop_filter_info_n struct"

11 years agoResolved Doxygen warnings.
Adrian Grange [Thu, 24 Oct 2013 22:11:36 +0000 (15:11 -0700)]
Resolved Doxygen warnings.

Added comments to make the codebase build cleanly in Doxygen.

Change-Id: I01e000ceac57dbafa04342858c8f1be250ba20d1

11 years agoMerge "vp9_decode_frame: group assignments/setup calls"
James Zern [Tue, 29 Oct 2013 10:34:10 +0000 (03:34 -0700)]
Merge "vp9_decode_frame: group assignments/setup calls"

11 years agovp9_decode_frame: group assignments/setup calls
James Zern [Sat, 26 Oct 2013 10:41:35 +0000 (12:41 +0200)]
vp9_decode_frame: group assignments/setup calls

group error checking at the top followed by allocations, setup then
decode.

Change-Id: I877d21326bb767885520511ecea70e5fd1e28054

11 years agoRemoving is_intra_mode() function.
Dmitry Kovalev [Tue, 29 Oct 2013 03:00:55 +0000 (20:00 -0700)]
Removing is_intra_mode() function.

It is enough to check just block type: intra or inter. Intra block implies
intra prediction mode, and inter block implies inter mode.

Change-Id: I3cf98731a3935f670a3cd8e2b2443483eb944be4

11 years agoMaking get_tx_counts() similar to get_tx_probs().
Dmitry Kovalev [Tue, 29 Oct 2013 02:52:38 +0000 (19:52 -0700)]
Making get_tx_counts() similar to get_tx_probs().

Change-Id: I5b17f40e515c4bcf9ebef5380270a214af4e0115

11 years agoDisable aliasing when building with Clang
Johann [Mon, 28 Oct 2013 22:44:41 +0000 (15:44 -0700)]
Disable aliasing when building with Clang

When building with new versions of Clang we encounter some issues. Work
around them by adding -fno-strict-aliasing when we detect Clang.

https://code.google.com/p/webm/issues/detail?id=603

Change-Id: I8e945a18a7215bcc627e7a1ee110078413259cc7

11 years agoAdding {read, write}_partition() instead of check_bsize_coverage().
Dmitry Kovalev [Mon, 28 Oct 2013 22:14:45 +0000 (15:14 -0700)]
Adding {read, write}_partition() instead of check_bsize_coverage().

Making partition read/write logic more clear.

Change-Id: I1981e90327257d37095567c62d72a103cda1da33

11 years agoCleaning up vp9_regular_quantize_b_4x4.
Dmitry Kovalev [Mon, 28 Oct 2013 21:28:28 +0000 (14:28 -0700)]
Cleaning up vp9_regular_quantize_b_4x4.

Passing scan & iscan as parameters, adding useful local variables.

Change-Id: Ia2a87906941db9557350d273669ce5c3cdb7235d

11 years agoMerge "add tile test vectors"
James Zern [Mon, 28 Oct 2013 20:32:45 +0000 (13:32 -0700)]
Merge "add tile test vectors"

11 years agovp9: add TileInfo
James Zern [Fri, 25 Oct 2013 15:18:04 +0000 (17:18 +0200)]
vp9: add TileInfo

replaces use of cur_tile_mi_(row|col)_(start|end) by VP9_COMMON, making
it less stateful and more reusable for parallel tile decoding

Change-Id: I1df09382b4567a0e5f4434825d47c79afe2399be

11 years agovp9_decodframe: limit scope of private function params (2)
James Zern [Fri, 25 Oct 2013 11:50:05 +0000 (13:50 +0200)]
vp9_decodframe: limit scope of private function params (2)

replace VP9D_COMP usage with the (slightly) more targeted
VP9_COMMON/MACROBLCKD structures.

Change-Id: Ifdd9034f44d69eb94e232dd03c922de763b96a30

11 years agoMerge changes If9b16f7d,I75aab21c,I9cbb768c,If5cea3d3,I96940657,I025595d8,Ie0bc3935...
James Zern [Mon, 28 Oct 2013 19:45:11 +0000 (12:45 -0700)]
Merge changes If9b16f7d,I75aab21c,I9cbb768c,If5cea3d3,I96940657,I025595d8,Ie0bc3935,I3ebb172d

* changes:
  vp9: remove partition+entropy contexts from common
  vp9: add above/left_context to MACROBLOCKD
  vp9: add above/left_seg_context to MACROBLOCKD
  vp9: add above/left_context to encoder
  vp9: add above/left_seg_context to encoder
  vp9: pass entropy context directly to set_skip_context
  vp9: pass context directly to partition functions
  vp9/decode: add alloc_tile_storage()

11 years agoMerge "Replacing is_inter_mode with is_inter_block."
Dmitry Kovalev [Mon, 28 Oct 2013 17:07:06 +0000 (10:07 -0700)]
Merge "Replacing is_inter_mode with is_inter_block."

11 years agoadd tile test vectors
James Zern [Mon, 28 Oct 2013 16:53:20 +0000 (17:53 +0100)]
add tile test vectors

1920x1080

vp90-2-08-tile_1x2_frame_parallel.webm
vp90-2-08-tile_1x2.webm
vp90-2-08-tile_1x4_frame_parallel.webm
vp90-2-08-tile_1x4.webm

vpxenc blue_sky_1080p25.y4m \
  --codec=vp9 -p 2 \
  --frame-parallel=${fpm} \
  --tile-columns=${tc} \
  --limit=10 \
  --auto-alt-ref=1 \
  --lag-in-frames=5 \
  --target-bitrate=2500

Change-Id: Id9c94b722cc553a6865d443a94e8482c78b038bb

11 years agoMerge "vp9 decode: defer loop filter allocation"
James Zern [Mon, 28 Oct 2013 15:00:59 +0000 (08:00 -0700)]
Merge "vp9 decode: defer loop filter allocation"

11 years agoMerge "vp9_thread_test: quiet some msvc int->bool warnings"
James Zern [Mon, 28 Oct 2013 14:58:04 +0000 (07:58 -0700)]
Merge "vp9_thread_test: quiet some msvc int->bool warnings"

11 years agovp9: remove partition+entropy contexts from common
James Zern [Thu, 24 Oct 2013 19:33:46 +0000 (21:33 +0200)]
vp9: remove partition+entropy contexts from common

these are now handled separately by the encoder and decoder

Change-Id: If9b16f7d734e992fb94a510a6d88f2690d7fb7cb

11 years agovp9: add above/left_context to MACROBLOCKD
James Zern [Thu, 24 Oct 2013 17:43:05 +0000 (19:43 +0200)]
vp9: add above/left_context to MACROBLOCKD

Change-Id: I75aab21c1692cbad717564cbb436578fddbc348d

11 years agovp9: add above/left_seg_context to MACROBLOCKD
James Zern [Thu, 24 Oct 2013 17:11:07 +0000 (19:11 +0200)]
vp9: add above/left_seg_context to MACROBLOCKD

Change-Id: I9cbb768c5f857a096cf6c29d6755d0e5e6728435

11 years agoMerge "Adding fht{4x4, 8x8, 16x16} functions."
Dmitry Kovalev [Sat, 26 Oct 2013 10:03:27 +0000 (03:03 -0700)]
Merge "Adding fht{4x4, 8x8, 16x16} functions."

11 years agovp9 decode: defer loop filter allocation
James Zern [Sat, 26 Oct 2013 09:57:44 +0000 (11:57 +0200)]
vp9 decode: defer loop filter allocation

wait until do_loopfilter_inline is true before committing the resources

Change-Id: I01661bd40599b47362bb3fb534668471f2a9d8d7

11 years agovp9_thread_test: quiet some msvc int->bool warnings
James Zern [Fri, 25 Oct 2013 20:29:51 +0000 (22:29 +0200)]
vp9_thread_test: quiet some msvc int->bool warnings

Change-Id: I2ed1cb537831c8b595c74ec641296d13d38ef622

11 years agoAdding fht{4x4, 8x8, 16x16} functions.
Dmitry Kovalev [Sat, 26 Oct 2013 00:55:07 +0000 (17:55 -0700)]
Adding fht{4x4, 8x8, 16x16} functions.

Adding these functions to encapsulate tx_type check. Changing TX_TYPE to
int to match the declaration in vo9_rtch.h.

Change-Id: I6f3a2df6e35595ca73b6aaa9e3909ee7bc3fd16f

11 years agoMerge "Adding get_frame_new_buffer() function to replace duplicated code."
Dmitry Kovalev [Fri, 25 Oct 2013 22:25:13 +0000 (15:25 -0700)]
Merge "Adding get_frame_new_buffer() function to replace duplicated code."

11 years agoMerge "Making input pointer constant for all fdct/fht functions."
Dmitry Kovalev [Fri, 25 Oct 2013 22:14:49 +0000 (15:14 -0700)]
Merge "Making input pointer constant for all fdct/fht functions."

11 years agoRewrite loop_filter_info_n struct
Yunqing Wang [Fri, 25 Oct 2013 21:32:10 +0000 (14:32 -0700)]
Rewrite loop_filter_info_n struct

Restructured the storing of loopfilter information. Deleted
loop_filter_info struct and reduced copying happened in every
superblock.

Tests showed a 0.5% ~ 0.8% decoder speed gain.

Change-Id: Ie6a8e46bae71dc3a3cd8c6054f5de540b8e0ef5e

11 years agovp9: add above/left_context to encoder
James Zern [Thu, 24 Oct 2013 16:10:59 +0000 (18:10 +0200)]
vp9: add above/left_context to encoder

Change-Id: If5cea3d389bb1135ee490d273e57cc2c43325d01

11 years agovp9: add above/left_seg_context to encoder
James Zern [Thu, 24 Oct 2013 16:10:59 +0000 (18:10 +0200)]
vp9: add above/left_seg_context to encoder

Change-Id: I969406574c6658936e9f6db5752f1b295025aab5

11 years agovp9: pass entropy context directly to set_skip_context
James Zern [Thu, 24 Oct 2013 14:31:07 +0000 (16:31 +0200)]
vp9: pass entropy context directly to set_skip_context

this will allow for separate storage to be used in tile decoding

Change-Id: I025595d83118bdc82a545dae69bc6602e8d2a6e3

11 years agovp9: pass context directly to partition functions
James Zern [Thu, 24 Oct 2013 14:31:07 +0000 (16:31 +0200)]
vp9: pass context directly to partition functions

update_partition_context / partition_plane_context: this will allow for
separate storage to be used in tile decoding

Change-Id: Ie0bc393531ab7e9d2ce35c95111849b294aad4ed

11 years agovp9/decode: add alloc_tile_storage()
James Zern [Thu, 24 Oct 2013 14:13:50 +0000 (16:13 +0200)]
vp9/decode: add alloc_tile_storage()

Change-Id: I3ebb172d4f2ae7db73b72fb42eb93833a295fb55

11 years agoAdding COLOR_SPACE enum.
Dmitry Kovalev [Fri, 25 Oct 2013 19:35:20 +0000 (12:35 -0700)]
Adding COLOR_SPACE enum.

Change-Id: If5711eb166609cce0a88b3cb5b56b3afeebc4fb0

11 years agoUpdating gtest from 1.6.0 to 1.7.0.
Dmitry Kovalev [Fri, 25 Oct 2013 17:58:09 +0000 (10:58 -0700)]
Updating gtest from 1.6.0 to 1.7.0.

This is required in order to build libvpx on OS X Mavericks where gcc
compiler is deleted, clang (3.3) is the default now.

Using unmodified source files from gtest-1.7.0/fused-src folder.

Change-Id: I3d5f7278149c904e48737327daf7097a8bb0b390

11 years agoMerge "Add 32x32 idct function for eob<=34 case"
Yunqing Wang [Fri, 25 Oct 2013 16:34:46 +0000 (09:34 -0700)]
Merge "Add 32x32 idct function for eob<=34 case"

11 years agoMerge "Separate encode_block for pass 1 and 2"
Jingning Han [Fri, 25 Oct 2013 04:39:27 +0000 (21:39 -0700)]
Merge "Separate encode_block for pass 1 and 2"

11 years agoAdd 32x32 idct function for eob<=34 case
Yunqing Wang [Wed, 23 Oct 2013 21:25:16 +0000 (14:25 -0700)]
Add 32x32 idct function for eob<=34 case

When only upper-left 8x8 area has non-zero dct coefficients, we
could skip 1D IDCT for 9th to 32th rows to save operations. This
function is called when eob <= 34.

Change-Id: I9684b75947bdde346cfe3720f08a953aa7a13fb5

11 years agoMerge "mips dsp-ase r2 vp9 decoder idct module optimizations (rebase)"
Johann [Thu, 24 Oct 2013 22:49:31 +0000 (15:49 -0700)]
Merge "mips dsp-ase r2 vp9 decoder idct module optimizations (rebase)"

11 years agoAdding get_frame_new_buffer() function to replace duplicated code.
Dmitry Kovalev [Thu, 24 Oct 2013 19:20:35 +0000 (12:20 -0700)]
Adding get_frame_new_buffer() function to replace duplicated code.

Change-Id: I6e0e19231a48364c1de7dfab730b121ab227f111

11 years agoMerge "Adding get_frame_ref_buffer() function + cleanup."
Dmitry Kovalev [Thu, 24 Oct 2013 18:53:23 +0000 (11:53 -0700)]
Merge "Adding get_frame_ref_buffer() function + cleanup."

11 years agoMaking input pointer constant for all fdct/fht functions.
Dmitry Kovalev [Thu, 24 Oct 2013 18:48:25 +0000 (11:48 -0700)]
Making input pointer constant for all fdct/fht functions.

Change-Id: I78f7012f967a777ddd39bae6671eb501df6bbfe8

11 years agoReplacing is_inter_mode with is_inter_block.
Dmitry Kovalev [Thu, 24 Oct 2013 18:22:06 +0000 (11:22 -0700)]
Replacing is_inter_mode with is_inter_block.

It should be only a check based on the block type (inter vs intra), not on
the mode value.

Change-Id: I0378cb4ba7c9a1631c1e870a537187b8650fa30a

11 years agoMerge "vpxdec: Fix webm fps check."
Frank Galligan [Thu, 24 Oct 2013 18:18:14 +0000 (11:18 -0700)]
Merge "vpxdec: Fix webm fps check."

11 years agoAdding get_frame_ref_buffer() function + cleanup.
Dmitry Kovalev [Wed, 23 Oct 2013 00:21:27 +0000 (17:21 -0700)]
Adding get_frame_ref_buffer() function + cleanup.

Change-Id: Ib9ead216fc54b2df6f6f1fe82d2ea137197beebd

11 years agovpxdec: Fix webm fps check.
Frank Galligan [Thu, 24 Oct 2013 17:33:24 +0000 (10:33 -0700)]
vpxdec: Fix webm fps check.

If the webm file did not have a Cues then vpxdec would fail
when creating a y4m file. If there is no Cues element print
out a warning and set fps to 30.

Change-Id: Ieea7040265dfdac7dff4ccf917c6f756160a96bc

11 years agoMerge "Disable two libvpx APIs for VP9"
Yaowu Xu [Thu, 24 Oct 2013 17:31:29 +0000 (10:31 -0700)]
Merge "Disable two libvpx APIs for VP9"

11 years agoMerge "Eliminating usage of allow_comp_inter_inter in the decoder."
Dmitry Kovalev [Thu, 24 Oct 2013 17:09:37 +0000 (10:09 -0700)]
Merge "Eliminating usage of allow_comp_inter_inter in the decoder."

11 years agoMerge "Renaming vp9_short_fdct4x4 and vp9_short_walsh4x4."
Dmitry Kovalev [Thu, 24 Oct 2013 17:08:42 +0000 (10:08 -0700)]
Merge "Renaming vp9_short_fdct4x4 and vp9_short_walsh4x4."

11 years agoMerge changes I1868fb75,I9ff504c6
Dmitry Kovalev [Thu, 24 Oct 2013 17:08:19 +0000 (10:08 -0700)]
Merge changes I1868fb75,I9ff504c6

* changes:
  Renaming INTERPOLATIONFILTERTYPE to INTERPOLATION_TYPE.
  Adding VP9_FRAME_MARKER constant.

11 years agoMerge "Cleaning up {above, left}_block_mode functions."
Dmitry Kovalev [Thu, 24 Oct 2013 17:07:51 +0000 (10:07 -0700)]
Merge "Cleaning up {above, left}_block_mode functions."