Lines Matching refs:stream_buffer
24 int vpu_helper_copy_from_stream_buffer(struct vpu_buffer *stream_buffer,
26 int vpu_helper_copy_to_stream_buffer(struct vpu_buffer *stream_buffer,
28 int vpu_helper_memset_stream_buffer(struct vpu_buffer *stream_buffer,
35 int vpu_helper_kmp_search_in_stream_buffer(struct vpu_buffer *stream_buffer,
38 int vpu_helper_find_startcode(struct vpu_buffer *stream_buffer,
41 static inline u32 vpu_helper_step_walk(struct vpu_buffer *stream_buffer, u32 pos, u32 step) in vpu_helper_step_walk() argument
44 if (pos > stream_buffer->phys + stream_buffer->length) in vpu_helper_step_walk()
45 pos -= stream_buffer->length; in vpu_helper_step_walk()
50 static inline u8 vpu_helper_read_byte(struct vpu_buffer *stream_buffer, u32 pos) in vpu_helper_read_byte() argument
52 u8 *pdata = (u8 *)stream_buffer->virt; in vpu_helper_read_byte()
54 return pdata[pos % stream_buffer->length]; in vpu_helper_read_byte()