Home
last modified time | relevance | path

Searched refs:vbuf (Results 26 - 50 of 77) sorted by relevance

1234

/third_party/mesa3d/src/gallium/frontends/omx/
H A Dvid_enc_common.c211 struct pipe_video_buffer **vbuf, unsigned *size) in enc_ScaleInput_common()
213 struct pipe_video_buffer *src_buf = *vbuf; in enc_ScaleInput_common()
244 *vbuf = priv->scale_buffer[priv->current_scale_buffer++]; in enc_ScaleInput_common()
399 struct pipe_video_buffer *vbuf) in enc_LoadImage_common()
409 views = vbuf->get_sampler_view_planes(vbuf); in enc_LoadImage_common()
428 struct vl_video_buffer *dst_buf = (struct vl_video_buffer *)vbuf; in enc_LoadImage_common()
210 enc_ScaleInput_common(vid_enc_PrivateType * priv, OMX_VIDEO_PORTDEFINITIONTYPE *def, struct pipe_video_buffer **vbuf, unsigned *size) enc_ScaleInput_common() argument
397 enc_LoadImage_common(vid_enc_PrivateType * priv, OMX_VIDEO_PORTDEFINITIONTYPE *def, OMX_BUFFERHEADERTYPE *buf, struct pipe_video_buffer *vbuf) enc_LoadImage_common() argument
H A Dvid_enc_common.h171 struct pipe_video_buffer **vbuf, unsigned *size);
178 struct pipe_video_buffer *vbuf);
H A Dvid_dec_h264_common.c1051 struct pipe_video_buffer *vbuf = buf->pInputPortPrivate; in vid_dec_FreeInputPortPrivate() local
1052 if (!vbuf) in vid_dec_FreeInputPortPrivate()
1055 vbuf->destroy(vbuf); in vid_dec_FreeInputPortPrivate()
1081 struct pipe_video_buffer *tmp, *vbuf, *new_vbuf; in vid_dec_FrameDecoded_common() local
1084 vbuf = input->pInputPortPrivate; in vid_dec_FrameDecoded_common()
1085 if (vbuf->interlaced) { in vid_dec_FrameDecoded_common()
1121 vbuf->destroy(vbuf); in vid_dec_FrameDecoded_common()
/third_party/mesa3d/src/gallium/tests/graw/
H A Dfs-test.c162 struct pipe_vertex_buffer vbuf; in set_vertices() local
177 memset(&vbuf, 0, sizeof vbuf); in set_vertices()
179 vbuf.stride = sizeof( struct vertex ); in set_vertices()
180 vbuf.buffer_offset = 0; in set_vertices()
181 vbuf.buffer.resource = pipe_buffer_create_with_data(ctx, in set_vertices()
187 ctx->set_vertex_buffers(ctx, 0, 1, 0, false, &vbuf); in set_vertices()
H A Dvs-test.c142 struct pipe_vertex_buffer vbuf; in set_vertices() local
170 memset(&vbuf, 0, sizeof vbuf); in set_vertices()
172 vbuf.stride = sizeof( struct vertex ); in set_vertices()
173 vbuf.buffer_offset = 0; in set_vertices()
174 vbuf.buffer.resource = pipe_buffer_create_with_data(ctx, in set_vertices()
180 ctx->set_vertex_buffers(ctx, 0, 1, 0, false, &vbuf); in set_vertices()
/third_party/mesa3d/src/gallium/tests/trivial/
H A Dtri.c80 struct pipe_resource *vbuf; member
124 p->vbuf = pipe_buffer_create(p->screen, PIPE_BIND_VERTEX_BUFFER, in init_prog()
126 pipe_buffer_write(p->pipe, p->vbuf, 0, sizeof(vertices), vertices); in init_prog()
239 pipe_resource_reference(&p->vbuf, NULL); in close_prog()
270 p->vbuf, 0, 0, in draw()
H A Dquad-tex.c84 struct pipe_resource *vbuf; member
134 p->vbuf = pipe_buffer_create(p->screen, PIPE_BIND_VERTEX_BUFFER, in init_prog()
136 pipe_buffer_write(p->pipe, p->vbuf, 0, sizeof(vertices), vertices); in init_prog()
301 pipe_resource_reference(&p->vbuf, NULL); in close_prog()
340 p->vbuf, 0, 0, in draw()
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_draw_quad.c44 struct pipe_resource *vbuf, in util_draw_vertex_buffer()
57 vbuffer.buffer.resource = vbuf; in util_draw_vertex_buffer()
42 util_draw_vertex_buffer(struct pipe_context *pipe, struct cso_context *cso, struct pipe_resource *vbuf, uint vbuf_slot, uint offset, uint prim_type, uint num_verts, uint num_attribs) util_draw_vertex_buffer() argument
H A Du_draw_quad.h46 struct pipe_resource *vbuf, uint vbuf_slot,
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_cb_drawtex.c205 vbuf[k + 0] = X; \ in st_DrawTex()
206 vbuf[k + 1] = Y; \ in st_DrawTex()
207 vbuf[k + 2] = Z; \ in st_DrawTex()
208 vbuf[k + 3] = W; \ in st_DrawTex()
212 GLfloat *vbuf = NULL; in st_DrawTex() local
217 &offset, &vbuffer, (void **) &vbuf); in st_DrawTex()
/third_party/python/Modules/_sqlite/
H A Dblob.c522 Py_buffer vbuf; in ass_subscript_slice() local
523 if (PyObject_GetBuffer(value, &vbuf, PyBUF_SIMPLE) < 0) { in ass_subscript_slice()
528 if (vbuf.len != len) { in ass_subscript_slice()
533 rc = inner_write(self, vbuf.buf, len, start); in ass_subscript_slice()
540 blob_buf[j] = ((char *)vbuf.buf)[i]; in ass_subscript_slice()
546 PyBuffer_Release(&vbuf); in ass_subscript_slice()
/third_party/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_stubs.c67 vl_video_buffer_set_associated_data(struct pipe_video_buffer *vbuf, in vl_video_buffer_set_associated_data() argument
76 vl_video_buffer_get_associated_data(struct pipe_video_buffer *vbuf, in vl_video_buffer_get_associated_data() argument
H A Dvl_video_buffer.h102 vl_video_buffer_set_associated_data(struct pipe_video_buffer *vbuf,
111 vl_video_buffer_get_associated_data(struct pipe_video_buffer *vbuf,
/third_party/mesa3d/src/gallium/auxiliary/hud/
H A Dhud_context.c450 v->vbuf.stride = stride; in hud_prepare_vertices()
565 cso_set_vertex_buffers(cso, 0, 1, 0, false, &hud->bg.vbuf); in hud_draw_results()
568 pipe_resource_reference(&hud->bg.vbuf.buffer.resource, NULL); in hud_draw_results()
573 cso_set_vertex_buffers(cso, 0, 1, 0, false, &hud->text.vbuf); in hud_draw_results()
577 pipe_resource_reference(&hud->text.vbuf.buffer.resource, NULL); in hud_draw_results()
597 cso_set_vertex_buffers(cso, 0, 1, 0, false, &hud->whitelines.vbuf); in hud_draw_results()
601 pipe_resource_reference(&hud->whitelines.vbuf.buffer.resource, NULL); in hud_draw_results()
661 16, &hud->bg.vbuf.buffer_offset, &hud->bg.vbuf.buffer.resource, in hud_stop_queries()
666 pipe_resource_reference(&hud->whitelines.vbuf in hud_stop_queries()
[all...]
/third_party/glfw/deps/
H A Dnuklear_glfw_gl2.h129 struct nk_buffer vbuf, ebuf; in nk_glfw3_render() local
152 nk_buffer_init_default(&vbuf); in nk_glfw3_render()
154 nk_convert(&glfw.ctx, &dev->cmds, &vbuf, &ebuf, &config); in nk_glfw3_render()
157 {const void *vertices = nk_buffer_memory_const(&vbuf); in nk_glfw3_render()
177 nk_buffer_free(&vbuf); in nk_glfw3_render()
/third_party/mesa3d/src/gallium/auxiliary/postprocess/
H A Dpp_program.c81 p->vbuf = pipe_buffer_create(pipe->screen, PIPE_BIND_VERTEX_BUFFER, in pp_init_prog()
83 pipe_buffer_write(p->pipe, p->vbuf, 0, sizeof(verts), verts); in pp_init_prog()
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/
H A Dvid_enc.c761 struct pipe_video_buffer *vbuf) in enc_LoadImage()
766 return enc_LoadImage_common(priv, def, buf, vbuf); in enc_LoadImage()
769 static void enc_ScaleInput(omx_base_PortType *port, struct pipe_video_buffer **vbuf, unsigned *size) in enc_ScaleInput() argument
774 enc_ScaleInput_common(priv, def, vbuf, size); in enc_ScaleInput()
790 struct pipe_video_buffer *vbuf = task->buf; in enc_HandleTask() local
794 enc_ScaleInput(port, &vbuf, &size); in enc_HandleTask()
812 priv->codec->begin_frame(priv->codec, vbuf, &picture.base); in enc_HandleTask()
813 priv->codec->encode_bitstream(priv->codec, vbuf, task->bitstream, &task->feedback); in enc_HandleTask()
814 priv->codec->end_frame(priv->codec, vbuf, &picture.base); in enc_HandleTask()
872 struct pipe_video_buffer *vbuf in vid_enc_EncodeFrame() local
760 enc_LoadImage(omx_base_PortType *port, OMX_BUFFERHEADERTYPE *buf, struct pipe_video_buffer *vbuf) enc_LoadImage() argument
[all...]
/third_party/ffmpeg/libswscale/x86/
H A Dswscale_template.c793 const int16_t *ubuf[2], const int16_t *vbuf[2], in yuv2rgb32_2()
857 const int16_t *ubuf[2], const int16_t *vbuf[2], in yuv2bgr24_2()
880 const int16_t *ubuf[2], const int16_t *vbuf[2], in yuv2rgb555_2()
909 const int16_t *ubuf[2], const int16_t *vbuf[2], in yuv2rgb565_2()
978 const int16_t *ubuf[2], const int16_t *vbuf[2], in yuv2yuyv422_2()
1117 const int16_t *ubuf[2], const int16_t *vbuf[2], in yuv2rgb32_1()
1186 const int16_t *ubuf[2], const int16_t *vbuf[2], in yuv2bgr24_1()
1227 const int16_t *ubuf[2], const int16_t *vbuf[2], in yuv2rgb555_1()
1280 const int16_t *ubuf[2], const int16_t *vbuf[2], in yuv2rgb565_1()
1370 const int16_t *ubuf[2], const int16_t *vbuf[ in yuv2yuyv422_1()
792 yuv2rgb32_2(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) yuv2rgb32_2() argument
856 yuv2bgr24_2(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) yuv2bgr24_2() argument
879 yuv2rgb555_2(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) yuv2rgb555_2() argument
908 yuv2rgb565_2(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) yuv2rgb565_2() argument
977 yuv2yuyv422_2(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) yuv2yuyv422_2() argument
1116 yuv2rgb32_1(SwsContext *c, const int16_t *buf0, const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int y) yuv2rgb32_1() argument
1185 yuv2bgr24_1(SwsContext *c, const int16_t *buf0, const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int y) yuv2bgr24_1() argument
1226 yuv2rgb555_1(SwsContext *c, const int16_t *buf0, const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int y) yuv2rgb555_1() argument
1279 yuv2rgb565_1(SwsContext *c, const int16_t *buf0, const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int y) yuv2rgb565_1() argument
1369 yuv2yuyv422_1(SwsContext *c, const int16_t *buf0, const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int y) yuv2yuyv422_1() argument
[all...]
/third_party/ffmpeg/libswscale/ppc/
H A Dswscale_vsx.c681 const int16_t *ubuf[2], const int16_t *vbuf[2], in yuv2rgb_full_2_vsx_template()
688 *vbuf0 = vbuf[0], *vbuf1 = vbuf[1], in yuv2rgb_full_2_vsx_template()
803 const int16_t *ubuf[2], const int16_t *vbuf[2], in yuv2rgb_2_vsx_template()
810 *vbuf0 = vbuf[0], *vbuf1 = vbuf[1], in yuv2rgb_2_vsx_template()
979 const int16_t *ubuf[2], const int16_t *vbuf[2], in yuv2rgb_full_1_vsx_template()
984 const int16_t *ubuf0 = ubuf[0], *vbuf0 = vbuf[0]; in yuv2rgb_full_1_vsx_template()
985 const int16_t *ubuf1 = ubuf[1], *vbuf1 = vbuf[1]; in yuv2rgb_full_1_vsx_template()
1108 const int16_t *ubuf[2], const int16_t *vbuf[ in yuv2rgb_1_vsx_template()
680 yuv2rgb_full_2_vsx_template(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y, enum AVPixelFormat target, int hasAlpha) yuv2rgb_full_2_vsx_template() argument
802 yuv2rgb_2_vsx_template(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y, enum AVPixelFormat target, int hasAlpha) yuv2rgb_2_vsx_template() argument
978 yuv2rgb_full_1_vsx_template(SwsContext *c, const int16_t *buf0, const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int y, enum AVPixelFormat target, int hasAlpha) yuv2rgb_full_1_vsx_template() argument
1107 yuv2rgb_1_vsx_template(SwsContext *c, const int16_t *buf0, const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int y, enum AVPixelFormat target, int hasAlpha) yuv2rgb_1_vsx_template() argument
1536 yuv2422_2_vsx_template(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y, enum AVPixelFormat target) yuv2422_2_vsx_template() argument
1570 yuv2422_1_vsx_template(SwsContext *c, const int16_t *buf0, const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int y, enum AVPixelFormat target) yuv2422_1_vsx_template() argument
[all...]
/third_party/backends/backend/
H A Dhs2p-scsi.c245 print_vpd_info (struct inquiry_vpd_data *vbuf) in print_vpd_info() argument
248 DBG (DBG_info, "[00] Peripheral %#02x\n", vbuf->devtype); in print_vpd_info()
249 DBG (DBG_info, "[01] Page Code %#02x\n", vbuf->pagecode); in print_vpd_info()
250 DBG (DBG_info, "[02] reserved %#02x\n", vbuf->byte2); in print_vpd_info()
251 DBG (DBG_info, "[03] Page Length %#02x\n", vbuf->pagelength); in print_vpd_info()
252 DBG (DBG_info, "[04] ADF ID %#02x\n", vbuf->adf_id); in print_vpd_info()
253 DBG (DBG_info, "[05] Endorser ID %#02x\n", vbuf->end_id); in print_vpd_info()
254 DBG (DBG_info, "[06] Image Processing Unit %#02x\n", vbuf->ipu_id); in print_vpd_info()
256 vbuf->imagecomposition); in print_vpd_info()
258 _2btol (&vbuf in print_vpd_info()
[all...]
H A Dhs2p.c965 struct inquiry_vpd_data vbuf; in attach() local
1052 memset (&vbuf, 0, sizeof (vbuf)); in attach()
1053 buf_size = sizeof (vbuf); in attach()
1054 status = inquiry (fd, &vbuf, &buf_size, 1, HS2P_INQUIRY_VPD_PAGE_CODE); in attach()
1062 print_vpd_info (&vbuf); in attach()
1181 dev->info.hasADF = vbuf.adf_id == 0 ? SANE_FALSE : SANE_TRUE; in attach()
1182 dev->info.hasSimplex = vbuf.adf_id == 1 ? SANE_TRUE : SANE_FALSE; in attach()
1183 dev->info.hasDuplex = vbuf.adf_id == 2 ? SANE_TRUE : SANE_FALSE; in attach()
1184 dev->info.hasARDF = vbuf in attach()
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_surface.c1204 uint32_t stride, length, *vbuf; in nvc0_blit_3d() local
1320 vbuf = nouveau_scratch_get(&nvc0->base, length, &vtxbuf, &vtxbuf_bo); in nvc0_blit_3d()
1321 if (!vbuf) { in nvc0_blit_3d()
1322 assert(vbuf); in nvc0_blit_3d()
1386 *(vbuf++) = fui(0.0f); in nvc0_blit_3d()
1387 *(vbuf++) = fui(0.0f); in nvc0_blit_3d()
1388 *(vbuf++) = fui(x0); in nvc0_blit_3d()
1389 *(vbuf++) = fui(y0); in nvc0_blit_3d()
1390 *(vbuf++) = fui(z); in nvc0_blit_3d()
1392 *(vbuf in nvc0_blit_3d()
[all...]
/third_party/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_context.c319 softpipe->vbuf = draw_vbuf_stage(softpipe->draw, softpipe->vbuf_backend); in softpipe_create_context()
320 if (!softpipe->vbuf) in softpipe_create_context()
323 draw_set_rasterize_stage(softpipe->draw, softpipe->vbuf); in softpipe_create_context()
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_swtnl_private.h50 struct pipe_resource *vbuf; member
/third_party/mesa3d/src/gallium/drivers/r300/
H A Dr300_emit.c933 struct pipe_vertex_buffer *vbuf = r300->vertex_buffer; in r300_emit_vertex_arrays() local
951 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
952 vb2 = &vbuf[velem[i+1].vertex_buffer_index]; in r300_emit_vertex_arrays()
963 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
971 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer.resource); in r300_emit_vertex_arrays()
977 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
978 vb2 = &vbuf[velem[i+1].vertex_buffer_index]; in r300_emit_vertex_arrays()
1006 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
1023 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer.resource); in r300_emit_vertex_arrays()
1380 struct pipe_vertex_buffer *vbuf in r300_emit_buffer_validate() local
[all...]

Completed in 24 milliseconds

1234