Remove dead-code and address snake_case violations and apply Clang format when possible

Remove dead code
Address some snake_case PascalCase violations for variables, functions, enums and types
Rename lcu fields to sb
Rename tu fields to txb
Rename cu fields to blk
Shorten variable names in prep to apply clang format: e.g.
- picture_control_set_ptr -- > pcs_ptr
- sequence_control_set_ptr -- > scs_ptr
Remove RawStringFormats property from clang-format until it's fixed
Apply clang-format on files in source/lib/encoder/codec/ except:
 - aom_dsp_rtcd.c
 - aom_dsp_rtcd.h
 - EbMdRateEstimation.h
 - EbIntraPrediction.c
 - EbModeDecisionConfiguration.c
 - EbMotionEstimation.h
 - EbPictureDecisionProcess.c
 - EbRateControlTables.c
 - EbQMatrices.h
 - EbEncHandle.c
This commit is contained in:
Zhou, Jack 2019-12-22 23:01:47 -08:00 committed by Hassene Tmar
parent 0032aea50b
commit d384bf5a86

View file

@ -620,7 +620,6 @@ set_default_svt_configuration (EbSvtAv1EncConfiguration * svt_config)
svt_config->pred_structure = PROP_PRED_STRUCTURE_DEFAULT; svt_config->pred_structure = PROP_PRED_STRUCTURE_DEFAULT;
svt_config->scene_change_detection = PROP_SCD_DEFAULT; svt_config->scene_change_detection = PROP_SCD_DEFAULT;
svt_config->look_ahead_distance = (uint32_t)~0; svt_config->look_ahead_distance = (uint32_t)~0;
svt_config->frames_to_be_encoded = 0;
svt_config->rate_control_mode = PROP_RC_MODE_DEFAULT; svt_config->rate_control_mode = PROP_RC_MODE_DEFAULT;
svt_config->target_bit_rate = PROP_BITRATE_DEFAULT; svt_config->target_bit_rate = PROP_BITRATE_DEFAULT;
svt_config->max_qp_allowed = PROP_QP_MAX_DEFAULT; svt_config->max_qp_allowed = PROP_QP_MAX_DEFAULT;