Home
last modified time | relevance | path

Searched refs:varinfo (Results 1 – 11 of 11) sorted by relevance

/third_party/gstreamer/gstplugins_bad/sys/fbdev/
Dgstfbdevsink.c139 bpp = fbdevsink->varinfo.bits_per_pixel; in gst_fbdevsink_getcaps()
141 rmask = ((1 << fbdevsink->varinfo.red.length) - 1) in gst_fbdevsink_getcaps()
142 << fbdevsink->varinfo.red.offset; in gst_fbdevsink_getcaps()
143 gmask = ((1 << fbdevsink->varinfo.green.length) - 1) in gst_fbdevsink_getcaps()
144 << fbdevsink->varinfo.green.offset; in gst_fbdevsink_getcaps()
145 bmask = ((1 << fbdevsink->varinfo.blue.length) - 1) in gst_fbdevsink_getcaps()
146 << fbdevsink->varinfo.blue.offset; in gst_fbdevsink_getcaps()
147 tmask = ((1 << fbdevsink->varinfo.transp.length) - 1) in gst_fbdevsink_getcaps()
148 << fbdevsink->varinfo.transp.offset; in gst_fbdevsink_getcaps()
150 depth = fbdevsink->varinfo.red.length + fbdevsink->varinfo.green.length in gst_fbdevsink_getcaps()
[all …]
Dgstfbdevsink.h51 struct fb_var_screeninfo varinfo; member
/third_party/ffmpeg/libavdevice/
Dfbdev_enc.c38 struct fb_var_screeninfo varinfo; ///< framebuffer variable info member
69 if (ioctl(fbdev->fd, FBIOGET_VSCREENINFO, &fbdev->varinfo) < 0) { in fbdev_write_header()
81 pix_fmt = ff_get_pixfmt_from_fb_varinfo(&fbdev->varinfo); in fbdev_write_header()
116 if (ioctl(fbdev->fd, FBIOGET_VSCREENINFO, &fbdev->varinfo) < 0) in fbdev_write_packet()
120 fb_pix_fmt = ff_get_pixfmt_from_fb_varinfo(&fbdev->varinfo); in fbdev_write_packet()
128 disp_height = FFMIN(fbdev->varinfo.yres, video_height); in fbdev_write_packet()
129 bytes_to_copy = FFMIN(fbdev->varinfo.xres, video_width) * bytes_per_pixel; in fbdev_write_packet()
133 bytes_per_pixel * fbdev->varinfo.xoffset + in fbdev_write_packet()
134 fbdev->varinfo.yoffset * fbdev->fixinfo.line_length; in fbdev_write_packet()
143 int diff = (video_width + fbdev->xoffset) - fbdev->varinfo.xres; in fbdev_write_packet()
[all …]
Dfbdev_common.c48 enum AVPixelFormat ff_get_pixfmt_from_fb_varinfo(struct fb_var_screeninfo *varinfo) in ff_get_pixfmt_from_fb_varinfo() argument
54 if (entry->bits_per_pixel == varinfo->bits_per_pixel && in ff_get_pixfmt_from_fb_varinfo()
55 entry->red_offset == varinfo->red.offset && in ff_get_pixfmt_from_fb_varinfo()
56 entry->green_offset == varinfo->green.offset && in ff_get_pixfmt_from_fb_varinfo()
57 entry->blue_offset == varinfo->blue.offset) in ff_get_pixfmt_from_fb_varinfo()
74 struct fb_var_screeninfo varinfo; in ff_fbdev_get_device_list() local
94 if (ioctl(fd, FBIOGET_VSCREENINFO, &varinfo) == -1) in ff_fbdev_get_device_list()
Dfbdev_dec.c59 struct fb_var_screeninfo varinfo; ///< variable info; member
94 if (ioctl(fbdev->fd, FBIOGET_VSCREENINFO, &fbdev->varinfo) < 0) { in fbdev_read_header()
108 pix_fmt = ff_get_pixfmt_from_fb_varinfo(&fbdev->varinfo); in fbdev_read_header()
116 fbdev->width = fbdev->varinfo.xres; in fbdev_read_header()
117 fbdev->height = fbdev->varinfo.yres; in fbdev_read_header()
118 fbdev->bytes_per_pixel = (fbdev->varinfo.bits_per_pixel + 7) >> 3; in fbdev_read_header()
140 fbdev->width, fbdev->height, fbdev->varinfo.bits_per_pixel, in fbdev_read_header()
184 if (ioctl(fbdev->fd, FBIOGET_VSCREENINFO, &fbdev->varinfo) < 0) { in fbdev_read_packet()
192 pin = fbdev->data + fbdev->bytes_per_pixel * fbdev->varinfo.xoffset + in fbdev_read_packet()
193 fbdev->varinfo.yoffset * fbdev->fixinfo.line_length; in fbdev_read_packet()
Dfbdev_common.h32 enum AVPixelFormat ff_get_pixfmt_from_fb_varinfo(struct fb_var_screeninfo *varinfo);
/third_party/mesa3d/src/freedreno/rnn/
Drnn.c231 val->varinfo.varsetstr = strdup(getattrib(db, file, node->line, attr)); in parsevalue()
233 val->varinfo.variantsstr = strdup(getattrib(db, file, node->line, attr)); in parsevalue()
326 if (strdiff(cur->varinfo.prefixstr, prefixstr) || in parseenum()
327 strdiff(cur->varinfo.varsetstr, varsetstr) || in parseenum()
328 strdiff(cur->varinfo.variantsstr, variantsstr) || in parseenum()
337 cur->varinfo.prefixstr = prefixstr; in parseenum()
338 cur->varinfo.varsetstr = varsetstr; in parseenum()
339 cur->varinfo.variantsstr = variantsstr; in parseenum()
366 bf->varinfo.varsetstr = strdup(getattrib(db, file, node->line, attr)); in parsebitfield()
368 bf->varinfo.variantsstr = strdup(getattrib(db, file, node->line, attr)); in parsebitfield()
[all …]
Drnn.h94 struct rnnvarinfo varinfo; member
107 struct rnnvarinfo varinfo; member
157 struct rnnvarinfo varinfo; member
167 struct rnnvarinfo varinfo; member
179 struct rnnvarinfo varinfo; member
221 struct rnnvarinfo varinfo; member
Dheadergen2.c121 if (val->varinfo.dead) in printvalue()
229 if (bf->varinfo.dead) in printbitfield()
238 if (elem->varinfo.dead) in printdelem()
340 printdelem(elem->subelems[j], offset + elem->offset, elem->varinfo.prefixstr); in printdelem()
Drnndec.c135 if (rnndec_varmatch(ctx, &vals[i]->varinfo) && in rnndec_decode_enum_val()
207 if (!rnndec_varmatch(ctx, &bitfields[i]->varinfo)) in rnndec_decodeval()
374 if (!rnndec_varmatch(ctx, &elems[i]->varinfo)) in trymatch()
511 if (!rnndec_varmatch(ctx, &elem->varinfo)) in tryreg()
/third_party/gstreamer/gstplugins_bad/
DChangeLog77285 mmio_len = 0, accel = 0, capabilities = 0, reserved = {0, 0}}, varinfo = {