Lines Matching refs:offset
118 MPP_RET mpp_buffer_read_with_caller(MppBuffer buffer, size_t offset, void *data, size_t size, const… in mpp_buffer_read_with_caller() argument
136 memcpy(data, (char*)src + offset, size); in mpp_buffer_read_with_caller()
141 MPP_RET mpp_buffer_write_with_caller(MppBuffer buffer, size_t offset, void *data, size_t size, cons… in mpp_buffer_write_with_caller() argument
153 if (offset + size > p->info.size) in mpp_buffer_write_with_caller()
161 memcpy((char*)dst + offset, data, size); in mpp_buffer_write_with_caller()
246 return p->offset; in mpp_buffer_get_offset_with_caller()
249 MPP_RET mpp_buffer_set_offset_with_caller(MppBuffer buffer, size_t offset, const char *caller) in mpp_buffer_set_offset_with_caller() argument
257 p->offset = offset; in mpp_buffer_set_offset_with_caller()
325 MPP_RET mpp_buffer_sync_partial_begin_f(MppBuffer buffer, RK_S32 ro, RK_U32 offset, RK_U32 length, … in mpp_buffer_sync_partial_begin_f() argument
334 return mpp_dmabuf_sync_partial_begin(impl->info.fd, ro, impl->offset + offset, length, caller); in mpp_buffer_sync_partial_begin_f()
337 MPP_RET mpp_buffer_sync_partial_end_f(MppBuffer buffer, RK_S32 ro, RK_U32 offset, RK_U32 length, co… in mpp_buffer_sync_partial_end_f() argument
346 return mpp_dmabuf_sync_partial_end(impl->info.fd, ro, impl->offset + offset, length, caller); in mpp_buffer_sync_partial_end_f()