/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_derived.c | 48 struct vertex_info vinfo; in calculate_vertex_layout() local 54 memset(&vinfo, 0, sizeof(vinfo)); in calculate_vertex_layout() 87 draw_emit_vertex_attr(&vinfo, EMIT_4F, src); in calculate_vertex_layout() 88 vinfo.hwfmt[0] |= S4_VFMT_XYZW; in calculate_vertex_layout() 89 vinfo.attrib[0].emit = EMIT_4F; in calculate_vertex_layout() 91 draw_emit_vertex_attr(&vinfo, EMIT_3F, src); in calculate_vertex_layout() 92 vinfo.hwfmt[0] |= S4_VFMT_XYZ; in calculate_vertex_layout() 93 vinfo.attrib[0].emit = EMIT_3F; in calculate_vertex_layout() 100 draw_emit_vertex_attr(&vinfo, EMIT_1F, src); in calculate_vertex_layout() 101 vinfo.hwfmt[0] |= S4_VFMT_POINT_WIDTH; in calculate_vertex_layout() [all …]
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_derived.c | 52 struct vertex_info *vinfo = &llvmpipe->vertex_info; in compute_vertex_info() local 78 vinfo->num_attribs = 0; in compute_vertex_info() 83 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in compute_vertex_info() 96 llvmpipe->color_slot[idx] = (int)vinfo->num_attribs; in compute_vertex_info() 100 llvmpipe->face_slot = (int)vinfo->num_attribs; in compute_vertex_info() 101 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in compute_vertex_info() 110 llvmpipe->viewport_index_slot = (int)vinfo->num_attribs; in compute_vertex_info() 111 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in compute_vertex_info() 113 llvmpipe->layer_slot = (int)vinfo->num_attribs; in compute_vertex_info() 114 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in compute_vertex_info() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_vertex.c | 46 draw_compute_vertex_size(struct vertex_info *vinfo) in draw_compute_vertex_size() argument 50 vinfo->size = 0; in draw_compute_vertex_size() 51 for (i = 0; i < vinfo->num_attribs; i++) in draw_compute_vertex_size() 52 vinfo->size += draw_translate_vinfo_size(vinfo->attrib[i].emit); in draw_compute_vertex_size() 54 assert(vinfo->size % 4 == 0); in draw_compute_vertex_size() 56 vinfo->size /= 4; in draw_compute_vertex_size() 61 draw_dump_emitted_vertex(const struct vertex_info *vinfo, const uint8_t *data) in draw_dump_emitted_vertex() argument 65 for (i = 0; i < vinfo->num_attribs; i++) { in draw_dump_emitted_vertex() 66 switch (vinfo->attrib[i].emit) { in draw_dump_emitted_vertex()
|
D | draw_pt_emit.c | 46 const struct vertex_info *vinfo; member 59 const struct vertex_info *vinfo; in draw_pt_emit_prepare() local 79 emit->vinfo = vinfo = draw->render->get_vertex_info(draw->render); in draw_pt_emit_prepare() 84 for (i = 0; i < vinfo->num_attribs; i++) { in draw_pt_emit_prepare() 88 unsigned src_offset = vinfo->attrib[i].src_index * 4 * sizeof(float); in draw_pt_emit_prepare() 90 output_format = draw_translate_vinfo_format(vinfo->attrib[i].emit); in draw_pt_emit_prepare() 91 emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in draw_pt_emit_prepare() 96 if (vinfo->attrib[i].emit == EMIT_1F_PSIZE) { in draw_pt_emit_prepare() 100 else if (vinfo->attrib[i].src_index == DRAW_ATTR_NONEXIST) { in draw_pt_emit_prepare() 117 hw_key.nr_elements = vinfo->num_attribs; in draw_pt_emit_prepare() [all …]
|
D | draw_vertex.h | 113 draw_emit_vertex_attr(struct vertex_info *vinfo, in draw_emit_vertex_attr() argument 117 const uint n = vinfo->num_attribs; in draw_emit_vertex_attr() 125 assert(n < ARRAY_SIZE(vinfo->attrib)); in draw_emit_vertex_attr() 126 vinfo->attrib[n].emit = emit; in draw_emit_vertex_attr() 127 vinfo->attrib[n].src_index = src_index; in draw_emit_vertex_attr() 128 vinfo->num_attribs++; in draw_emit_vertex_attr() 133 extern void draw_compute_vertex_size(struct vertex_info *vinfo); 135 void draw_dump_emitted_vertex(const struct vertex_info *vinfo,
|
D | draw_pt_fetch_shade_emit.c | 63 const struct vertex_info *vinfo; member 77 const struct vertex_info *vinfo; in fse_prepare() local 88 fse->vinfo = vinfo = draw->render->get_vertex_info(draw->render); in fse_prepare() 90 fse->key.output_stride = vinfo->size * 4; in fse_prepare() 91 fse->key.nr_outputs = vinfo->num_attribs; in fse_prepare() 127 for (unsigned i = 0; i < vinfo->num_attribs; i++) { in fse_prepare() 128 unsigned emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in fse_prepare() 137 fse->key.element[i].out.format = vinfo->attrib[i].emit; in fse_prepare() 138 fse->key.element[i].out.vs_output = vinfo->attrib[i].src_index; in fse_prepare() 168 (vinfo->size * 4)); in fse_prepare() [all …]
|
D | draw_pipe_vbuf.c | 56 const struct vertex_info *vinfo; member 131 if (0) draw_dump_emitted_vertex(vbuf->vinfo, (uint8_t *)vbuf->vertex_ptr); in emit_vertex() 191 const struct vertex_info *vinfo; in vbuf_start_prim() local 203 vbuf->vinfo = vbuf->render->get_vertex_info(vbuf->render); in vbuf_start_prim() 204 vinfo = vbuf->vinfo; in vbuf_start_prim() 205 vbuf->vertex_size = vinfo->size * sizeof(float); in vbuf_start_prim() 211 for (i = 0; i < vinfo->num_attribs; i++) { in vbuf_start_prim() 215 unsigned src_offset = (vinfo->attrib[i].src_index * 4 * sizeof(float)); in vbuf_start_prim() 217 output_format = draw_translate_vinfo_format(vinfo->attrib[i].emit); in vbuf_start_prim() 218 emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in vbuf_start_prim() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/ |
D | gstv4l2codecpool.c | 31 GstVideoInfo *vinfo; member 57 g_return_val_if_fail (self->vinfo, GST_FLOW_ERROR); in gst_v4l2_codec_pool_acquire_buffer() 88 vmeta->format = GST_VIDEO_INFO_FORMAT (self->vinfo); in gst_v4l2_codec_pool_acquire_buffer() 89 vmeta->width = GST_VIDEO_INFO_WIDTH (self->vinfo); in gst_v4l2_codec_pool_acquire_buffer() 90 vmeta->height = GST_VIDEO_INFO_HEIGHT (self->vinfo); in gst_v4l2_codec_pool_acquire_buffer() 91 vmeta->n_planes = GST_VIDEO_INFO_N_PLANES (self->vinfo); in gst_v4l2_codec_pool_acquire_buffer() 92 memcpy (vmeta->offset, self->vinfo->offset, sizeof (vmeta->offset)); in gst_v4l2_codec_pool_acquire_buffer() 93 memcpy (vmeta->stride, self->vinfo->stride, sizeof (vmeta->stride)); in gst_v4l2_codec_pool_acquire_buffer() 136 if (self->vinfo) in gst_v4l2_codec_pool_finalize() 137 gst_video_info_free (self->vinfo); in gst_v4l2_codec_pool_finalize() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/kms/ |
D | gstkmsallocator.c | 171 GstKMSMemory * kmsmem, GstVideoInfo * vinfo) in gst_kms_allocator_memory_create() argument 176 gint num_planes = GST_VIDEO_INFO_N_PLANES (vinfo); in gst_kms_allocator_memory_create() 189 fmt = gst_drm_format_from_video (GST_VIDEO_INFO_FORMAT (vinfo)); in gst_kms_allocator_memory_create() 191 arg.width = GST_VIDEO_INFO_WIDTH (vinfo); in gst_kms_allocator_memory_create() 192 h = GST_VIDEO_INFO_HEIGHT (vinfo); in gst_kms_allocator_memory_create() 210 pitch = extrapolate_stride (vinfo->finfo, i, arg.pitch); in gst_kms_allocator_memory_create() 211 GST_VIDEO_INFO_PLANE_STRIDE (vinfo, i) = pitch; in gst_kms_allocator_memory_create() 212 GST_VIDEO_INFO_PLANE_OFFSET (vinfo, i) = offs; in gst_kms_allocator_memory_create() 216 offs += pitch * GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT (vinfo->finfo, i, h); in gst_kms_allocator_memory_create() 220 GST_VIDEO_INFO_PLANE_STRIDE (vinfo, i), in gst_kms_allocator_memory_create() [all …]
|
D | gstkmssink.c | 429 configure_mode_setting (GstKMSSink * self, GstVideoInfo * vinfo) in configure_mode_setting() argument 450 kmsmem = (GstKMSMemory *) gst_kms_allocator_bo_alloc (self->allocator, vinfo); in configure_mode_setting() 460 if (conn->modes[i].vdisplay == GST_VIDEO_INFO_HEIGHT (vinfo) && in configure_mode_setting() 461 conn->modes[i].hdisplay == GST_VIDEO_INFO_WIDTH (vinfo)) { in configure_mode_setting() 1066 gst_kms_sink_calculate_display_ratio (GstKMSSink * self, GstVideoInfo * vinfo, in gst_kms_sink_calculate_display_ratio() argument 1074 video_width = GST_VIDEO_INFO_WIDTH (vinfo); in gst_kms_sink_calculate_display_ratio() 1075 video_height = GST_VIDEO_INFO_HEIGHT (vinfo); in gst_kms_sink_calculate_display_ratio() 1076 video_par_n = GST_VIDEO_INFO_PAR_N (vinfo); in gst_kms_sink_calculate_display_ratio() 1077 video_par_d = GST_VIDEO_INFO_PAR_D (vinfo); in gst_kms_sink_calculate_display_ratio() 1128 GstVideoInfo vinfo; in gst_kms_sink_set_caps() local [all …]
|
D | gstkmsbufferpool.c | 40 GstVideoInfo vinfo; member 69 GstVideoInfo vinfo; in gst_kms_buffer_pool_set_config() local 83 if (!gst_video_info_from_caps (&vinfo, caps)) in gst_kms_buffer_pool_set_config() 98 priv->vinfo = vinfo; in gst_kms_buffer_pool_set_config() 143 info = &priv->vinfo; in gst_kms_buffer_pool_alloc_buffer()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_derived.c | 68 struct vertex_info *vinfo = &softpipe->vertex_info; in softpipe_compute_vertex_info() local 91 vinfo->num_attribs = 0; in softpipe_compute_vertex_info() 99 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info() 170 softpipe->viewport_index_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info() 171 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info() 173 softpipe->layer_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info() 174 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info() 188 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info() 198 softpipe->psize_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info() 199 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/msdk/ |
D | gstmsdkvpputil.c | 55 fixate_output_frame_size (GstMsdkVPP * thiz, GstVideoInfo * vinfo, in fixate_output_frame_size() argument 77 from_par_n = GST_VIDEO_INFO_PAR_N (vinfo); in fixate_output_frame_size() 78 from_par_d = GST_VIDEO_INFO_PAR_D (vinfo); in fixate_output_frame_size() 79 from_w = GST_VIDEO_INFO_WIDTH (vinfo); in fixate_output_frame_size() 80 from_h = GST_VIDEO_INFO_HEIGHT (vinfo); in fixate_output_frame_size() 449 fixate_frame_rate (GstMsdkVPP * thiz, GstVideoInfo * vinfo, GstStructure * outs) in fixate_frame_rate() argument 460 fps_n = GST_VIDEO_INFO_FPS_N (vinfo); in fixate_frame_rate() 461 fps_d = GST_VIDEO_INFO_FPS_D (vinfo); in fixate_frame_rate() 464 if (gst_msdkvpp_is_deinterlace_enabled (thiz, vinfo)) { in fixate_frame_rate() 483 set_multiview_mode (GstMsdkVPP * thiz, GstVideoInfo * vinfo, in set_multiview_mode() argument [all …]
|
/third_party/gstreamer/gstplugins_base/tests/check/libs/ |
D | video.c | 424 GstVideoInfo vinfo; in GST_START_TEST() local 439 gst_video_info_init (&vinfo); in GST_START_TEST() 440 fail_unless (gst_video_info_set_format (&vinfo, fmt, WIDTH, HEIGHT)); in GST_START_TEST() 441 vsize = GST_VIDEO_INFO_SIZE (&vinfo); in GST_START_TEST() 453 for (p = 0; p < GST_VIDEO_INFO_N_PLANES (&vinfo); ++p) { in GST_START_TEST() 454 data[p] = vdata + GST_VIDEO_INFO_PLANE_OFFSET (&vinfo, p); in GST_START_TEST() 455 stride[p] = GST_VIDEO_INFO_PLANE_STRIDE (&vinfo, p); in GST_START_TEST() 527 GstVideoInfo vinfo; in GST_START_TEST() local 535 gst_video_info_init (&vinfo); in GST_START_TEST() 536 fail_unless (gst_video_info_set_format (&vinfo, fmt, w, h)); in GST_START_TEST() [all …]
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | rawvideoparse.c | 380 GstVideoInfo vinfo; in GST_START_TEST() local 389 gst_video_info_set_format (&vinfo, TEST_FRAME_FORMAT, TEST_WIDTH, in GST_START_TEST() 391 GST_VIDEO_INFO_FPS_N (&vinfo) = 25; in GST_START_TEST() 392 GST_VIDEO_INFO_FPS_D (&vinfo) = 1; in GST_START_TEST() 393 caps = gst_video_info_to_caps (&vinfo); in GST_START_TEST() 411 GstVideoInfo vinfo; in GST_START_TEST() local 419 gst_video_info_set_format (&vinfo, TEST_FRAME_FORMAT, TEST_WIDTH, in GST_START_TEST() 421 GST_VIDEO_INFO_FPS_N (&vinfo) = 25; in GST_START_TEST() 422 GST_VIDEO_INFO_FPS_D (&vinfo) = 1; in GST_START_TEST() 423 caps = gst_video_info_to_caps (&vinfo); in GST_START_TEST() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/wayland/ |
D | wlshmallocator.c | 173 gst_wl_shm_validate_video_info (const GstVideoInfo * vinfo) in gst_wl_shm_validate_video_info() argument 175 gint height = GST_VIDEO_INFO_HEIGHT (vinfo); in gst_wl_shm_validate_video_info() 176 gint base_stride = GST_VIDEO_INFO_PLANE_STRIDE (vinfo, 0); in gst_wl_shm_validate_video_info() 177 gsize base_offs = GST_VIDEO_INFO_PLANE_OFFSET (vinfo, 0); in gst_wl_shm_validate_video_info() 181 for (i = 0; i < GST_VIDEO_INFO_N_PLANES (vinfo); i++) { in gst_wl_shm_validate_video_info() 186 estride = gst_wl_shm_extrapolate_stride (vinfo->finfo, i, base_stride); in gst_wl_shm_validate_video_info() 188 if (estride != GST_VIDEO_INFO_PLANE_STRIDE (vinfo, i)) in gst_wl_shm_validate_video_info() 191 if (GST_VIDEO_INFO_PLANE_OFFSET (vinfo, i) - base_offs != offs) in gst_wl_shm_validate_video_info() 197 estride * GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT (vinfo->finfo, i, height); in gst_wl_shm_validate_video_info() 200 if (vinfo->size < offs) in gst_wl_shm_validate_video_info()
|
/third_party/openssl/crypto/srp/ |
D | srp_vfy.c | 207 void SRP_user_pwd_set_gN(SRP_user_pwd *vinfo, const BIGNUM *g, in SRP_user_pwd_set_gN() argument 210 vinfo->N = N; in SRP_user_pwd_set_gN() 211 vinfo->g = g; in SRP_user_pwd_set_gN() 214 int SRP_user_pwd_set1_ids(SRP_user_pwd *vinfo, const char *id, in SRP_user_pwd_set1_ids() argument 217 OPENSSL_free(vinfo->id); in SRP_user_pwd_set1_ids() 218 OPENSSL_free(vinfo->info); in SRP_user_pwd_set1_ids() 219 if (id != NULL && NULL == (vinfo->id = OPENSSL_strdup(id))) in SRP_user_pwd_set1_ids() 221 return (info == NULL || NULL != (vinfo->info = OPENSSL_strdup(info))); in SRP_user_pwd_set1_ids() 224 static int SRP_user_pwd_set_sv(SRP_user_pwd *vinfo, const char *s, in SRP_user_pwd_set_sv() argument 230 vinfo->v = NULL; in SRP_user_pwd_set_sv() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/srp/ |
D | srp_vfy.c | 207 void SRP_user_pwd_set_gN(SRP_user_pwd *vinfo, const BIGNUM *g, in SRP_user_pwd_set_gN() argument 210 vinfo->N = N; in SRP_user_pwd_set_gN() 211 vinfo->g = g; in SRP_user_pwd_set_gN() 214 int SRP_user_pwd_set1_ids(SRP_user_pwd *vinfo, const char *id, in SRP_user_pwd_set1_ids() argument 217 OPENSSL_free(vinfo->id); in SRP_user_pwd_set1_ids() 218 OPENSSL_free(vinfo->info); in SRP_user_pwd_set1_ids() 219 if (id != NULL && NULL == (vinfo->id = OPENSSL_strdup(id))) in SRP_user_pwd_set1_ids() 221 return (info == NULL || NULL != (vinfo->info = OPENSSL_strdup(info))); in SRP_user_pwd_set1_ids() 224 static int SRP_user_pwd_set_sv(SRP_user_pwd *vinfo, const char *s, in SRP_user_pwd_set_sv() argument 230 vinfo->v = NULL; in SRP_user_pwd_set_sv() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/debugutils/ |
D | gstvideocodectestsink.c | 68 GstVideoInfo vinfo; member 225 for (y = 0; y < GST_VIDEO_INFO_COMP_HEIGHT (&self->vinfo, plane); y++) { in gst_video_codec_test_sink_process_i420() 226 gsize length = GST_VIDEO_INFO_COMP_WIDTH (&self->vinfo, plane) * in gst_video_codec_test_sink_process_i420() 227 GST_VIDEO_INFO_COMP_PSTRIDE (&self->vinfo, plane); in gst_video_codec_test_sink_process_i420() 252 for (y = 0; y < GST_VIDEO_INFO_HEIGHT (&self->vinfo); y++) { in gst_video_codec_test_sink_process_nv12() 253 gsize length = GST_VIDEO_INFO_WIDTH (&self->vinfo); in gst_video_codec_test_sink_process_nv12() 269 for (y = 0; y < GST_VIDEO_INFO_COMP_HEIGHT (&self->vinfo, 1); y++) { in gst_video_codec_test_sink_process_nv12() 270 guint width = GST_ROUND_UP_2 (GST_VIDEO_INFO_WIDTH (&self->vinfo)) / 2; in gst_video_codec_test_sink_process_nv12() 295 if (!gst_video_frame_map (&frame, &self->vinfo, buffer, GST_MAP_READ)) in gst_video_codec_test_sink_render() 309 if (!gst_video_info_from_caps (&self->vinfo, caps)) in gst_video_codec_test_sink_set_caps() [all …]
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_swtnl_state.c | 222 struct vertex_info *vinfo = &svga_render->vertex_info; in svga_swtnl_update_vdecl() local 233 memset(vinfo, 0, sizeof(*vinfo)); in svga_swtnl_update_vdecl() 240 draw_emit_vertex_attr(vinfo, EMIT_4F, src); in svga_swtnl_update_vdecl() 241 vinfo->attrib[0].emit = EMIT_4F; in svga_swtnl_update_vdecl() 261 draw_emit_vertex_attr(vinfo, EMIT_4F, src); in svga_swtnl_update_vdecl() 268 draw_emit_vertex_attr(vinfo, EMIT_4F, src); in svga_swtnl_update_vdecl() 277 draw_emit_vertex_attr(vinfo, EMIT_4F, src); in svga_swtnl_update_vdecl() 284 draw_emit_vertex_attr(vinfo, EMIT_1F, src); in svga_swtnl_update_vdecl() 300 draw_compute_vertex_size(vinfo); in svga_swtnl_update_vdecl()
|
/third_party/gstreamer/gstplugins_good/gst/shapewipe/ |
D | gstshapewipe.c | 278 gst_video_info_init (&self->vinfo); in gst_shape_wipe_reset() 299 if ((self->vinfo.width != info.width || self->vinfo.height != info.height) && in gst_shape_wipe_video_sink_setcaps() 300 self->vinfo.width > 0 && self->vinfo.height > 0) { in gst_shape_wipe_video_sink_setcaps() 315 self->vinfo = info; in gst_shape_wipe_video_sink_setcaps() 371 if (self->vinfo.height && self->vinfo.width) { in gst_shape_wipe_video_sink_getcaps() 379 gst_structure_set (s, "width", G_TYPE_INT, self->vinfo.width, "height", in gst_shape_wipe_video_sink_getcaps() 380 G_TYPE_INT, self->vinfo.height, NULL); in gst_shape_wipe_video_sink_getcaps() 436 if ((self->vinfo.width != width || self->vinfo.height != height) && in gst_shape_wipe_mask_sink_setcaps() 437 self->vinfo.width > 0 && self->vinfo.height > 0) { in gst_shape_wipe_mask_sink_setcaps() 504 if (self->vinfo.width && self->vinfo.height) in gst_shape_wipe_mask_sink_getcaps() [all …]
|
/third_party/libsnd/src/ |
D | ogg_vorbis.c | 131 vorbis_info vinfo ; member 165 vorbis_info_init (&vdata->vinfo) ; in vorbis_read_header() 178 if (vorbis_synthesis_headerin (&vdata->vinfo, &vdata->vcomment, &odata->opacket) < 0) in vorbis_read_header() 219 vorbis_synthesis_headerin (&vdata->vinfo, &vdata->vcomment, &odata->opacket) ; in vorbis_read_header() 230 …psf_log_printf (psf, "Bitstream is %d channel, %D Hz\n", vdata->vinfo.channels, vdata->vinfo.rate)… in vorbis_read_header() 291 psf->sf.samplerate = vdata->vinfo.rate ; in vorbis_read_header() 292 psf->sf.channels = vdata->vinfo.channels ; in vorbis_read_header() 299 vorbis_synthesis_init (&vdata->vdsp, &vdata->vinfo) ; in vorbis_read_header() 316 vorbis_info_init (&vdata->vinfo) ; in vorbis_write_header() 319 …ret = vorbis_encode_init_vbr (&vdata->vinfo, psf->sf.channels, psf->sf.samplerate, vdata->quality)… in vorbis_write_header() [all …]
|
/third_party/gstreamer/gstplugins_base/ext/gl/ |
D | gstgloverlaycompositorelement.c | 197 GstVideoInfo vinfo; in gst_gl_overlay_compositor_element_propose_allocation() local 199 if (gst_video_info_from_caps (&vinfo, decide_caps)) { in gst_gl_overlay_compositor_element_propose_allocation() 200 width = GST_VIDEO_INFO_WIDTH (&vinfo); in gst_gl_overlay_compositor_element_propose_allocation() 201 height = GST_VIDEO_INFO_HEIGHT (&vinfo); in gst_gl_overlay_compositor_element_propose_allocation() 211 GstVideoInfo vinfo; in gst_gl_overlay_compositor_element_propose_allocation() local 213 if (gst_video_info_from_caps (&vinfo, caps)) { in gst_gl_overlay_compositor_element_propose_allocation() 214 width = GST_VIDEO_INFO_WIDTH (&vinfo); in gst_gl_overlay_compositor_element_propose_allocation() 215 height = GST_VIDEO_INFO_HEIGHT (&vinfo); in gst_gl_overlay_compositor_element_propose_allocation()
|
/third_party/gstreamer/gstplugins_bad/sys/va/ |
D | gstvasurfacecopy.c | 70 gst_va_surface_copy_new (GstVaDisplay * display, GstVideoInfo * vinfo) in gst_va_surface_copy_new() argument 75 g_return_val_if_fail (vinfo != NULL, NULL); in gst_va_surface_copy_new() 80 self->info = *vinfo; in gst_va_surface_copy_new() 87 && gst_va_filter_set_video_info (self->filter, vinfo, vinfo))) in gst_va_surface_copy_new()
|
/third_party/gstreamer/gstplugins_good/gst/smpte/ |
D | gstsmpte.c | 215 fill_i420 (GstVideoInfo * vinfo, guint8 * data, gint height, gint color) in fill_i420() argument 217 gint size = GST_VIDEO_INFO_COMP_STRIDE (vinfo, 0) * GST_ROUND_UP_2 (height); in fill_i420() 220 guint8 *up = data + GST_VIDEO_INFO_COMP_OFFSET (vinfo, 1); in fill_i420() 221 guint8 *vp = data + GST_VIDEO_INFO_COMP_OFFSET (vinfo, 2); in fill_i420() 264 GstVideoInfo vinfo; in gst_smpte_setcaps() local 268 gst_video_info_init (&vinfo); in gst_smpte_setcaps() 269 if (!gst_video_info_from_caps (&vinfo, caps)) in gst_smpte_setcaps() 272 smpte->width = GST_VIDEO_INFO_WIDTH (&vinfo); in gst_smpte_setcaps() 273 smpte->height = GST_VIDEO_INFO_HEIGHT (&vinfo); in gst_smpte_setcaps() 274 smpte->fps_num = GST_VIDEO_INFO_FPS_N (&vinfo); in gst_smpte_setcaps() [all …]
|