Commit Graph

20653 Commits

Author SHA1 Message Date
Johann
67e3972faf remove unused cpi parameters from firstpass.c
BUG=webm:1612

Change-Id: I77db5f9f2cb8244cca831b76c00926112c3e0dfe
2019-11-07 23:41:36 +00:00
Johann
3e2562bdb9 remove unused Pass1Encode parameters
BUG=webm:1612

Change-Id: Ifbe5bbba706311057bfc5d5fa9b63e57ac56e398
2019-11-07 23:41:04 +00:00
Jerome Jiang
c7aa088ca4 example: Enable row-mt on low res and speed 7 8.
Verified row-mt works for low res and speed 7 8.

Change-Id: I1e7f260fe5cda40a2da80ca47692a5864712ec30
2019-11-06 15:36:15 -08:00
James Zern
17f2474ea4 Merge "test/vp[89]_boolcoder_test: quiet msan warnings" 2019-11-06 20:32:00 +00:00
Angie Chiang
71f9da5c78 Merge changes I341bd674,Ia9a0d71d,I71c1f906,I2e36e07c,I94ee2e85, ...
* changes:
  Refactor check_initial_width
  Move noise_sensitivity to set_encoder_config
  Remove extra function calls in check_initial_width
  Move init_ref_frame_bufs to vp9_create_compressor
  Remove bits_left update in encoder_encode()
  Add vp9_get_encoder_config / vp9_get_frame_info
  vp9_get_coding_frame_num()
  Make [min/max]_gf_interval static under rate_ctrl
  Add rate_ctrl flag
2019-11-06 20:07:49 +00:00
James Zern
7afac52ba6 test/vp[89]_boolcoder_test: quiet msan warnings
the bitreaders may fill beyond what was written to the buffer as an
optimization. the data isn't used meaningfully, but it may trigger a
msan warning.

BUG=b/140939146

Change-Id: Id03cd203b8ee7ecaf6fdfe3f3c9f2ccfec527129
2019-11-05 23:04:06 -08:00
Johann
03b779e99b remove unused vp8dx_receive_compressed_data parameters
BUG=webm:1612

Change-Id: If2dc8a77c8f8bca86ee4b8349091dd1117b42dce
2019-11-04 15:09:50 -06:00
Johann
7e5b40800b ensure ctx is used
Rather that (void)ing ctx, document the case where it might not be used.

BUG=webm:1612

Change-Id: I1f1ba9a3d52b43a6987dbe3afec96fa17101e3bf
2019-11-04 15:05:12 -06:00
Johann
88f6a8925a remove unused mbmi parameter
BUG=webm:1612

Change-Id: I0f982d8269ec50a767efc222d958d37a55d5c77f
2019-11-04 14:59:19 -06:00
Johann
16d4f15782 remove unused simple loopfilter parameters
The simple filter only processes the Y plane.

BUG=webm:1612

Change-Id: I9886ff43ea7f621d8915846cb65f609a9298566d
2019-11-04 14:52:17 -06:00
Johann
a653423f23 remove unused postproc parameters
BUG=webm:1612

Change-Id: I92937417403af2c943e903ba66799609ef6ab635
2019-11-04 14:45:13 -06:00
James Zern
c82282592e configure.sh,darwin: fix external_build check
disabled external_build will return an incorrect result for a value not
explicitly set on the command line; use ! enabled instead.

fixes ios build

Change-Id: I48dda3a06731bc9809c2266880797e1779e4c01c
2019-10-31 23:16:33 -07:00
angiebird
2b690d6d13 Refactor check_initial_width
1) Rename it by update_initial_width() because it's actually
changing the initial_width

2) Move alloc_raw_frame_buffers out of it.

Change-Id: I341bd6743eb0e1217bdf1bdbd7f67c4ea7d76ee2
2019-10-30 15:51:13 -07:00
angiebird
38739edaa1 Move noise_sensitivity to set_encoder_config
Change-Id: Ia9a0d71dc8a329d00ebf20a82d42cda43e13431b
2019-10-30 14:59:58 -07:00
angiebird
4d307cd7ff Remove extra function calls in check_initial_width
These function are already called in set_frame_size()

Change-Id: I71c1f906fa4deef7bc630dcff1506f5b57c6d045
2019-10-30 14:40:53 -07:00
angiebird
b66b33b524 Move init_ref_frame_bufs to vp9_create_compressor
Change-Id: I2e36e07c273692a08a9c3ebba814882d32d32f8c
2019-10-30 14:36:54 -07:00
Johann
70d8d72ffe darwin: disable compiler checks
When configuring with --enable-external-build the .mk files
are not expected to work. This avoids some spurious warnings
when configuring for darwin targets on other platforms.

