Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h264/
H A Dh264d_parse.c127 static void reset_nalu(H264dCurStream_t *p_strm) in reset_nalu() argument
129 if (p_strm->endcode_found) { in reset_nalu()
130 p_strm->startcode_found = p_strm->endcode_found; in reset_nalu()
131 p_strm->nalu_len = 0; in reset_nalu()
132 p_strm->nalu_type = H264_NALU_TYPE_NULL; in reset_nalu()
133 p_strm->endcode_found = 0; in reset_nalu()
137 static void find_prefix_code(RK_U8 *p_data, H264dCurStream_t *p_strm) in find_prefix_code() argument
141 if ((p_strm->prefixdata & 0x00FFFFFF) == 0x00000001) { in find_prefix_code()
142 if (p_strm->startcode_found) { in find_prefix_code()
143 p_strm->endcode_found = 1; in find_prefix_code()
[all …]
H A Dh264d_api.c100 H264dCurStream_t *p_strm = NULL; in init_cur_ctx() local
104 p_strm = &p_Cur->strm; in init_cur_ctx()
105 p_strm->nalu_max_size = NALU_BUF_MAX_SIZE; in init_cur_ctx()
106 p_strm->nalu_buf = mpp_malloc_size(RK_U8, p_strm->nalu_max_size); in init_cur_ctx()
107 p_strm->head_max_size = HEAD_BUF_MAX_SIZE; in init_cur_ctx()
108 p_strm->head_buf = mpp_malloc_size(RK_U8, p_strm->head_max_size); in init_cur_ctx()
109 MEM_CHECK(ret, p_strm->nalu_buf && p_strm->head_buf); in init_cur_ctx()
110 p_strm->prefixdata = 0xffffffff; in init_cur_ctx()
393 H264dCurStream_t *p_strm = NULL; in h264d_reset() local
430 p_strm = &p_Dec->p_Cur->strm; in h264d_reset()
[all …]