libavc/encoder
Harish Mahendrakar 14187ea720 Encoder: Update scene cut detection logic
Encoder detects scene cut based on number of Intra MBs in the current
frame. For frames which contain plane areas which are different from
reference frames, encoder might encode these MBs as intra because of
lower SAD when compared with inter SAD.
Such cases were detected as scene cuts and RC model was being reset.

To fix this, scene cut is rejected if the current picture did not consume
all the bits that were allocated to it. In an actual scene cut where RC
needs to be reset, current frame consumes more than what is allocated to it.

Bug: 36814430
Change-Id: Ifa904fbaf28481f4762a23bb63e013fd37ec8942
2017-05-01 10:42:57 -07:00
..
arm arm: Properly match /* */ comments in the arm assembly 2015-06-24 20:47:59 +00:00
armv8 armv8: Fix ime_calculate_sad3_prog_av8 2016-10-06 10:29:43 +03:00
mips Fix MIPS build 2015-06-24 15:05:29 -07:00
x86 Don't declare variables after statements 2015-06-25 13:29:52 +03:00
ih264e.h Encoder: Added support for configuring VUI parameters. 2016-07-12 14:41:59 -07:00
ih264e_api.c Merge "Encoder: Defined structures for accessing MB header data" 2016-11-29 14:33:27 +00:00
ih264e_bitstream.c Added check for minimum output buffer size. 2015-06-24 21:05:34 +00:00
ih264e_bitstream.h Added check for minimum output buffer size. 2015-06-24 21:05:34 +00:00
ih264e_cabac.c Cabac optimizations 2015-07-28 18:48:57 +00:00
ih264e_cabac.h Cabac optimizations 2015-07-28 18:48:57 +00:00
ih264e_cabac_encode.c Encoder: Defined structures for accessing MB header data 2016-11-24 12:25:49 +05:30
ih264e_cabac_init.c Encoder: Fixed unaligned access of i1_ref_idx and u1_mv in cabac context 2016-11-24 12:22:25 +05:30
ih264e_cabac_structs.h Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
ih264e_cavlc.c Encoder: Defined structures for accessing MB header data 2016-11-24 12:25:49 +05:30
ih264e_cavlc.h Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
ih264e_config.h fix file permissions 2015-05-05 17:34:51 +00:00
ih264e_core_coding.c Always do recon of 4x4 intra blocks 2015-07-02 13:22:18 +03:00
ih264e_core_coding.h fix file permissions 2015-05-05 17:34:51 +00:00
ih264e_deblk.c Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
ih264e_deblk.h fix file permissions 2015-05-05 17:34:51 +00:00
ih264e_debug.h fix file permissions 2015-05-05 17:34:51 +00:00
ih264e_defs.h Increases max screen height and width to 2560. 2016-08-22 12:09:12 -07:00
ih264e_encode.c Make sure that apv_bufs[0] and u4_is_last always are set 2015-07-28 18:46:30 +00:00
ih264e_encode_header.c Encoder: Fix in signalling direct_8x8_inference_flag in SPS am: 7f1e3b7b07 am: 3f977fc6db 2016-08-09 20:52:19 +00:00
ih264e_encode_header.h Encoder added support for VUI params 2015-08-04 11:27:29 +05:30
ih264e_error.h DO NOT MERGE Encoder: Added support for Constrained intra prediction. 2016-03-11 22:10:12 +00:00
ih264e_fmt_conv.c Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
ih264e_fmt_conv.h fix file permissions 2015-05-05 17:34:51 +00:00
ih264e_function_selector_generic.c Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
ih264e_globals.c Fixed QP lockups 2015-06-24 21:03:22 +00:00
ih264e_globals.h fix file permissions 2015-05-05 17:34:51 +00:00
ih264e_half_pel.c Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
ih264e_half_pel.h fix file permissions 2015-05-05 17:34:51 +00:00
ih264e_intra_modes_eval.c DO NOT MERGE Encoder: Added support for Constrained intra prediction. 2016-03-11 22:10:12 +00:00
ih264e_intra_modes_eval.h fix file permissions 2015-05-05 17:34:51 +00:00
ih264e_list.h fix file permissions 2015-05-05 17:34:51 +00:00
ih264e_master.h fix file permissions 2015-05-05 17:34:51 +00:00
ih264e_mc.c Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
ih264e_mc.h fix file permissions 2015-05-05 17:34:51 +00:00
ih264e_me.c Fixed issue in cost computation for BIPRED ME 2015-07-28 18:50:14 +00:00
ih264e_me.h Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
ih264e_modify_frm_rate.c Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
ih264e_modify_frm_rate.h fix file permissions 2015-05-05 17:34:51 +00:00
ih264e_process.c Merge "Encoder: Defined structures for accessing MB header data" 2016-11-29 14:33:27 +00:00
ih264e_process.h Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
ih264e_rate_control.c Made gops closed 2015-07-28 19:14:39 +00:00
ih264e_rate_control.h Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
ih264e_rc_mem_interface.c Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
ih264e_rc_mem_interface.h fix file permissions 2015-05-05 17:34:51 +00:00
ih264e_statistics.h fix file permissions 2015-05-05 17:34:51 +00:00
ih264e_structs.h Merge "Encoder: Defined structures for accessing MB header data" 2016-11-29 14:33:27 +00:00
ih264e_time_stamp.c Encoder: Fixed an issue in handling FPS greater than 60 2015-08-03 12:13:51 +05:30
ih264e_time_stamp.h fix file permissions 2015-05-05 17:34:51 +00:00
ih264e_trace.h fix file permissions 2015-05-05 17:34:51 +00:00
ih264e_trace_support.h fix file permissions 2015-05-05 17:34:51 +00:00
ih264e_utils.c Made gops closed 2015-07-28 19:14:39 +00:00
ih264e_utils.h Reduced memory requirements. 2015-06-24 21:04:04 +00:00
ih264e_version.c Remove __DATE__/__TIME__ from Android builds 2015-10-27 17:52:13 -07:00
ih264e_version.h fix file permissions 2015-05-05 17:34:51 +00:00
ime.c Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
ime.h Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
ime_defs.h Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
ime_distortion_metrics.c Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
ime_distortion_metrics.h Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
ime_macros.h fix file permissions 2015-05-05 17:34:51 +00:00
ime_statistics.h fix file permissions 2015-05-05 17:34:51 +00:00
ime_structs.h Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
ime_typedefs.h fix file permissions 2015-05-05 17:34:51 +00:00
irc_bit_allocation.c Don't use static structs for rc init 2015-06-23 15:00:45 +03:00
irc_bit_allocation.h fix file permissions 2015-05-05 17:34:51 +00:00
irc_cbr_buffer_control.c Don't use static structs for rc init 2015-06-23 15:00:45 +03:00
irc_cbr_buffer_control.h fix file permissions 2015-05-05 17:34:51 +00:00
irc_cntrl_param.h fix file permissions 2015-05-05 17:34:51 +00:00
irc_common.h Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
irc_datatypes.h fix file permissions 2015-05-05 17:34:51 +00:00
irc_est_sad.c Don't use static structs for rc init 2015-06-23 15:00:45 +03:00
irc_est_sad.h fix file permissions 2015-05-05 17:34:51 +00:00
irc_fixed_point_error_bits.c Don't use static structs for rc init 2015-06-23 15:00:45 +03:00
irc_fixed_point_error_bits.h fix file permissions 2015-05-05 17:34:51 +00:00
irc_frame_info_collector.c fix file permissions 2015-05-05 17:34:51 +00:00
irc_frame_info_collector.h fix file permissions 2015-05-05 17:34:51 +00:00
irc_mb_model_based.c Don't use static structs for rc init 2015-06-23 15:00:45 +03:00
irc_mb_model_based.h fix file permissions 2015-05-05 17:34:51 +00:00
irc_mem_req_and_acq.h fix file permissions 2015-05-05 17:34:51 +00:00
irc_picture_type.c Fixed issues with forcing I and IDR frames. 2015-06-24 21:02:01 +00:00
irc_picture_type.h Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
irc_rate_control_api.c Encoder: Update scene cut detection logic 2017-05-01 10:42:57 -07:00
irc_rate_control_api.h Added support for Main Profile toolsets in encoder. 2015-06-24 20:36:11 +00:00
irc_rate_control_api_structs.h fix file permissions 2015-05-05 17:34:51 +00:00
irc_rd_model.c Don't declare variables after statements 2015-06-25 13:29:52 +03:00
irc_rd_model.h fix file permissions 2015-05-05 17:34:51 +00:00
irc_rd_model_struct.h fix file permissions 2015-05-05 17:34:51 +00:00
irc_trace_support.h fix file permissions 2015-05-05 17:34:51 +00:00
irc_vbr_storage_vbv.c Don't use static structs for rc init 2015-06-23 15:00:45 +03:00
irc_vbr_storage_vbv.h fix file permissions 2015-05-05 17:34:51 +00:00
irc_vbr_str_prms.c fix file permissions 2015-05-05 17:34:51 +00:00
irc_vbr_str_prms.h fix file permissions 2015-05-05 17:34:51 +00:00
iv2.h fix file permissions 2015-05-05 17:34:51 +00:00
ive2.h Encoder: Added support for configuring VUI parameters. 2016-07-12 14:41:59 -07:00