Home
last modified time | relevance | path

Searched refs:va_display (Results 1 – 22 of 22) sorted by relevance

/hardware/intel/common/libmix/mix_video/src/
Dmixvideoformatenc_mpeg4.c140 VADisplay va_display ) { in mix_videofmtenc_mpeg4_initialize() argument
160 if (mix == NULL || config_params_enc == NULL || va_display == NULL) { in mix_videofmtenc_mpeg4_initialize()
176 va_display); in mix_videofmtenc_mpeg4_initialize()
256 parent->va_display = va_display; in mix_videofmtenc_mpeg4_initialize()
260 (guint)va_display); in mix_videofmtenc_mpeg4_initialize()
268 va_vendor = vaQueryVendorString (va_display); in mix_videofmtenc_mpeg4_initialize()
274 va_max_num_profiles = vaMaxNumProfiles(va_display); in mix_videofmtenc_mpeg4_initialize()
278 va_max_num_entrypoints = vaMaxNumEntrypoints(va_display); in mix_videofmtenc_mpeg4_initialize()
282 va_max_num_attribs = vaMaxNumConfigAttributes(va_display); in mix_videofmtenc_mpeg4_initialize()
303 va_status = vaQueryConfigProfiles (va_display, va_profiles, &va_num_profiles); in mix_videofmtenc_mpeg4_initialize()
[all …]
Dmixvideoformatenc_preview.c139 VADisplay va_display ) { in mix_videofmtenc_preview_initialize() argument
159 if (mix == NULL || config_params_enc == NULL || va_display == NULL) { in mix_videofmtenc_preview_initialize()
175 va_display); in mix_videofmtenc_preview_initialize()
209 parent->va_display = va_display; in mix_videofmtenc_preview_initialize()
213 (guint)va_display); in mix_videofmtenc_preview_initialize()
221 va_vendor = vaQueryVendorString (va_display); in mix_videofmtenc_preview_initialize()
227 va_max_num_profiles = vaMaxNumProfiles(va_display); in mix_videofmtenc_preview_initialize()
231 va_max_num_entrypoints = vaMaxNumEntrypoints(va_display); in mix_videofmtenc_preview_initialize()
235 va_max_num_attribs = vaMaxNumConfigAttributes(va_display); in mix_videofmtenc_preview_initialize()
256 va_status = vaQueryConfigProfiles (va_display, va_profiles, &va_num_profiles); in mix_videofmtenc_preview_initialize()
[all …]
Dmixvideoformatenc_h264.c140 VADisplay va_display ) { in mix_videofmtenc_h264_initialize() argument
160 if (mix == NULL || config_params_enc == NULL || va_display == NULL) { in mix_videofmtenc_h264_initialize()
176 va_display); in mix_videofmtenc_h264_initialize()
271 parent->va_display = va_display; in mix_videofmtenc_h264_initialize()
275 (guint)va_display); in mix_videofmtenc_h264_initialize()
283 va_vendor = vaQueryVendorString (va_display); in mix_videofmtenc_h264_initialize()
289 va_max_num_profiles = vaMaxNumProfiles(va_display); in mix_videofmtenc_h264_initialize()
293 va_max_num_entrypoints = vaMaxNumEntrypoints(va_display); in mix_videofmtenc_h264_initialize()
297 va_max_num_attribs = vaMaxNumConfigAttributes(va_display); in mix_videofmtenc_h264_initialize()
318 va_status = vaQueryConfigProfiles (va_display, va_profiles, &va_num_profiles); in mix_videofmtenc_h264_initialize()
[all …]
Dmixvideoformat.c49 self->va_display = NULL; in mix_videoformat_init()
117 if (mix->va_display) { in mix_videoformat_finalize()
120 va_status = vaDestroyConfig(mix->va_display, mix->va_config); in mix_videoformat_finalize()
128 va_status = vaDestroyContext(mix->va_display, mix->va_context); in mix_videoformat_finalize()
136 va_status = vaDestroySurfaces(mix->va_display, mix->va_surfaces, mix->va_num_surfaces); in mix_videoformat_finalize()
184 VADisplay va_display) { in mix_videofmt_initialize_default() argument
191 if (!mix || !config_params || !frame_mgr || !input_buf_pool || !surface_pool || !va_display) in mix_videofmt_initialize_default()
217 mix->va_display = va_display; in mix_videofmt_initialize_default()
353 VADisplay va_display) { in mix_videofmt_initialize() argument
358 input_buf_pool, surface_pool, va_display); in mix_videofmt_initialize()
Dmixvideoformat_mp42.c189 VADisplay va_display) { in mix_videofmt_mp42_initialize() argument
219 input_buf_pool, surface_pool, va_display); in mix_videofmt_mp42_initialize()
283 va_display = parent->va_display; in mix_videofmt_mp42_initialize()
288 va_ret = vaGetConfigAttributes(va_display, va_profile, VAEntrypointVLD, in mix_videofmt_mp42_initialize()
300 va_ret = vaCreateConfig(va_display, va_profile, VAEntrypointVLD, &attrib, in mix_videofmt_mp42_initialize()
332 va_ret = vaCreateSurfaces(va_display, parent->picture_width, in mix_videofmt_mp42_initialize()
355 va_ret = vaCreateContext(va_display, parent->va_config, in mix_videofmt_mp42_initialize()
591 VADisplay va_display = NULL; in mix_videofmt_mp42_process_decode() local
953 va_display = mix->va_display; in mix_videofmt_mp42_process_decode()
960 va_ret = vaCreateBuffer(va_display, va_context, in mix_videofmt_mp42_process_decode()
[all …]
Dmixvideoformat.h50 VADisplay va_display);
69 VADisplay va_display; member
149 VADisplay va_display);
Dmixvideoformatenc.h47 VADisplay va_display);
67 VADisplay va_display; member
163 VADisplay va_display);
Dmixvideoformatenc.c52 self->va_display = NULL; in mix_videoformatenc_init()
172 VADisplay va_display) { in mix_videofmtenc_initialize_default() argument
192 mix->va_display = va_display; in mix_videofmtenc_initialize_default()
442 VADisplay va_display) { in mix_videofmtenc_initialize() argument
448 input_buf_pool, surface_pool, va_display); in mix_videofmtenc_initialize()
Dmixvideo_private.h22 VADisplay va_display; member
Dmixvideo.c201 priv->va_display = NULL; in mix_video_private_initialize()
241 if (priv->va_display) { in mix_video_private_cleanup()
242 va_status = vaTerminate(priv->va_display); in mix_video_private_cleanup()
247 priv->va_display = NULL; in mix_video_private_cleanup()
387 priv->va_display = vaGetDisplay(display); in mix_video_initialize_default()
390 if (!priv->va_display) { in mix_video_initialize_default()
397 va_status = vaInitialize(priv->va_display, &priv->va_major_version, in mix_video_initialize_default()
685 priv->va_display); in mix_video_configure_decode()
892 priv->va_display); in mix_video_configure_encode()
1205 va_status = vaPutSurface(priv->va_display, (VASurfaceID) va_surface_id, in mix_video_render_default()
Dmixvideoformat_vc1.c247 VADisplay va_display) { in mix_videofmt_vc1_initialize() argument
269 …L || config_params == NULL || frame_mgr == NULL || !input_buf_pool || !surface_pool || !va_display) in mix_videofmt_vc1_initialize()
283 va_display); in mix_videofmt_vc1_initialize()
371 vadisplay = parent->va_display; in mix_videofmt_vc1_initialize()
869 …vaStatus = vaCreateImage(mix->va_display, &va_image_format, ui32SrcWidth, ui32SrcHeight, &va_image… in GetImageFromSurface()
873 …vaStatus = vaGetImage( mix->va_display, frame->frame_id, 0, 0, ui32SrcWidth, ui32SrcHeight, va_ima… in GetImageFromSurface()
874 vaStatus = vaMapBuffer( mix->va_display, va_image.buf, (void **) &pBuffer); in GetImageFromSurface()
909 vaStatus = vaUnmapBuffer( mix->va_display, va_image.buf); in GetImageFromSurface()
1134 vadisplay = mix->va_display; in mix_videofmt_vc1_decode_a_picture()
Dmixvideoformat_vc1.h100 VADisplay va_display);
Dmixvideoformat_mp42.h99 VADisplay va_display);
Dmixvideoformat_h264.h96 VADisplay va_display);
Dmixvideoformatenc_mpeg4.h122 VADisplay va_display);
Dmixvideoformatenc_preview.h121 VADisplay va_display);
Dmixvideoformatenc_h264.h121 VADisplay va_display);
Dmixvideoformat_h264.c158 VADisplay va_display ) { in mix_videofmt_h264_initialize() argument
179 …NULL || config_params == NULL || frame_mgr == NULL || input_buf_pool == NULL || va_display == NULL) in mix_videofmt_h264_initialize()
192 va_display); in mix_videofmt_h264_initialize()
272 vadisplay = parent->va_display; in mix_videofmt_h264_initialize()
1135 vadisplay = mix->va_display; in mix_videofmt_h264_process_decode_picture()
/hardware/intel/common/libva/test/common/
DMakefile.am36 source_c = va_display.c
37 source_h = va_display.h
/hardware/intel/common/libva/test/encode/
DAndroid.mk9 ../common/va_display.c \
32 ../common/va_display.c \
/hardware/intel/common/libva/test/vainfo/
DAndroid.mk10 ../common/va_display.c \
/hardware/intel/common/libva/test/decode/
DAndroid.mk10 ../common/va_display.c \