Lines Matching refs:TestFlag
347 if (TestFlag(HWJPEG_FLAG_STREAMING)) { in StopStreaming()
357 if (TestFlag(HWJPEG_FLAG_REQBUFS)) { in StopStreaming()
368 if (TestFlag(HWJPEG_FLAG_PIX_FMT)) { in Compress()
373 if (!TestFlag(HWJPEG_FLAG_SRC_BUFFER)) { in Compress()
378 if (!TestFlag(HWJPEG_FLAG_DST_BUFFER)) { in Compress()
386 if (!TestFlag(HWJPEG_FLAG_SRC_BUFFER2 | HWJPEG_FLAG_DST_BUFFER2)) { in Compress()
490 if ((count > 0) == TestFlag(HWJPEG_FLAG_REQBUFS)) in ReqBufs()
528 if (TestFlag(HWJPEG_FLAG_STREAMING)) in StreamOn()
531 if (!TestFlag(HWJPEG_FLAG_REQBUFS)) { in StreamOn()
554 if (!TestFlag(HWJPEG_FLAG_STREAMING)) in StreamOff()
571 if (!TestFlag(HWJPEG_FLAG_REQBUFS)) { in QBuf()
601 ALOG_ASSERT(TestFlag(HWJPEG_FLAG_QBUF_OUT) == TestFlag(HWJPEG_FLAG_QBUF_CAP)); in DQBuf()
618 if (TestFlag(HWJPEG_FLAG_QBUF_OUT) && (ioctl(GetDeviceFD(), VIDIOC_DQBUF, &buffer_src) < 0)) { in DQBuf()
623 if (TestFlag(HWJPEG_FLAG_QBUF_CAP) && (ioctl(GetDeviceFD(), VIDIOC_DQBUF, &buffer_dst) < 0)) { in DQBuf()
764 if (TestFlag(HWJPEG_FLAG_CAPTURE_READY)) in PrepareCapture()
793 if (!TestFlag(HWJPEG_FLAG_CAPTURE_READY)) in CancelCapture()
859 if (TestFlag(HWJPEG_FLAG_OUTPUT_READY)) in PrepareStream()
898 if (!TestFlag(HWJPEG_FLAG_OUTPUT_READY)) in CancelStream()