Home
last modified time | relevance | path

Searched refs:start_code (Results 1 – 6 of 6) sorted by relevance

/rockchip-linux_mpp/mpp/codec/dec/avs2/
H A Davs2d_parse.c122 static MPP_RET store_nalu(Avs2dCtx_t *p_dec, RK_U8 *p_start, RK_U32 len, RK_U32 start_code) in store_nalu() argument
130 if (AVS2_IS_SLICE_START_CODE(start_code)) { in store_nalu()
133 } else if (AVS2_IS_HEADER(start_code)) { in store_nalu()
437 RK_U32 start_code = 0; in avs2_split_nalu() local
444 start_code = avs2_find_start_code(buf_start, buf_end, &start_code_ptr); in avs2_split_nalu()
448 start_code, start_code_ptr - buf_start, p_dec->prev_start_code); in avs2_split_nalu()
450 if (start_code == AVS2_VIDEO_SEQUENCE_START_CODE) { in avs2_split_nalu()
462 if (start_code == AVS2_VIDEO_SEQUENCE_START_CODE) { in avs2_split_nalu()
473 … if (AVS2_IS_SLICE_START_CODE(p_dec->prev_start_code) && !AVS2_IS_SLICE_START_CODE(start_code)) { in avs2_split_nalu()
478 if (start_code != AVS2_USER_DATA_START_CODE) in avs2_split_nalu()
[all …]
/rockchip-linux_mpp/mpp/codec/dec/jpeg/
H A Djpegd_parser.c41 RK_U8 start_code = 0xff; in jpegd_find_marker() local
45 buf_ptr = memchr(*pbuf_ptr, start_code, strm_len); in jpegd_find_marker()
742 RK_S32 start_code = 0xffd8; in jpegd_decode_frame() local
750 if (strm_len < 8 || !memchr(buf_ptr, start_code, 8)) { in jpegd_decode_frame()
758 start_code = jpegd_find_marker(&buf_ptr, buf_end); in jpegd_decode_frame()
759 if (start_code <= 0) { in jpegd_decode_frame()
768 start_code, buf_end - buf_ptr); in jpegd_decode_frame()
769 ctx->start_code = start_code; in jpegd_decode_frame()
775 if (start_code >= RST0 && start_code <= RST7) { in jpegd_decode_frame()
777 jpegd_dbg_syntax("restart marker: %d\n", start_code & 0x0f); in jpegd_decode_frame()
[all …]
H A Djpegd_parser.h144 RK_S32 start_code; member
/rockchip-linux_mpp/mpp/codec/dec/h265/
H A Dh265d_parser2_syntax.c414 static const RK_U8 start_code[] = {0, 0, 1 }; in h265d_syntax_fill_slice() local
415 static const RK_U32 start_code_size = sizeof(start_code); in h265d_syntax_fill_slice()
433 memcpy(current, start_code, start_code_size); in h265d_syntax_fill_slice()
H A Dh265d_parser.c1758 RK_U8 start_code[4] = {0, 0, 0, 1}; in mpp_hevc_fill_dynamic_meta() local
1760 memcpy((RK_U8*)hdr_dynamic_meta->data, start_code, 4); in mpp_hevc_fill_dynamic_meta()
/rockchip-linux_mpp/mpp/codec/dec/h264/
H A Dh264d_parse.c363 RK_U8 start_code[4] = {0, 0, 0, 1}; in mpp_h264d_fill_dynamic_meta() local
365 memcpy((RK_U8*)hdr_dynamic_meta->data, start_code, 4); in mpp_h264d_fill_dynamic_meta()