summaryrefslogtreecommitdiff
path: root/vp9
AgeCommit message (Collapse)Author
2019-12-06Add GetKeyFrameGroupSize()angiebird
Makes vp9_get_frames_to_next_key() public. Change-Id: I903cefbb3925d6ffc641412c6d60d95a2ff256a4
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-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-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-25Merge "Change vp9_get_encoder_config."Angie Chiang
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-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
2019-11-20Move pimpl to the function body of SimpleEncodeangiebird
Change-Id: Id4757d61916b8348d76c99dddbe48e68f2b3ef1a
2019-11-20Add namespace vp9angiebird
Change-Id: I29d05557becbfc5d55d1cd1bb709e519d27c928b
2019-11-20Add copyright and header guard for simple_encode.hangiebird
Change-Id: Ib4502fc35202b36aa25f06c7c2bb5203673faa06
2019-11-20Close the file that SimpleEncode opens in its ctor in its dtor.Angie Chen
Change-Id: I1e5d1be9f076c70ec1d7764d5703aeba8afd4436
2019-11-20Merge changes I32ab6829,If47867d4,I4442de01Angie Chiang
* changes: Add coding_data_bit_size to EncodeFrameResult Pass in infile_path to SimpleEncode() Add SimpleEncode::EncodeFrameWithQuantizeIndex()
2019-11-20Merge "Use a better model for tune=ssim"Sai Deng
2019-11-18Use a better model for tune=ssimsdeng
Comparing to the baseline tune=ssim, the average gains are PSNR -0.55, SSIM -0.30, MS-SSIM -0.98, VMAF -1.26 Details: (150f VBR) PSNR SSIM MS-SSIM VMAF Lowres -1.347 0.291 -0.307 -1.291 Midres -0.628 -0.329 -1.011 -2.173 Hdres 0.781 -0.656 -1.319 0.210 Ugc360p -2.695 -0.972 -1.503 -4.055 Lowres_bd10 0.074 0.196 -0.623 -0.835 Midres_bd10 0.517 -0.327 -1.124 0.566 Change-Id: Ie034eaedf20e1fe843921cafbb3b7ad9a2bc89d1
2019-11-18Add coding_data_bit_size to EncodeFrameResultangiebird
Change-Id: I32ab6829083c896ab2c6234e191939a000dea6e5
2019-11-18Add quantize_index to EncodeFrameResultangiebird
Change-Id: Idfb36a8bfa264df8294eba70424fd25fa5d88cda
2019-11-18Pass in infile_path to SimpleEncode()angiebird
Change-Id: If47867d4d59a59e252bfe7eb24c940f9e089d335
2019-11-18Add psnr and sse to EncodeFrameResultangiebird
Change-Id: I33c410a14b86f95278eff8d1d0e6992f1b82a17d
2019-11-18Add SimpleEncode::EncodeFrameWithQuantizeIndex()angiebird
Change-Id: I4442de01dfdbf13b0b9f7830f0fb393d3b935522
2019-11-18Add frame_type and show_idx to EncodeFrameResultangiebird
Let vp9_get_compressed_data update ENCODE_FRAME_RESULT, a C version of EncodeFrameResult. Let unit test to test frame_type and show_idx properly. Change-Id: Id810c26c826254fd82249f19ab855ea3b440d99c
2019-11-18Add EncodeFrameResultsangiebird
It contains coding_data_size and coding_data. The EncodeFrame will allocate a buffer, write the coding data into the buffer and give the ownership of the buffer to encode_frame_result->coding_data Change-Id: I6bd86aede191ade1db4a1f1bba5be601eef97d60
2019-11-18Rename frame_stats by first_pass_statsangiebird
This is in simple_encode.cc Change-Id: I2770e4a229b435f92e1ebe226644d8d104114d29
2019-11-18Add SimpleEncode::GetCodingFrameNum()angiebird
Also add unit tests for GetCodingFrameNum() and EncodeFrame() Change-Id: I3e7b65f47226be4660409481435f8f784db72a68
2019-11-18Add SimpleEncode::EncodeFrame()angiebird
Change-Id: I08f074b7db2011f88769bd1d9d50cb376c238fe5
2019-11-18Add ComputeFirstPassStats()angiebird
Change-Id: Iaed87a4fa35f456aec5d88d07fade636280eb211
2019-11-18Add vp9_iface_common.cangiebird
Change-Id: Iac8c31a333a0ae04c9b5f188b3e3b09c25df4046
2019-11-18Merge changes Id42dbddd,I6dff1bdaAngie Chiang
* changes: Add const to oxcf of vp9_create_compressor Add simple_encode.cc/h
2019-11-15vp9_cx_iface: quiet unused fn warning w/CONFIG_REALTIME_ONLYJames Zern
since: 71684703a Remove output_pkt_list from cpi Change-Id: I14afae6598051680fdaf8c7509b6705d73789dd6
2019-11-15Add const to oxcf of vp9_create_compressorangiebird
Change-Id: Id42dbdddae3e0a16022343c89cbc57912297398c
2019-11-15Add simple_encode.cc/hangiebird
Change-Id: I6dff1bda4bea760a32c2f8e38773e5913c830204
2019-11-14Add vp9_update_compressor_with_img_fmt()angiebird
Add utility functions vpx_img_chroma_subsampling vpx_img_use_highbitdepth Change-Id: I7b44fdc2cf67bbb49e161fdf778917b9ec0c8832
2019-11-14Add vp9_lookahead_full/vp9_lookahead_next_show_idxangiebird
vp9_lookahead_full - Check if lookahead is full vp9_lookahead_next_show_idx - Return the show_idx that will be assigned to the next frame pushed by vp9_lookahead_push() Keep track of the show_idx of each frame in the queue Change-Id: If7ec2c7250f52413e6ce00c5b96f026ebf60a403
2019-11-14Remove output_pkt_list from cpiangiebird
Move the pkt operations to encoder_encode Change-Id: Ibe730baab61bf7a395998641f106eb0f06d3b8ae
2019-11-14Move buffer from extend_and_predict into TileWorkerDataVitaly Buka
This avoids unneeded initializations. extend_and_predict is called from multiple nested loops, allocate large buffer on stack and use just a portion of it. -ftrivial-auto-var-init= inserts initializations which performed on multiple iterations of loops causing 258.5% regression on webrtc_perf_tests decode_time/pc_vp9svc_3sl_low_alice-video. Bug: 1020220, 977230 Change-Id: I7e5bb3c3780adab74dd8b5c8bd2a96bf45e0c231