libavc/encoder
Ram Mohan 196f0dbaec libavcenc: use number_t while computing number of bits in period
For large intra frame intervals or for a choice of bit rate that causes
large bits per frame, it possible that while computing number of bits
available in the gop overflow the datatype bounds. For these
calculations use number_t as this offers wider space

Bug: oss-fuzz-63044
Test: avc_enc_fuzzer

Change-Id: Ifee9130f0021f77905aea67832abc044537088e5
2023-10-18 06:55:59 -07:00
..
arm libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
armv8 libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
riscv svcenc: fixed riscv4 soong build errors 2023-02-07 07:09:18 -08:00
svc svcenc: Enabled and verified 420sp inputs 2023-10-10 07:07:21 -07:00
x86 libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_api.c libavcenc: Sync default values of library and application 2023-10-04 13:51:14 -07:00
ih264e_bitstream.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_bitstream.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_cabac.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_cabac.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_cabac_encode.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_cabac_init.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_cabac_structs.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_cavlc.c libavcenc: use signed var for integer operations 2023-10-03 14:17:51 -07:00
ih264e_cavlc.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_config.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_core_coding.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_core_coding.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_deblk.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_deblk.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_debug.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_defs.h libavcenc: Sync default values of library and application 2023-10-04 13:51:14 -07:00
ih264e_encode.c libavcenc: increment picture count only on valid inputs 2023-10-03 14:17:51 -07:00
ih264e_encode_header.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_encode_header.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_error.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_fmt_conv.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_fmt_conv.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_function_selector_generic.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_globals.c libavcenc: Modified conversion tables between Qstep & QP 2023-10-01 01:37:17 +05:30
ih264e_globals.h libavcenc: Correct Lagrange parameter for I, P & B slices 2023-10-01 01:37:17 +05:30
ih264e_half_pel.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_half_pel.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_intra_modes_eval.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_intra_modes_eval.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_list.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_master.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_mc.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_mc.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_me.c libavcenc: Correct Lagrange parameter for I, P & B slices 2023-10-01 01:37:17 +05:30
ih264e_me.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_modify_frm_rate.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_modify_frm_rate.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_process.c libavcenc: Correct Lagrange parameter for I, P & B slices 2023-10-01 01:37:17 +05:30
ih264e_process.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_rate_control.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_rate_control.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_rc_mem_interface.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_rc_mem_interface.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_sei.c Remove printf's from sei 2023-02-14 22:00:13 -08:00
ih264e_sei.h libavc: Added support for SII SEI message 2023-02-14 22:00:13 -08:00
ih264e_statistics.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_structs.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_time_stamp.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_time_stamp.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_trace.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_trace_support.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_utils.c libavcenc: increment picture count only on valid inputs 2023-10-03 14:17:51 -07:00
ih264e_utils.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_version.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ih264e_version.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ime.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ime.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ime_defs.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ime_distortion_metrics.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ime_distortion_metrics.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ime_macros.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ime_statistics.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ime_structs.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ime_typedefs.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
irc_bit_allocation.c libavcenc: use number_t while computing number of bits in period 2023-10-18 06:55:59 -07:00
irc_bit_allocation.h fix file permissions 2015-05-05 17:51:34 +00:00
irc_cbr_buffer_control.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
irc_cbr_buffer_control.h fix file permissions 2015-05-05 17:51:34 +00:00
irc_cntrl_param.h fix file permissions 2015-05-05 17:51:34 +00:00
irc_common.h Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
irc_datatypes.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
irc_est_sad.c Don't use static structs for rc init 2015-06-25 08:25:57 -07:00
irc_est_sad.h fix file permissions 2015-05-05 17:51:34 +00:00
irc_fixed_point_error_bits.c Don't use static structs for rc init 2015-06-25 08:25:57 -07:00
irc_fixed_point_error_bits.h fix file permissions 2015-05-05 17:51:34 +00:00
irc_frame_info_collector.c fix file permissions 2015-05-05 17:51:34 +00:00
irc_frame_info_collector.h fix file permissions 2015-05-05 17:51:34 +00:00
irc_mb_model_based.c Don't use static structs for rc init 2015-06-25 08:25:57 -07:00
irc_mb_model_based.h fix file permissions 2015-05-05 17:51:34 +00:00
irc_mem_req_and_acq.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
irc_picture_type.c Don't use static structs for rc init 2015-06-25 08:25:57 -07:00
irc_picture_type.h Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
irc_rate_control_api.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
irc_rate_control_api.h Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
irc_rate_control_api_structs.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
irc_rd_model.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
irc_rd_model.h fix file permissions 2015-05-05 17:51:34 +00:00
irc_rd_model_struct.h fix file permissions 2015-05-05 17:51:34 +00:00
irc_trace_support.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
irc_vbr_storage_vbv.c Don't use static structs for rc init 2015-06-25 08:25:57 -07:00
irc_vbr_storage_vbv.h fix file permissions 2015-05-05 17:51:34 +00:00
irc_vbr_str_prms.c libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
irc_vbr_str_prms.h fix file permissions 2015-05-05 17:51:34 +00:00
iv2.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
ive2.h libavcenc: Remove duplicate code and improve readability 2023-10-01 01:37:17 +05:30
libavcenc.cmake Encoder: add support for PSNR export 2022-08-17 17:22:00 +00:00
psnr.c Encoder: add support for PSNR export 2022-08-17 17:22:00 +00:00
psnr.h Encoder: add support for PSNR export 2022-08-17 17:22:00 +00:00