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
armv8
mips
x86
ih264e.h
ih264e_api.c
ih264e_bitstream.c
ih264e_bitstream.h
ih264e_cabac.c
ih264e_cabac.h
ih264e_cabac_encode.c
ih264e_cabac_init.c
ih264e_cabac_structs.h
ih264e_cavlc.c
ih264e_cavlc.h
ih264e_config.h
ih264e_core_coding.c
ih264e_core_coding.h
ih264e_deblk.c
ih264e_deblk.h
ih264e_debug.h
ih264e_defs.h
ih264e_encode.c
ih264e_encode_header.c
ih264e_encode_header.h
ih264e_error.h
ih264e_fmt_conv.c
ih264e_fmt_conv.h
ih264e_function_selector_generic.c
ih264e_globals.c
ih264e_globals.h
ih264e_half_pel.c
ih264e_half_pel.h
ih264e_intra_modes_eval.c
ih264e_intra_modes_eval.h
ih264e_list.h
ih264e_master.h
ih264e_mc.c
ih264e_mc.h
ih264e_me.c
ih264e_me.h
ih264e_modify_frm_rate.c
ih264e_modify_frm_rate.h
ih264e_process.c
ih264e_process.h
ih264e_rate_control.c
ih264e_rate_control.h
ih264e_rc_mem_interface.c
ih264e_rc_mem_interface.h
ih264e_statistics.h
ih264e_structs.h
ih264e_time_stamp.c
ih264e_time_stamp.h
ih264e_trace.h
ih264e_trace_support.h
ih264e_utils.c
ih264e_utils.h
ih264e_version.c
ih264e_version.h
ime.c
ime.h
ime_defs.h
ime_distortion_metrics.c
ime_distortion_metrics.h
ime_macros.h
ime_statistics.h
ime_structs.h
ime_typedefs.h
irc_bit_allocation.c
irc_bit_allocation.h
irc_cbr_buffer_control.c
irc_cbr_buffer_control.h
irc_cntrl_param.h
irc_common.h
irc_datatypes.h
irc_est_sad.c
irc_est_sad.h
irc_fixed_point_error_bits.c
irc_fixed_point_error_bits.h
irc_frame_info_collector.c
irc_frame_info_collector.h
irc_mb_model_based.c
irc_mb_model_based.h
irc_mem_req_and_acq.h
irc_picture_type.c
irc_picture_type.h
irc_rate_control_api.c Encoder: Update scene cut detection logic 2017-05-01 10:42:57 -07:00
irc_rate_control_api.h
irc_rate_control_api_structs.h
irc_rd_model.c
irc_rd_model.h
irc_rd_model_struct.h
irc_trace_support.h
irc_vbr_storage_vbv.c
irc_vbr_storage_vbv.h
irc_vbr_str_prms.c
irc_vbr_str_prms.h
iv2.h
ive2.h