libavc/encoder
Martin Storsjo cb6a43532c Set the luma/chroma strides depending on source buffer
If the data is read directly from the input buffer, set the stride
values to those of the input buffer. If the data is copied, set the
stride to the value of the local buffer instead.

This fixes handling of cases where the input buffer stride is
(significantly) larger than the maxwidth of the video.

This also effectively makes the parameter
ive_ctl_set_dimensions_ip_t.u4_strd useless - nothing needs to
know the stride until you actually encode a frame, and at that point,
we can either use the stride of the input buffer, or of the local
pu1_y_csc_buf_base where the copied content is stored.

Change-Id: Icde400b4a0867d25855e621e143454e608748aa3
2015-06-25 08:25:49 -07:00
..
arm arm: Properly match /* */ comments in the arm assembly 2015-06-25 08:25:48 -07:00
armv8 armv8: Don't touch the x18 register 2015-06-25 08:25:49 -07:00
mips Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
x86 Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_api.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_bitstream.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_bitstream.h Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_cabac.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_cabac.h Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_cabac_encode.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_cabac_init.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_cabac_structs.h Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_cavlc.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_cavlc.h Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_config.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_core_coding.c Use a separate field for the chroma stride 2015-06-25 08:25:49 -07:00
ih264e_core_coding.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_deblk.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_deblk.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_debug.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_defs.h Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_encode.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_encode_header.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_encode_header.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_error.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_fmt_conv.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_fmt_conv.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_function_selector_generic.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_globals.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_globals.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_half_pel.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_half_pel.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_intra_modes_eval.c Use a separate field for the chroma stride 2015-06-25 08:25:49 -07:00
ih264e_intra_modes_eval.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_list.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_master.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_mc.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_mc.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_me.c Set the luma/chroma strides depending on source buffer 2015-06-25 08:25:49 -07:00
ih264e_me.h Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_modify_frm_rate.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_modify_frm_rate.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_process.c Set the luma/chroma strides depending on source buffer 2015-06-25 08:25:49 -07:00
ih264e_process.h Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_rate_control.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_rate_control.h Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_rc_mem_interface.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_rc_mem_interface.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_statistics.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_structs.h Use a separate field for the chroma stride 2015-06-25 08:25:49 -07:00
ih264e_time_stamp.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_time_stamp.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_trace.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_trace_support.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_utils.c Use a separate field for the chroma stride 2015-06-25 08:25:49 -07:00
ih264e_utils.h Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ih264e_version.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264e_version.h fix file permissions 2015-05-05 17:51:34 +00:00
ime.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ime.h Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ime_defs.h Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ime_distortion_metrics.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ime_distortion_metrics.h Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ime_macros.h fix file permissions 2015-05-05 17:51:34 +00:00
ime_statistics.h fix file permissions 2015-05-05 17:51:34 +00:00
ime_structs.h Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
ime_typedefs.h fix file permissions 2015-05-05 17:51:34 +00:00
irc_bit_allocation.c fix file permissions 2015-05-05 17:51:34 +00:00
irc_bit_allocation.h fix file permissions 2015-05-05 17:51:34 +00:00
irc_cbr_buffer_control.c fix file permissions 2015-05-05 17:51:34 +00:00
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 fix file permissions 2015-05-05 17:51:34 +00:00
irc_est_sad.c fix file permissions 2015-05-05 17:51:34 +00:00
irc_est_sad.h fix file permissions 2015-05-05 17:51:34 +00:00
irc_fixed_point_error_bits.c fix file permissions 2015-05-05 17:51:34 +00: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 fix file permissions 2015-05-05 17:51:34 +00:00
irc_mb_model_based.h fix file permissions 2015-05-05 17:51:34 +00:00
irc_mem_req_and_acq.h fix file permissions 2015-05-05 17:51:34 +00:00
irc_picture_type.c Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -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 Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00
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 fix file permissions 2015-05-05 17:51:34 +00:00
irc_rd_model.c fix file permissions 2015-05-05 17:51:34 +00:00
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 fix file permissions 2015-05-05 17:51:34 +00:00
irc_vbr_storage_vbv.c fix file permissions 2015-05-05 17:51:34 +00:00
irc_vbr_storage_vbv.h fix file permissions 2015-05-05 17:51:34 +00:00
irc_vbr_str_prms.c fix file permissions 2015-05-05 17:51:34 +00:00
irc_vbr_str_prms.h fix file permissions 2015-05-05 17:51:34 +00:00
ithread.h fix file permissions 2015-05-05 17:51:34 +00:00
iv2.h fix file permissions 2015-05-05 17:51:34 +00:00
ive2.h Added support for Main Profile toolsets in encoder. 2015-06-25 08:25:43 -07:00