Home
last modified time | relevance | path

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

/rockchip-linux_mpp/mpp/codec/dec/h264/
H A Dh264d_parse.c128 static void reset_nalu(H264dCurStream_t *p_strm) in reset_nalu() argument
130 if (p_strm->endcode_found) { in reset_nalu()
131 p_strm->startcode_found = p_strm->endcode_found; in reset_nalu()
132 p_strm->nalu_len = 0; in reset_nalu()
133 p_strm->nalu_type = H264_NALU_TYPE_NULL; in reset_nalu()
134 p_strm->endcode_found = 0; in reset_nalu()
138 static void find_prefix_code(RK_U8 *p_data, H264dCurStream_t *p_strm) in find_prefix_code() argument
142 if ((p_strm->prefixdata & 0x00FFFFFF) == 0x00000001) { in find_prefix_code()
143 if (p_strm->startcode_found) { in find_prefix_code()
144 p_strm->endcode_found = 1; in find_prefix_code()
[all …]
H A Dh264d_api.c108 H264dCurStream_t *p_strm = NULL; in init_cur_ctx() local
112 p_strm = &p_Cur->strm; in init_cur_ctx()
113 p_strm->nalu_max_size = NALU_BUF_MAX_SIZE; in init_cur_ctx()
114 p_strm->nalu_buf = mpp_malloc_size(RK_U8, p_strm->nalu_max_size); in init_cur_ctx()
115 p_strm->head_max_size = HEAD_BUF_MAX_SIZE; in init_cur_ctx()
116 p_strm->head_buf = mpp_malloc_size(RK_U8, p_strm->head_max_size); in init_cur_ctx()
117 p_strm->tmp_max_size = HEAD_BUF_MAX_SIZE; in init_cur_ctx()
118 p_strm->tmp_buf = mpp_malloc_size(RK_U8, p_strm->head_max_size); in init_cur_ctx()
119 MEM_CHECK(ret, p_strm->nalu_buf && p_strm->head_buf); in init_cur_ctx()
120 p_strm->prefixdata = 0xffffffff; in init_cur_ctx()
[all …]