Fixed: webm:1535
Change-Id: Idac2b397db1b595ba7ea9231c4eb835b6013abdc
2019-10-30 16:05:26 +00:00
Johann Koenig
553c68dca1 Merge changes I7dd2b487,I6db5b053
* changes:
  support visual studio 2019 (vs16)
  remove old visual studio remnants
2019-10-30 13:07:55 +00:00
angiebird
2bfcc7179b Remove bits_left update in encoder_encode()
It's already updated properly in vp9_init_second_pass()

Change-Id: I94ee2e8536387c94a2abf9a7686011c76489c2f9
2019-10-29 18:52:40 -07:00
angiebird
90a65c2064 Add vp9_get_encoder_config / vp9_get_frame_info
Change-Id: Id5c8b2d69a36d218ec04cd504868ce0efebf6b69
2019-10-29 17:37:48 -07:00
angiebird
65f9ded395 vp9_get_coding_frame_num()
Change-Id: I36fa92d9acfc272fc9a2f700bcd1466e95f1443c
2019-10-29 16:43:34 -07:00
angiebird
46fa3d6b5b Make [min/max]_gf_interval static under rate_ctrl
Change-Id: I0624c4b44a35c760bb00e4d1a07bb0ac2640ea0b
2019-10-29 16:34:18 -07:00
angiebird
d693439bed Add rate_ctrl flag
BDRate Changes (negative means improvement)
lowres: 0.565%
midres: 0.361%
lowres: 0.233%
ugc360: -0.242%

Make gop size independent from coding results

Change-Id: I1f54c48b12dc45ee5162ca2527a877c1610528bd
2019-10-29 16:34:18 -07:00
Angie Chiang
7d349b2cab Merge changes Ibde94f52,Iae804fcc,I94f3b93a
* changes:
  Add get_arf_layers()
  Use RANGE in get_gop_coding_frame_num
  Add get_gf_interval_active_range()
2019-10-29 23:14:38 +00:00
Johann
e6123709dc always use lf for shell scripts
Ensure scripts do not get crlf endings when checking out
on Windows.

Fixed: webm:1651

Change-Id: I7cb6039c6d600bb57e7fbdb2fdbb84f4040803f5
2019-10-29 14:54:56 -04:00
Johann
59d95e1e71 remove .gitattributes
None of these file patterns match any existing files.

Change-Id: I069bab91fe43887b094d02e6328b00da62706d94
2019-10-29 17:24:59 +00:00
Johann
6316fbdc5e remove .gitattributes filters
These only appear to exist in this repository. Based
on the name they may have been intended to manage
tabs vs spaces.

Change-Id: I2ac1a858f75cb0e5714964cb68e49082c4eb3ca5
2019-10-29 17:24:48 +00:00
Johann
daefbf2a6f support visual studio 2019 (vs16)
Fixed: 1633
Change-Id: I7dd2b4873aeb548c7f9ebf7025baf15a8e65c68f
2019-10-29 13:19:43 -04:00
Johann
154da5ba5a remove old visual studio remnants
The oldest supported Visual Studio version has been vs14
since 539dc7649f.

Clean up scripts and remove dead code.

Change-Id: I6db5b053a55d7656275d3d48e35d672c8ce22067
2019-10-29 13:08:06 -04:00
angiebird
7cd76b428a Add get_arf_layers()
Change-Id: Ibde94f52235a37e122e6a548d71cb230e7b28368
2019-10-29 09:56:12 -07:00
angiebird
c75cb7beb2 Use RANGE in get_gop_coding_frame_num
Change-Id: Iae804fccd7cca180eef9e6664de70f0930ee2e94
2019-10-29 09:56:12 -07:00
angiebird
a82f32d59b Add get_gf_interval_active_range()
Change-Id: I94f3b93a932f351b6c9743932238d7ede2938462
2019-10-29 09:56:12 -07:00
Hien Ho
9b73e21c0d Merge "remove clang flag for integer sanitizer testing" 2019-10-25 16:24:23 +00:00
Angie Chiang
a57aa0545d Merge changes I309357fd,I0d170956,I5c7fc771,I6ebb023a,I1f6ef8c6, ...
* changes:
  Make gop size independent from kf_zeromotion_pct
  Add get_frames_to_next_key()
  Rename i by frames_to_key in find_next_key_frame
  Remove input_stats when decide frames_to_key
  Remove twopass param from test_candidate_kf
  Pass first_pass_info/show_idx to test_candidate_kf
  Refactor test_candidate_kf()
  Decide the key frame directly when auto_key is off
  Remove detect_transition_to_still()
  Change the interface of find_next_key_frame
