summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-17Merge "vp8 boolreader: ignore invalid input"Johann Koenig
2019-12-16Rename encode_frame_indexangiebird
to next_encode_frame_index Change-Id: Id9bd2a0f6c4278bf0f0c270eb937a317232dead6
2019-12-16Add start_show_index/show_frame_countangiebird
to GroupOfPicture Change-Id: I905be72686b6c0e27ea782a12f1e8a8176c8b0f5
2019-12-13Cosmetic change of update_encode_frame_result()angiebird
Move output parameter to the end. Change-Id: I579a118768d29cb1ae2e3c8995a952ef11cfeb8d
2019-12-13Move psnr/sse computation under RATE_CTRL flagangiebird
in update_encode_frame_result() Change-Id: Ie86d11f66744ef95dd224c7daf325750a5e5458b
2019-12-13Add detailed description about GroupOfPictureangiebird
Change-Id: I96a447e59bdcf156ab6fbf9e766d867633ca47f3
2019-12-12Cosmetic change of vp9_get_gop_coding_frame_countangiebird
Move the output parameter to the end. Change-Id: I39c718b683a76cd7c5998724c3a07e88275198bf
2019-12-12Add GetFramePixelCount to SimpleEncodeangiebird
Gets the total number of pixels of YUV planes per frame. Change-Id: Ifdf35190cdde1378de6d7e93ab4428868a5795fa
2019-12-11Cosmetic changes for RATE_CTRL related functionsangiebird
Move input parameters ahead of output parameters. Change-Id: I384f69523b6be92224535d05373ebb33467a040e
2019-12-11Merge changes I54f60f62,Idbc437d3Angie Chiang
* changes: Rename parameter two_pass to twopass. Add GetNextEncodeFrameInfo ObserveGroupOfPicture
2019-12-10Rename parameter two_pass to twopass.angiebird
Change-Id: I54f60f62f27f9ef96db892d5b6219c9591ce2dc9
2019-12-10Add GetNextEncodeFrameInfo ObserveGroupOfPictureangiebird
GetNextEncodeFrameInfo() Gets encode_frame_info for the next coding frame. ObserveGroupOfPicture() Provides the group of pictures that the next coding frame is in. Change-Id: Idbc437d32c392f25b06efb2d4e1ec01347d678f2
2019-12-09Merge changes I41ff04bb,I3d88d719Angie Chiang
* changes: Set frames_since_key in vp9_get_coding_frame_num Add vp9_get_gop_coding_frame_count()
2019-12-09Set frames_since_key in vp9_get_coding_frame_numangiebird
Set frames_since_key to 0 whenever a key frame appears. Add dependency notes to get_gop_coding_frame_num() Change-Id: I41ff04bb1c6176e60946b05fe21c72fbb82be62a
2019-12-09Add vp9_get_gop_coding_frame_count()angiebird
Call this function before coding a new group of picture to get information about it. Change-Id: I3d88d719dd27c6d7383eb8f92307a93096b30706
2019-12-07Merge "Merge Timestamp TestVpxRollover tests for Vp8/Vp9"Debargha Mukherjee
2019-12-06Merge Timestamp TestVpxRollover tests for Vp8/Vp9Debargha Mukherjee
BUG=webm:701 Change-Id: Id0b928db3cbb6263d136d7b9eb8d9453b3c63824
2019-12-06Add GetKeyFrameGroupSize()angiebird
Makes vp9_get_frames_to_next_key() public. Change-Id: I903cefbb3925d6ffc641412c6d60d95a2ff256a4
2019-12-06configure.sh,darwin: fix asm conv w/external buildJames Zern
always set asm_conversion_cmd as e.g., vpx_config.asm may still be generated with make when using --enable-external-build BUG=webm:1535 Change-Id: I120452d4e06580b67119aee8d0a710998ac87a7a
2019-12-06Fix argv leak on Unrecognized input file type errWan-Teh Chang
Free argv (allocated by argv_dup) after the "Unrecognized input file type" error. Change-Id: I2b6273a1abca2ff8e51445fb15839bd993c41741
2019-12-05Add missing typecast and re-enable timestamp testDebargha Mukherjee
BUG=webm:701 Change-Id: I1d8a6e263fddb9e4cc6265a313011a18d18bbf9e
2019-12-04vp8 boolreader: ignore invalid inputJohann
Do basic initialization even when the result will not be used. BUG=chromium:1026961 Change-Id: Iaa480534b49efe1ecc66484b316f8d654e8a1245
2019-12-04remove init_motion_estimation from update_initial_widthJerome Jiang
Change-Id: I04da24eb6a87425490b25e50ead7a8fd8117e7cb
2019-12-04Merge "Fix the encode inconsistency of SimpleEncode"Angie Chiang
2019-12-04Merge "Describe ObserveFirstPassStats with more details"Angie Chiang
2019-12-03Fix the encode inconsistency of SimpleEncodeangiebird
Make sure restore_coding_context() is always called in the end of encode_with_recode_loop(). Add EncodeConsistencyTest. Change-Id: I3c8e4c8fcff4e3f7afef9bec469beef2a5fb6eeb
2019-12-03Describe ObserveFirstPassStats with more detailsangiebird
Change-Id: I7c15aeaf0c0884b7c7b265fb03fbbb9ccc6b73be
2019-12-03Merge "Avoid dividing by 0 in vp8 gf_group bits compute"Debargha Mukherjee
2019-12-02Avoid dividing by 0 in vp8 gf_group bits computeDebargha Mukherjee
BUG=webm:1653 Change-Id: Ic59fe5e573f08dbca678d3927d4a750ae75f903c
2019-12-02Fix SVC regression in webrtc tests.Jerome Jiang
BUG=1029438 Change-Id: I4495fc7bb45e77e9d91059a5c6c4695d8da1bf34
2019-12-02Merge "Fix mutex free in multi-thread lpf"James Zern
2019-11-27Fix mutex free in multi-thread lpfVenkatarama NG. Avadhani
The mutex lf_mutex will now be allocated and destroyed, making it easier to verify if it has been inited before destruction. BUG=webm:1662 Change-Id: I8169bea9e117bd615d68b8d02da98aeab570b53f
2019-11-26Merge "fix __has_attribute in visual studio"Johann Koenig
2019-11-25Make GetCodingFrameNum const functionangiebird
Change-Id: I6a5a2400cfb6e122c77667e0950c80026c48a1f6
2019-11-25Add missing includes to simple_encode.hangiebird
Change-Id: Ic3bb2450443c52ba3df1ed6729cecdab51245e76
2019-11-25Correct typo in simple_encode.hangiebird
Change-Id: Ifa858acad8b943d1579283fd1c72ff41434c0710
2019-11-25Cosmetic change of GetBitrateInKbpsangiebird
Change-Id: Id4b852cdfba0f6fa1e12a05e2617df0de395be9d
2019-11-25Merge "Change vp9_get_encoder_config."Angie Chiang
2019-11-25fix __has_attribute in visual studioJohann
Similar to __has_feature, __has_attribute needs to be defined away on unsupported platforms. BUG=chromium:1020220,chromium:977230 Change-Id: I803fff0fef2b18b535604f3b7f9f8300e45f7ef8
2019-11-23Disable -ftrivial-auto-var-init= for hot codeVitaly Buka
Improves encode_time by 10% on FullStackTest.VP9KSVC_3SL_High and other tests when -ftrivial-auto-var-init= is used. vp9_pick_inter_mode can be called recursevely so multiple pred_buf is neede. So alternative to attribute should be list of bufferes in ThreadData or TileData. Bug: 1020220, 977230 Change-Id: I939a468f88c2b5dd2ec235de7564b92bfaa356f5
2019-11-23Disable -ftrivial-auto-var-init= for hot codeVitaly Buka
This helps to improve some benchmarks by 10%, e.g. decode_time PCFullStackTest.VP9SVC_3SL_Low Bug: 1020220, 977230 Change-Id: Ic992f1eec369f46a08e19eb33bc3a7c15c1e7c87
2019-11-22Merge "Move buffer from extend_and_predict into TileWorkerData"Jerome Jiang
2019-11-22Change vp9_get_encoder_config.angiebird
Add vp9_dump_encoder_config for config comparison. This function will generate the same VP9EncoderConfig used by the vpxenc command given below. The configs in the vpxenc command corresponds to parameters of vp9_get_encoder_config() as follows. WIDTH: frame_width HEIGHT: frame_height FPS: frame_rate BITRATE: target_bitrate INPUT, OUTPUT, LIMIT will not affect VP9EncoderConfig vpxenc command: INPUT=bus_cif.y4m OUTPUT=output.webm WIDTH=352 HEIGHT=288 BITRATE=600 FPS=30/1 LIMIT=150 ./vpxenc --limit=$LIMIT --width=$WIDTH --height=$HEIGHT --fps=$FPS --lag-in-frames=25 \ --codec=vp9 --good --cpu-used=0 --threads=0 --profile=0 \ --min-q=0 --max-q=63 --auto-alt-ref=1 --passes=2 --kf-max-dist=150 \ --kf-min-dist=0 --drop-frame=0 --static-thresh=0 --bias-pct=50 \ --minsection-pct=0 --maxsection-pct=150 --arnr-maxframes=7 --psnr \ --arnr-strength=5 --sharpness=0 --undershoot-pct=100 --overshoot-pct=100 \ --frame-parallel=0 --tile-columns=0 --cpu-used=0 --end-usage=vbr \ --target-bitrate=$BITRATE -o $OUTPUT $INPUT Change-Id: If7fd635d6f3fad4e6199a4fbcd556323efc1c250
2019-11-21Add trailing underscore to members of SimpleEncodeangiebird
Change-Id: I7a1d19ed4fd60fef374392c86df69d2122c335f0
2019-11-21Rename impl by EncodeImplangiebird
Change-Id: Id182cd234c9f4f37c2854ea5ca761d8cfa113791
2019-11-21Cosmetic changes of SimpleEncode codeangiebird
Change-Id: Ied06630d605a4978711070778b92bfb731c32161
2019-11-20Fix a bug related to use_external_quantize_indexangiebird
Move the break point in encode_with_recode_loop after save_coding_context() so that restore_coding_context can work properly. Change-Id: I58f46928c8cae0ae542fd8343076670fb35681bf
2019-11-20Fix a bug in free_encoder()angiebird
Move vpx_free(buffer_pool) after vp9_remove_compressor() buffer_pool needs to be free after cpi because buffer_pool contains allocated buffers that will be free in vp9_remove_compressor() Change-Id: I8bcedae2858cfe132bde110c8f3f6b55dcbe3f36
2019-11-20Use indicative mood in comments of SimpleEncodeangiebird
Change-Id: I913e14994646945a7237c9ab65097647fb3a5b5c
2019-11-20Rename pimpl by impl_ptr in SimpleEncodeangiebird
Change-Id: I0071216b710544731a6f8e8c7a63c7a28f25bbac