void ddl_set_default_decoder_metadata_buffer_size(struct ddl_decoder_data *dec,
	struct vcd_property_frame_size *frame_size,
	struct vcd_buffer_requirement *output_buf_req)
{
	u32 flag = dec->meta_data_enable_flag;
	u32 suffix = 0;
	u32 size = 0;

	if (!flag) {
		dec->suffix = 0;
		return;
	}

	if (flag & VCD_METADATA_QPARRAY) {
		u32 num_of_mb = ((frame_size->width * frame_size->height) >> 8);
		size = DDL_METADATA_HDR_SIZE;
		size += num_of_mb;
		DDL_METADATA_ALIGNSIZE(size);
		suffix += size;
	}
void ddl_set_default_decoder_metadata_buffer_size(
	struct ddl_decoder_data_type *p_decoder,
	struct vcd_property_frame_size_type *p_frame_size,
	struct vcd_buffer_requirement_type *p_output_buf_req)
{
	u32 n_flag = p_decoder->n_meta_data_enable_flag;
	u32 n_suffix = 0;
	u32 n_size = 0;

	if (!n_flag) {
		p_decoder->n_suffix = 0;
		return;
	}

	if (n_flag & VCD_METADATA_QPARRAY) {
		u32 n_num_of_mb =
		    ((p_frame_size->n_width * p_frame_size->n_height) >> 8);
		n_size = DDL_METADATA_HDR_SIZE;
		n_size += n_num_of_mb;
		DDL_METADATA_ALIGNSIZE(n_size);
		n_suffix += n_size;
	}