Is there any reason to not use zero copy in video port?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In vid_port.c there is a function pjmedia_frame_copy being used for
transfering frames from video port to video stream and vice versa.
Currently it is based on pj_memcpy for the data buffer (
pj_memcpy(dst->buf, src->buf, dst->size);), is there any reason not to
just use src buf pointer instead of using pj_memcpy (e.g. dst->buf =
src->buf;)?






[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux