Home
last modified time | relevance | path

Searched refs:final_len (Results 1 – 2 of 2) sorted by relevance

/rockchip-linux_mpp/mpp/hal/common/h264/
H A Dhal_h264e_stream_amend.c155 RK_S32 final_len = 0; in h264e_vepu_stream_amend_proc() local
236 final_len += prefix_bit; in h264e_vepu_stream_amend_proc()
295 final_len += nal_len - hw_len_byte + sw_len_byte; in h264e_vepu_stream_amend_proc()
313 final_len += new_len; in h264e_vepu_stream_amend_proc()
326 memcpy(p, ctx->dst_buf, final_len); in h264e_vepu_stream_amend_proc()
329 if (final_len < ctx->old_length) in h264e_vepu_stream_amend_proc()
330 memset(p + final_len, 0, ctx->old_length - final_len); in h264e_vepu_stream_amend_proc()
332 p[final_len] = 0; in h264e_vepu_stream_amend_proc()
341 ctx->new_length = final_len; in h264e_vepu_stream_amend_proc()
/rockchip-linux_mpp/mpp/codec/enc/h264/
H A Dh264e_api_v2.c571 RK_S32 final_len = 0; in h264e_sw_enc() local
581 final_len += prefix_bit; in h264e_sw_enc()
587 final_len += slice_len; in h264e_sw_enc()
589 task->length += final_len; in h264e_sw_enc()
594 mpp_packet_add_segment_info(packet, H264_NALU_TYPE_SLICE, length, final_len); in h264e_sw_enc()
595 mpp_buffer_sync_partial_end(mpp_packet_get_buffer(packet), length, final_len); in h264e_sw_enc()