2019-10-24 20:25:05 +00:00
Hien Ho
47a6c557af remove clang flag for integer sanitizer testing
BUG=webm:1615

Change-Id: Idfc86722e744d0c71ad47e284afb9cf9b8474473
2019-10-24 11:02:41 -07:00
Hien Ho
d18c0bbe97 Merge "vpx_dsp/x86/avg_intrin_sse2: fix int sanitizer warnings" 2019-10-24 16:39:52 +00:00
James Zern
cfe6fa98f7 Merge "vpx_int_pro_col_sse2: use unaligned loads" 2019-10-24 06:36:38 +00:00
Hien Ho
10b475ec67 vpx_dsp/x86/avg_intrin_sse2: fix int sanitizer warnings
Unit Test: VP9/AqSegmentTest. VP9/CpuSpeedTest, AVX2/Loop8Test6Param

implicit conversion from type 'int' of value 59741 (32-bit, signed) to
type 'int16_t' (aka 'short') changed the value to -5795 (16-bit, signed)

BUG=webm:1615

Change-Id: I2e5b688a97c3caa29d4b8a817b95a4986b81a562
2019-10-23 15:55:56 -07:00
Johann Koenig
aa86438a0d Merge "simplify darwin autodetection" 2019-10-23 20:22:11 +00:00
Johann Koenig
fda86393b8 Merge "add darwin18 target" 2019-10-23 19:23:55 +00:00
Johann
533702b370 simplify darwin autodetection
Use sed to extract tgt_os

Change-Id: I2f7cd290102a2b591c6ae6e40766918b55abff10
2019-10-23 14:17:57 -04:00
Johann
5ed1801f10 add darwin18 target
Fix autodetection on MacOS 10.14. Without this it defaults
to generic-gnu

Change-Id: I19cd4a9f2fb106dff16ab5e38821a5f374add59c
2019-10-23 13:50:36 -04:00
Johann
d7822442d4 use a compile time constant for kDataAlignment
const or constexpr should be sufficient for this use but older
versions of gcc fail to expand DECLARE_ALIGNED correctly. Work
around this by using an enum.

Fixed: webm:1660
Change-Id: Ifa4f7585417760f90f9fb28332152019de9f8169
2019-10-23 10:52:38 -04:00
James Zern
849b63ffe1 vpx_int_pro_col_sse2: use unaligned loads
this fixes a segfault when scaling is enabled; in some cases depending
on the ratio offsets may become odd.

vpx_int_pro_row_sse2 was updated previously, though the reason wasn't
listed:
54eda13f8 Apply fast motion search to golden reference frame

BUG=webm:1600

Change-Id: I8d5e105d876d8cf917919da301fce362adffab95
2019-10-22 19:58:29 -07:00
angiebird
42ad1ac7a0 Make gop size independent from kf_zeromotion_pct
Change-Id: I309357fd0e008d10b974c9d2603d0712e1aa0bcd
2019-10-22 17:26:52 -07:00
angiebird
a263098e3b Add get_frames_to_next_key()
Change-Id: I0d1709562bf96648fbaf2a0dce2dc23b9d2b81f1
2019-10-22 17:26:50 -07:00
angiebird
19f3b9c2ca Rename i by frames_to_key in find_next_key_frame
Change-Id: I5c7fc771f0852d3b9e8b30be34097b13dfbc2513
2019-10-22 17:25:57 -07:00
Hien Ho
2a9698c111 Merge "vpx_dsp/inv_txfm: fix int sanitizer warnings" 2019-10-23 00:22:43 +00:00
angiebird
c68e75b940 Remove input_stats when decide frames_to_key
Also remove the corresponding reset_fpf_position

Change-Id: I6ebb023a38627785ff19e161bfe7bbef797fc710
2019-10-22 12:10:36 -07:00
Angie Chiang
96d584e1b8 Merge changes I00697e9a,I9dfc2ba3,I73619051,Ib4d37667
* changes:
  Refactor kf_group_err in find_next_key_frame
  Simplify the logics in find_next_key_frame
  Add get_gop_coding_frame_num()
  Localize zero_motion_accumulator
2019-10-22 18:17:51 +00:00