{"id":15506,"url":"https://patchwork.libcamera.org/api/covers/15506/?format=json","web_url":"https://patchwork.libcamera.org/cover/15506/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20220322131635.2869526-1-naush@raspberrypi.com>","date":"2022-03-22T13:16:32","name":"[libcamera-devel,v1,0/3] V4L2 dequeue timeout","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/15506/mbox/","series":[{"id":2983,"url":"https://patchwork.libcamera.org/api/series/2983/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2983","date":"2022-03-22T13:16:32","name":"V4L2 dequeue timeout","version":1,"mbox":"https://patchwork.libcamera.org/series/2983/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/15506/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id E1BA4C0F1B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 22 Mar 2022 13:16:41 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id CB264604E6;\n\tTue, 22 Mar 2022 14:16:40 +0100 (CET)","from mail-wm1-x332.google.com (mail-wm1-x332.google.com\n\t[IPv6:2a00:1450:4864:20::332])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 15176604C5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 22 Mar 2022 14:16:39 +0100 (CET)","by mail-wm1-x332.google.com with SMTP id h16so10379983wmd.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 22 Mar 2022 06:16:39 -0700 (PDT)","from naush-laptop.pitowers.org\n\t([2a00:1098:3142:14:9e9a:99af:e5a6:319b])\n\tby smtp.gmail.com with ESMTPSA id\n\tn14-20020a7bcbce000000b0038c7776a300sm2293478wmi.0.2022.03.22.06.16.37\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 22 Mar 2022 06:16:37 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1647955000;\n\tbh=/LhhURl9jSXPdzsKZpbjZ6X9AiPh0WWw/sc9iG44zGk=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=xxnygLhw/3S70gu4Ax2CbqcXqUCK37cD9sAo/ZVuhrF0/Zod7Qg5arwOPTM0HD+Hf\n\t2IN2sWQGPbSw15Vcg3uZSmXN6EkDXO90yKu0tn2i2oX1pnsn6lR0YUh9uHiz2yuEKB\n\t/MGuQtRlwG1pWsCiuUVq0uKxO3pA2LNKyIis+ztxM2RIeK4BSRT+ySHeucFvq8P6pk\n\tQn39NgcC20nmK6zYvAMgD4D5dvnd06taal4HsrHiLhhaLaKMRbGpbs1qWRS46nLTZp\n\tUebGDB5mm6ROXNDtqW+uSCa40rzynZgZ+Gx8ouoF4yg4otEgdP+p6dIgN7dZvjoxOL\n\tzjB75UjovaDcA==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=1Ejz9kP7kSkRBOvQgqMIITB0p/HMR1BjPBufWhYAGBA=;\n\tb=e5QXw964TlGZ1NVcTL6jHM/MYwMdubaNtcxubvo2x/Q1tFo56Zaynlf84p/KzdmJy5\n\t2d9Op3PLxWsHFLplUWcwo48TB8WXysrhnSLuKrHJsjgisESQGrrTBzGOw9A2x04IToS9\n\tPVINuwbARpnxrRij2CABfS7vz9d3RSABjNqlbz/fieRRnLJs7ziIWmzO6r24NVDCqYim\n\thZvfMKUzS56oiXmqA6dgwNX+Ll8XTG6WhnpE1NHWlGtKEarrv6oUOdMmlf1Gn1ckF502\n\tKe+t5OWXwbMUZwnjZSKzEzu292CPx9vA+dL4u42EUwxIo85SjZgT55STZKuyF8nAGeTZ\n\tOqZw=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"e5QXw964\"; dkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=1Ejz9kP7kSkRBOvQgqMIITB0p/HMR1BjPBufWhYAGBA=;\n\tb=Y8i1+YPiTV1GJFVDDUgBXfoL2/FI6qtHgV3GAA3L+X7UX7a67tRLQkp4FUBhgcYeA5\n\tDIuRPOkiChKv8/SxSrGv7h7kW+nc43jt1iDn5y2cfW7MwBIdd2ZpecVRWZuJReyKF6r+\n\tIDf+enajA0WiN1ASj8paxSHqUJnTtKFp5lDcLvZnw2bebLiL157mITKQRRVXMo9biIym\n\teUIqB+Jd7YsPfSdx5X6oTIREebzZbXFMfkoN0okcNRYKVBaeCLYAsRgVdJoCXC0feSOM\n\t06g30a7pFXywzVFOoRd69VjIFHPBqbZaJOAGieMbbGGuz/UtV8xauYkyMNP3cJ1hItnl\n\tXmhA==","X-Gm-Message-State":"AOAM530i7nuJV8xkT45vgQh7r2W8o513bPOzhdi45of7Zawhg7wg6yD6\n\tCA3vLBhKTJRCAKreoy4Tl6mA/SSbcv70Pg==","X-Google-Smtp-Source":"ABdhPJygFTvOoABfiMDKJqWWOA7o0rUpnEVcEZLehmoa7SUD2QpjZxb3IPoqyi/vQCjFCNOEbns5kQ==","X-Received":"by 2002:a05:6000:2a4:b0:204:f41:13da with SMTP id\n\tl4-20020a05600002a400b002040f4113damr9067226wry.0.1647954998253; \n\tTue, 22 Mar 2022 06:16:38 -0700 (PDT)","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 22 Mar 2022 13:16:32 +0000","Message-Id":"<20220322131635.2869526-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v1 0/3] V4L2 dequeue timeout","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Naushir Patuck via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Naushir Patuck <naush@raspberrypi.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi,\n\nThis change essentially superscedes the work done in \nhttps://patchwork.libcamera.org/project/libcamera/list/?series=2978.\n\nI've moved the dequeue timeout functionality into the v4l2_videodevice class,\nallowing any pipeline handler to use the functionality. This change also allows\nus to set a timeout on any device node easily.\n\nThanks,\nNaush\n\nNaushir Patuck (3):\n  utils: timer: Allow Timer::start to use utils::Duration\n  libcamera: v4l2_videodevice: Add a dequeue timer\n  pipeline: raspberrypi: Add a Unicam dequeue timeout\n\n include/libcamera/base/timer.h                |  2 +\n include/libcamera/internal/v4l2_videodevice.h |  9 ++++\n include/libcamera/ipa/raspberrypi.mojom       |  1 +\n src/ipa/raspberrypi/raspberrypi.cpp           |  2 +\n src/libcamera/base/timer.cpp                  | 14 ++++++\n .../pipeline/raspberrypi/raspberrypi.cpp      | 15 ++++++\n src/libcamera/v4l2_videodevice.cpp            | 47 +++++++++++++++++++\n 7 files changed, 90 insertions(+)"}