Searched refs:filedes (Results 1 – 2 of 2) sorted by relevance
291 int filedes = -1; in DumpVideoFrame() local295 filedes = open(framenumber, O_CREAT | O_WRONLY | O_SYNC | O_TRUNC, 0777); in DumpVideoFrame()296 if(filedes < 0) in DumpVideoFrame()298 LOGE("\n!!!!!!!!!Error in file open!!!!!!!! [%d][%s]\n", filedes, strerror(errno)); in DumpVideoFrame()301 int ret = write (filedes, (void*)localbuffer, framesize); in DumpVideoFrame()312 if (filedes > 0) in DumpVideoFrame()314 close(filedes); in DumpVideoFrame()
4455 int filedes[2]; in eventLoop() local4466 ret = pipe(filedes); in eventLoop()4473 s_fdWakeupRead = filedes[0]; in eventLoop()4474 s_fdWakeupWrite = filedes[1]; in eventLoop()