Lines Matching +full:device +full:- +full:width
16 #include <phosphor-logging/elog-errors.hpp>
17 #include <phosphor-logging/elog.hpp>
18 #include <phosphor-logging/log.hpp>
19 #include <xyz/openbmc_project/Common/Device/error.hpp>
31 using namespace sdbusplus::xyz::openbmc_project::Common::Device::Error;
34 resizeAfterOpen(false), timingsError(false), fd(-1), frameRate(fr), in Video()
35 lastFrameIndex(-1), height(600), width(800), subSampling(sub), input(input), in Video()
77 // Switch to non-blocking in order to safely dequeue all buffers; if the in getFrame()
79 // wait forever if signal is not re-acquired in getFrame()
171 if (timings.bt.width != width || timings.bt.height != height) in needsResize()
173 width = timings.bt.width; in needsResize()
176 if (!width || !height) in needsResize()
179 entry("WIDTH=%d", width), in needsResize()
182 xyz::openbmc_project::Common::File::Open::ERRNO(-EPROTO), in needsResize()
186 lastFrameIndex = -1; in needsResize()
229 xyz::openbmc_project::Common::Device::ReadFailure:: in resize()
231 xyz::openbmc_project::Common::Device::ReadFailure:: in resize()
260 xyz::openbmc_project::Common::Device::ReadFailure:: in resize()
262 xyz::openbmc_project::Common::Device::ReadFailure:: in resize()
282 xyz::openbmc_project::Common::Device::ReadFailure:: in resize()
284 xyz::openbmc_project::Common::Device::ReadFailure:: in resize()
301 xyz::openbmc_project::Common::Device::ReadFailure::CALLOUT_ERRNO( in resize()
303 xyz::openbmc_project::Common::Device::ReadFailure:: in resize()
324 xyz::openbmc_project::Common::Device::ReadFailure:: in resize()
326 xyz::openbmc_project::Common::Device::ReadFailure:: in resize()
337 xyz::openbmc_project::Common::Device::ReadFailure:: in resize()
339 xyz::openbmc_project::Common::Device::ReadFailure:: in resize()
351 xyz::openbmc_project::Common::Device::ReadFailure:: in resize()
353 xyz::openbmc_project::Common::Device::ReadFailure:: in resize()
366 xyz::openbmc_project::Common::Device::ReadFailure::CALLOUT_ERRNO( in resize()
368 xyz::openbmc_project::Common::Device::ReadFailure:: in resize()
377 size_t oldWidth = width; in start()
393 log<level::ERR>("Failed to open video device", in start()
405 log<level::ERR>("Failed to query video device capabilities", in start()
408 xyz::openbmc_project::Common::Device::ReadFailure::CALLOUT_ERRNO( in start()
410 xyz::openbmc_project::Common::Device::ReadFailure:: in start()
417 log<level::ERR>("Video device doesn't support this application"); in start()
428 log<level::ERR>("Failed to query video device format", in start()
431 xyz::openbmc_project::Common::Device::ReadFailure::CALLOUT_ERRNO( in start()
433 xyz::openbmc_project::Common::Device::ReadFailure:: in start()
444 log<level::WARNING>("Failed to set video device frame rate", in start()
459 width = fmt.fmt.pix.width; in start()
470 if (oldHeight != height || oldWidth != width) in start()
487 lastFrameIndex = -1; in stop()
507 fd = -1; in stop()