Home
last modified time | relevance | path

Searched refs:video_buffer (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/vdpau/
Dsurface.c103 p_surf->video_buffer = pipe->create_video_buffer(pipe, &p_surf->templat); in vlVdpVideoSurfaceCreate()
118 p_surf->video_buffer->destroy(p_surf->video_buffer); in vlVdpVideoSurfaceCreate()
142 if (p_surf->video_buffer) in vlVdpVideoSurfaceDestroy()
143 p_surf->video_buffer->destroy(p_surf->video_buffer); in vlVdpVideoSurfaceDestroy()
168 if (p_surf->video_buffer) { in vlVdpVideoSurfaceGetParameters()
169 *width = p_surf->video_buffer->width; in vlVdpVideoSurfaceGetParameters()
170 *height = p_surf->video_buffer->height; in vlVdpVideoSurfaceGetParameters()
171 *chroma_type = PipeToChroma(p_surf->video_buffer->chroma_format); in vlVdpVideoSurfaceGetParameters()
225 if (vlsurface->video_buffer == NULL) in vlVdpVideoSurfaceGetBitsYCbCr()
228 buffer_format = vlsurface->video_buffer->buffer_format; in vlVdpVideoSurfaceGetBitsYCbCr()
[all …]
Dmixer.c249 struct pipe_video_buffer *video_buffer; in vlVdpVideoMixerRender() local
270 video_buffer = surf->video_buffer; in vlVdpVideoMixerRender()
275 if (vmixer->video_width > video_buffer->width || in vlVdpVideoMixerRender()
276 vmixer->video_height > video_buffer->height || in vlVdpVideoMixerRender()
277 vmixer->chroma_format != video_buffer->chroma_format) in vlVdpVideoMixerRender()
326 prevprev->video_buffer, prev->video_buffer, surf->video_buffer, next->video_buffer)) { in vlVdpVideoMixerRender()
327 vl_deint_filter_render(vmixer->deint.filter, prevprev->video_buffer, in vlVdpVideoMixerRender()
328 prev->video_buffer, surf->video_buffer, in vlVdpVideoMixerRender()
329 next->video_buffer, in vlVdpVideoMixerRender()
332 video_buffer = vmixer->deint.filter->video_buffer; in vlVdpVideoMixerRender()
[all …]
Ddecode.c215 *ref_frame = surface->video_buffer; in vlVdpGetReferenceFrame()
603 if (vlsurf->video_buffer != NULL && vlsurf->video_buffer->chroma_format != dec->chroma_format) in vlVdpDecoderRender()
612 if (vlsurf->video_buffer == NULL || in vlVdpDecoderRender()
613 !screen->is_video_format_supported(screen, vlsurf->video_buffer->buffer_format, in vlVdpDecoderRender()
615 !buffer_support[vlsurf->video_buffer->interlaced]) { in vlVdpDecoderRender()
620 if (vlsurf->video_buffer) in vlVdpDecoderRender()
621 vlsurf->video_buffer->destroy(vlsurf->video_buffer); in vlVdpDecoderRender()
632 vlsurf->video_buffer = dec->context->create_video_buffer(dec->context, &vlsurf->templat); in vlVdpDecoderRender()
635 if (!vlsurf->video_buffer) { in vlVdpDecoderRender()
678 dec->begin_frame(dec, vlsurf->video_buffer, &desc.base); in vlVdpDecoderRender()
[all …]
Dvdpau_private.h399 struct pipe_video_buffer templat, *video_buffer; member
/external/webrtc/webrtc/modules/video_processing/test/
Dvideo_processing_unittest.cc119 rtc::scoped_ptr<uint8_t[]> video_buffer(new uint8_t[frame_length_]); local
121 fread(video_buffer.get(), 1, frame_length_, source_file_));
122 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
138 rtc::scoped_ptr<uint8_t[]> video_buffer(new uint8_t[frame_length_]); local
140 fread(video_buffer.get(), 1, frame_length_, source_file_));
141 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
155 fread(video_buffer.get(), 1, frame_length_, source_file_));
156 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
174 rtc::scoped_ptr<uint8_t[]> video_buffer(new uint8_t[frame_length_]); local
176 fread(video_buffer.get(), 1, frame_length_, source_file_));
[all …]
Dbrightness_detection_test.cc26 rtc::scoped_ptr<uint8_t[]> video_buffer(new uint8_t[frame_length_]); in TEST_F() local
27 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F()
29 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_, in TEST_F()
52 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F()
55 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_, in TEST_F()
89 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F()
92 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_, in TEST_F()
Dcontent_metrics_test.cc31 rtc::scoped_ptr<uint8_t[]> video_buffer(new uint8_t[frame_length_]); in TEST_F() local
32 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F()
35 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_, in TEST_F()
Ddeflickering_test.cc49 rtc::scoped_ptr<uint8_t[]> video_buffer(new uint8_t[frame_length_]); in TEST_F() local
57 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F()
60 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, in TEST_F()
Ddenoiser_test.cc140 rtc::scoped_ptr<uint8_t[]> video_buffer(new uint8_t[frame_length_]); in TEST_F() local
141 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F()
144 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_, in TEST_F()
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dsurface.c114 desc->ref[num_refs++] = ref->video_buffer; in GetPictureDescription()
149 context_priv->decoder->end_frame(context_priv->decoder, surface->video_buffer, &desc.base); in RecursiveEndFrame()
196 surface_priv->video_buffer = pipe->create_video_buffer(pipe, &tmpl); in XvMCCreateSurface()
197 if (!surface_priv->video_buffer) { in XvMCCreateSurface()
303 decoder->begin_frame(decoder, target_surface_priv->video_buffer, &desc.base); in XvMCRenderSurface()
310 target_surface_priv->video_buffer, in XvMCRenderSurface()
420 vl_compositor_set_buffer_layer(cstate, compositor, 0, surface_priv->video_buffer, in XvMCPutSurface()
517 … context_priv->decoder->end_frame(context_priv->decoder, surface_priv->video_buffer, &desc.base); in XvMCDestroySurface()
519 surface_priv->video_buffer->destroy(surface_priv->video_buffer); in XvMCDestroySurface()
Dxvmc_private.h69 struct pipe_video_buffer *video_buffer; member
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_deint_filter.c269 filter->video_buffer = vl_video_buffer_create(pipe, &templ); in vl_deint_filter_init()
270 if (!filter->video_buffer) in vl_deint_filter_init()
382 filter->video_buffer->destroy(filter->video_buffer); in vl_deint_filter_init()
407 filter->video_buffer->destroy(filter->video_buffer); in vl_deint_filter_cleanup()
456 dst_surfaces = filter->video_buffer->get_surfaces(filter->video_buffer); in vl_deint_filter_render()
457 plane_order = vl_video_buffer_plane_order(filter->video_buffer->buffer_format); in vl_deint_filter_render()
Dvl_deint_filter.h51 struct pipe_video_buffer *video_buffer; member
Dvl_mpeg12_decoder.c88 struct pipe_video_buffer *video_buffer; member
135 priv->video_buffer = buf; in get_video_buffer_private()
158 struct pipe_video_buffer *buf = priv->video_buffer; in free_video_buffer_privates()
/external/mesa3d/src/gallium/state_trackers/va/
Dpostproc.c221 return context->deint->video_buffer; in vlVaApplyDeint()