summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/homescreen/homescreen_git.bb
blob: 80d402b05f09e167417b793559945e6a19b8a459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
SUMMARY     = "AGL Home Screen Application"
DESCRIPTION = "AGL Home Screen Application build with recipe method"
HOMEPAGE    = "http://docs.automotivelinux.org"
LICENSE     = "Apache-2.0"
SECTION     = "apps"
LIC_FILES_CHKSUM = "file://homescreen/LICENSE;md5=ae6497158920d9524cf208c09cc4c984"

DEPENDS = "\
        qtbase \
        qtdeclarative \
        qtquickcontrols2 \
        agl-service-homescreen \
        agl-service-windowmanager \
        agl-service-weather \
        libqtappfw \
        qlibwindowmanager \
        libhomescreen \
"

inherit qmake5 systemd pkgconfig aglwgt

SRC_URI = "gitsm://gerrit.automotivelinux.org/gerrit/apps/homescreen;protocol=https;branch=${AGL_BRANCH}"
SRCREV  = "${AGL_APP_REVISION}"

PV      = "1.0+git${SRCPV}"
S       = "${WORKDIR}/git/"

PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:"
; + buf.m.planes[0].length = bytesused; /* ...submit buffer */ if (ioctl(pad->fd, VIDIOC_QBUF, &buf) < 0) { @@ -1098,6 +1100,7 @@ gst_recorder_process_dmafd(struct gst_recorder *r, int fd, int stride) GstMapInfo info; int ysize; int csize; + int rgbsize; /* get GST buffer */ if (gst_recorder_omx_buffer_acquire(r, &buf, &info) < 0) { @@ -1111,6 +1114,7 @@ gst_recorder_process_dmafd(struct gst_recorder *r, int fd, int stride) #else csize = ysize / 2; #endif + rgbsize = stride * r->set->height; pthread_mutex_lock(&r->vsp->mutex); /* setup vsp */ @@ -1139,7 +1143,7 @@ gst_recorder_process_dmafd(struct gst_recorder *r, int fd, int stride) } /* queue input vsp buffer */ - if (vsp_input_buffer_queue_dmafd(r->vsp, 0, fd) < 0) { + if (vsp_input_buffer_queue_dmafd(r->vsp, 0, fd, rgbsize) < 0) { weston_log("VSP: failed to queue input buffer\n"); goto err_vsp; } -- 1.9.1