Home
last modified time | relevance | path

Searched refs:strm_offset (Results 1 – 10 of 10) sorted by relevance

/rockchip-linux_mpp/mpp/codec/dec/h264/
H A Dh264d_fill.c53 p_long->BSNALunitDataLocation = dxva_ctx->strm_offset; in fill_slice_stream()
386 p_dec->DataSize = MPP_ALIGN(dxva_ctx->strm_offset, 16); in commit_buffer()
387 memset(dxva_ctx->bitstream + dxva_ctx->strm_offset, 0, p_dec->DataSize - dxva_ctx->strm_offset); in commit_buffer()
400 dxva_ctx->strm_offset = 0; in commit_buffer()
H A Dh264d_api.c458 p_Dec->dxva_ctx->strm_offset = 0; in h264d_reset()
599 memset(p_Dec->dxva_ctx->bitstream + p_Dec->dxva_ctx->strm_offset, 0, in h264d_prepare()
600 MPP_ALIGN(p_Dec->dxva_ctx->strm_offset, 16) - p_Dec->dxva_ctx->strm_offset); in h264d_prepare()
602 mpp_packet_set_length(p_Dec->task_pkt, MPP_ALIGN(p_Dec->dxva_ctx->strm_offset, 16)); in h264d_prepare()
H A Dh264d_parse.c436 if ((dxva_ctx->strm_offset + add_size) >= dxva_ctx->max_strm_size) { in store_cur_nalu()
440 p_des = &dxva_ctx->bitstream[dxva_ctx->strm_offset]; in store_cur_nalu()
443 dxva_ctx->strm_offset += add_size; in store_cur_nalu()
1089 p_Dec->dxva_ctx->strm_offset = 0; in parse_loop()
H A Dh264d_global.h872 RK_U32 strm_offset; member
/rockchip-linux_mpp/mpp/hal/vpu/jpegd/
H A Dhal_jpegd_rkv.c526 RK_U32 strm_offset = 0; in jpegd_gen_regs() local
536 strm_offset = s->strm_offset; in jpegd_gen_regs()
537 hw_strm_offset = strm_offset - strm_offset % 16; in jpegd_gen_regs()
538 start_byte = strm_offset % 16; in jpegd_gen_regs()
H A Dhal_jpegd_vdpu1.c170 offset = (s->strm_offset & (~7)); in jpegd_set_stream_offset()
H A Dhal_jpegd_vdpu2.c248 offset = (s->strm_offset & (~7)); in jpegd_set_stream_offset()
/rockchip-linux_mpp/mpp/codec/dec/jpeg/
H A Djpegd_parser.c840 syntax->strm_offset = buf_ptr - buf + syntax->sos_len; in jpegd_decode_frame()
841 syntax->cur_pos = (RK_U8 *)buf + syntax->strm_offset; in jpegd_decode_frame()
849 syntax->strm_offset, buf_ptr, buf, in jpegd_decode_frame()
852 if (syntax->strm_offset >= ctx->streamLength) { in jpegd_decode_frame()
854 syntax->strm_offset, ctx->streamLength); in jpegd_decode_frame()
859 if ((syntax->strm_offset + 2) < ctx->streamLength && in jpegd_decode_frame()
/rockchip-linux_mpp/mpp/common/
H A Djpegd_syntax.h145 RK_U32 strm_offset; member
/rockchip-linux_mpp/mpp/hal/rkdec/vp9d/
H A Dhal_vp9d_vdpu383.c908 RK_U32 strm_offset = pic_param->uncompressed_header_size_byte_aligned; in hal_vp9d_vdpu383_gen_regs() local
910 vp9_hw_regs->vp9d_paras.reg65_strm_start_bit = 8 * (strm_offset & 0xf); in hal_vp9d_vdpu383_gen_regs()
911 mpp_dev_set_reg_offset(p_hal->dev, 128, strm_offset & 0xfffffff0); in hal_vp9d_vdpu383_gen_regs()