Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/video_render/linux/
Dvideo_x11_channel.cc26 _shminfo(), _image(NULL), _window(0L), _gc(NULL), in VideoX11Channel()
252 … &_shminfo, _width, _height); // this parameter needs to be the same for some reason. in CreateLocalRenderer()
253 _shminfo.shmid = shmget(IPC_PRIVATE, (_image->bytes_per_line in CreateLocalRenderer()
255 _shminfo.shmaddr = _image->data = (char*) shmat(_shminfo.shmid, 0, 0); in CreateLocalRenderer()
261 _shminfo.readOnly = False; in CreateLocalRenderer()
264 if (!XShmAttach(_display, &_shminfo)) in CreateLocalRenderer()
287 XShmDetach(_display, &_shminfo); in RemoveRenderer()
290 shmdt(_shminfo.shmaddr); in RemoveRenderer()
291 _shminfo.shmaddr = NULL; in RemoveRenderer()
293 shmctl(_shminfo.shmid, IPC_RMID, 0); in RemoveRenderer()
[all …]
Dvideo_x11_channel.h70 XShmSegmentInfo _shminfo; variable