Searched defs:obj_surface (Results 1 - 23 of 23) sorted by relevance

/hardware/intel/img/psb_video/src/
H A Dpsb_surface_attrib.h100 VAStatus psb_DestroySurfaceGralloc(object_surface_p obj_surface);
115 static VAStatus psb_DestroySurfaceGralloc(object_surface_p obj_surface) argument
H A Dpsb_surface_attrib.c141 object_surface_p obj_surface;
164 obj_surface = SURFACE(surfaceID);
165 CHECK_ALLOCATION(obj_surface);
167 MEMSET_OBJECT(obj_surface, struct object_surface_s);
179 obj_surface->surface_id = surfaceID;
181 obj_surface->context_id = -1;
182 obj_surface->width = width;
183 obj_surface->height = height;
184 obj_surface->subpictures = NULL;
185 obj_surface
331 object_surface_p obj_surface; local
400 object_surface_p obj_surface = SURFACE(surface_list[i]); local
473 object_surface_p obj_surface; local
535 object_surface_p obj_surface = SURFACE(surfaceID); local
559 object_surface_p obj_surface; local
627 object_surface_p obj_surface = SURFACE(surfaceID); local
651 object_surface_p obj_surface; local
746 object_surface_p obj_surface = SURFACE(surfaceID); local
[all...]
H A Dtng_vld_dec.c346 VAStatus vld_dec_allocate_colocated_buffer(context_DEC_p ctx, object_surface_p obj_surface, uint32_t size) argument
350 psb_surface_p surface = obj_surface->psb_surface;
H A Dtng_yuv_processor.c238 object_surface_p obj_surface = SURFACE(vpp_params->surface); local
241 if (obj_surface == NULL){
248 ctx->display_width = ((obj_surface->width + 0xf) & ~0xf);
249 ctx->display_height = ((obj_surface->height + 0xf) & ~0xf);
253 ctx->src_surface = obj_surface->psb_surface;
H A Dpnw_rotate.c169 object_surface_p obj_surface = obj_context->current_render_target; local
208 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]); local
210 if (obj_surface && obj_surface->share_info) {
211 if (obj_surface->share_info->hwc_timestamp > hwc_timestamp) {
212 hwc_timestamp = obj_surface->share_info->hwc_timestamp;
218 object_surface_p obj_surface = SURFACE(obj_context->render_targets[index]); local
219 if (obj_surface && obj_surface->share_info) {
220 int transform = obj_surface
238 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]); local
248 object_surface_p obj_surface = SURFACE(obj_context->render_targets[index]); local
373 object_surface_p obj_surface = obj_context->current_render_target; local
577 psb_CreateRotateSurface( object_context_p obj_context, object_surface_p obj_surface, int msvdx_rotate ) argument
744 psb_DestroyRotateBuffer( object_context_p obj_context, object_surface_p obj_surface) argument
[all...]
H A Dpnw_MPEG2.c714 object_surface_p obj_surface = ctx->obj_context->current_render_target; local
770 if (obj_surface->share_info) {
771 obj_surface->share_info->coded_width = ctx->coded_picture_width;
772 obj_surface->share_info->coded_height = ctx->coded_picture_height;
H A Dpnw_MPEG4.c1385 object_surface_p obj_surface = ctx->obj_context->current_render_target; local
1472 if (obj_surface->share_info) {
1473 obj_surface->share_info->coded_width = ctx->coded_picture_width;
1474 obj_surface->share_info->coded_height = ctx->coded_picture_height;
H A Dpsb_output.c472 object_surface_p obj_surface = SURFACE(surface); local
476 CHECK_SURFACE(obj_surface);
479 if (obj_surface->is_ref_surface == 1 || obj_surface->is_ref_surface == 2) {
495 fourcc = obj_surface->psb_surface->extra_info[4];
528 obj_buffer->psb_buffer = &obj_surface->psb_surface->buf;
529 obj_buffer->size = obj_surface->psb_surface->size;
539 obj_image->image.width = obj_surface->width;
540 obj_image->image.height = obj_surface->height;
541 obj_image->image.data_size = obj_surface
616 object_surface_p obj_surface = SURFACE(obj_image->derived_surface); local
880 object_surface_p obj_surface = SURFACE(surface); local
1023 object_surface_p obj_surface = SURFACE(surface); local
1195 object_surface_p obj_surface = SURFACE(surface); local
1278 psb__LinkSubpictIntoSurface( psb_driver_data_p driver_data, object_surface_p obj_surface, object_subpic_p obj_subpic, short src_x, short src_y, unsigned short src_w, unsigned short src_h, short dest_x, short dest_y, unsigned short dest_w, unsigned short dest_h, int update ) argument
1415 psb__DelinkSubpictFromSurface( object_surface_p obj_surface, VASubpictureID subpic_id ) argument
1555 object_surface_p obj_surface = SURFACE(subpic_surface->surface_id); local
1625 object_surface_p obj_surface = SURFACE(subpic_surface->surface_id); local
1739 object_surface_p obj_surface = SURFACE(target_surfaces[i]); local
1745 object_surface_p obj_surface = SURFACE(*surfaces); local
1816 object_surface_p obj_surface = SURFACE(*surfaces); local
[all...]
H A Dpsb_overlay.c849 object_surface_p obj_surface,
872 psb_surface = obj_surface->out_loop_surface;
873 width = obj_surface->width_r;
874 height = obj_surface->height_r;
895 psb_surface = obj_surface->out_loop_surface;
896 width = obj_surface->width_r;
897 height = obj_surface->height_r;
938 object_surface_p obj_surface; local
942 obj_surface = SURFACE(surface);
943 CHECK_SURFACE(obj_surface);
847 I830PutImageFlipRotateSurface( VADriverContextP ctx, object_surface_p obj_surface, int *src_w_new, int *src_h_new, int *width_new, int *height_new, psb_surface_p *psb_surface_new, int pipeId) argument
1039 object_surface_p obj_surface = SURFACE(surface); local
1453 object_surface_p obj_surface = SURFACE(surface); local
[all...]
H A Dpsb_texture.c469 object_surface_p obj_surface = SURFACE(surface); local
474 CHECK_SURFACE(obj_surface);
475 psb_surface = obj_surface->psb_surface;
535 object_surface_p obj_surface;
538 obj_surface = SURFACE(surface);
548 if (NULL == obj_surface) {
552 surface_subpic = (PsbVASurfaceRec *)obj_surface->subpictures;
637 if (subtitle == 1 && obj_surface->subpic_count) {
638 for (i = 0; i < obj_surface->subpic_count; i++) {
641 psb_calculate_subpic_size(obj_surface
[all...]
H A Dpnw_H264.c552 object_surface_p obj_surface = ctx->obj_context->current_render_target; local
616 if (obj_surface->share_info) {
617 obj_surface->share_info->coded_width = ctx->picture_width_samples_l;
618 obj_surface->share_info->coded_height = ctx->picture_height_samples_l;
H A Dpnw_VC1.c720 object_surface_p obj_surface = ctx->obj_context->current_render_target; local
811 if (obj_surface->share_info) {
812 obj_surface->share_info->coded_width = ctx->coded_picture_width;
813 obj_surface->share_info->coded_height = ctx->coded_picture_height;
H A Dpsb_drv_video.c590 void psb__destroy_surface(psb_driver_data_p driver_data, object_surface_p obj_surface) argument
592 if (NULL != obj_surface) {
594 psb_SurfaceDeassociateSubpict(driver_data, obj_surface);
596 obj_surface->is_ref_surface = 0;
598 psb_surface_sync(obj_surface->psb_surface);
599 psb_surface_destroy(obj_surface->psb_surface);
601 if (obj_surface->out_loop_surface) {
602 psb_surface_destroy(obj_surface->out_loop_surface);
605 if (obj_surface->scaling_surface) {
606 psb_surface_destroy(obj_surface
864 object_surface_p obj_surface; local
930 object_surface_p obj_surface = SURFACE(surface_list[i]); local
965 object_surface_p obj_surface = SURFACE(surface_list[i]); local
976 object_surface_p obj_surface = SURFACE(surface_list[i]); local
1173 object_surface_p obj_surface = SURFACE(render_targets[i]); local
2092 object_surface_p obj_surface; local
2178 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]); local
2356 psb__surface_usage( psb_driver_data_p driver_data, object_surface_p obj_surface, int *decode, int *encode, int *rc_enable, int *proc ) argument
2416 object_surface_p obj_surface; local
2515 object_surface_p obj_surface; local
2624 object_surface_p obj_surface; local
2790 object_surface_p obj_surface = SURFACE(surface); local
2832 object_surface_p obj_surface = SURFACE(surface); local
2853 object_surface_p obj_surface = SURFACE(surface); local
2883 object_surface_p obj_surface = SURFACE(surface); local
2911 object_surface_p obj_surface = SURFACE(surface); local
3089 object_surface_p obj_surface; local
[all...]
H A Dtng_VP8.c608 object_surface_p obj_surface = ctx->obj_context->current_render_target; local
609 psb_surface_p target_surface = obj_surface->psb_surface;
638 if (obj_surface->share_info) {
639 obj_surface->share_info->coded_width = ctx->pic_params->frame_width;
640 obj_surface->share_info->coded_height = ctx->pic_params->frame_height;
653 object_surface_p obj_surface = SURFACE(pic_params->current_picture);
654 if(obj_surface != ctx->obj_context->current_render_target)
1539 object_surface_p obj_surface = NULL; local
1540 if (!obj_surface)
1541 obj_surface
[all...]
/hardware/intel/img/psb_video/src/android/
H A Dpsb_output_android.c165 object_surface_p obj_surface; local
170 obj_surface = SURFACE(surface);
171 CHECK_SURFACE(obj_surface);
172 psb_surface = obj_surface->psb_surface;
178 obj_surface->width, obj_surface->height,
290 object_surface_p obj_surface;
316 obj_surface = SURFACE(surface);
317 if (obj_surface == NULL) {
337 psb_RecalcRotate(ctx, CONTEXT(obj_surface
477 object_surface_p obj_surface; local
[all...]
H A Dpsb_surface_gralloc.c58 VAStatus psb_DestroySurfaceGralloc(object_surface_p obj_surface) argument
62 buffer_handle_t handle = obj_surface->psb_surface->buf.handle;
70 obj_surface->width, obj_surface->height, (void **)&vaddr[GRALLOC_SUB_BUFFER0])){
71 if (obj_surface->share_info && vaddr[GRALLOC_SUB_BUFFER1] == obj_surface->share_info) {
72 int metadata_rotate = obj_surface->share_info->metadata_rotate;
73 int surface_protected = obj_surface->share_info->surface_protected;
74 int force_output_method = obj_surface->share_info->force_output_method;
75 int bob_deinterlace = obj_surface
146 object_surface_p obj_surface; local
236 object_surface_p obj_surface = SURFACE(surface_list[i]); local
306 object_surface_p obj_surface; local
487 object_surface_p obj_surface = SURFACE(surface_list[i]); local
[all...]
/hardware/intel/img/psb_video/src/x11/
H A Dpsb_ctexture.c242 object_surface_p obj_surface = SURFACE(surface); local
251 obj_surface = SURFACE(surface);
252 if (NULL == obj_surface) {
258 psb_surface = obj_surface->psb_surface;
259 surface_width = obj_surface->width;
260 surface_height = obj_surface->height;
262 psb_surface = obj_surface->out_loop_surface;
268 surface_width = obj_surface->width_r;
269 surface_height = obj_surface->height_r;
273 psb_surface = obj_surface
[all...]
H A Dpsb_x11.c149 object_surface_p obj_surface = SURFACE(surface); local
150 if (NULL == obj_surface) {
156 psb_surface_p psb_surface = obj_surface->psb_surface;
225 uint8_t *src_uv = surface_data + psb_surface->stride * (obj_surface->height + srcy / 2);
407 static int pnw_check_output_method(VADriverContextP ctx, object_surface_p obj_surface, int width, int height, int destw, int desth, Drawable draw) argument
436 || (IS_MRST(driver_data) && obj_surface->subpic_count > 0)
437 || (obj_surface->subpic_count && ((width > destw) || (height > desth)))
473 object_surface_p obj_surface; local
476 obj_surface = SURFACE(surface);
478 if (NULL == obj_surface) {
[all...]
H A Dpsb_xvva.c388 object_surface_p obj_surface = SURFACE(surface); local
392 if (obj_surface && obj_surface->psb_surface)
393 buf_pl = obj_surface->psb_surface->buf.pl_flags;
416 || (obj_surface->width > 1920) /* overlay have isue to support >1920xXXX resolution */
417 || (obj_surface->subpic_count > 0) /* overlay can't support subpicture */
469 object_surface_p obj_surface = SURFACE(surface); /* surface already checked */ local
499 if (obj_surface &&
500 ((output->output_width != obj_surface->width) ||
501 (output->output_height != obj_surface
682 object_surface_p obj_surface = SURFACE(surface); local
[all...]
H A Dpsb_coverlay.c538 object_surface_p obj_surface = SURFACE(surface); local
583 if (!obj_surface->subpictures &&
594 if ((!obj_surface->subpictures) &&
847 object_surface_p obj_surface
851 PsbVASurfaceRec *subpicture = (PsbVASurfaceRec *)obj_surface->subpictures;
901 object_surface_p obj_surface = SURFACE(surface); local
931 if (NULL == obj_surface) {
943 if (!obj_surface->subpictures && !driver_data->overlay_auto_paint_color_key) {
1255 if (!obj_surface->subpictures) {
1284 if (pPriv->is_mfld && obj_surface
[all...]
/hardware/intel/img/psb_video/src/mrst/
H A Dpsb_MPEG4.c552 static VAStatus psb__MPEG4_allocate_colocated_buffer(context_MPEG4_p ctx, object_surface_p obj_surface, uint32_t size) argument
554 psb_surface_p surface = obj_surface->psb_surface;
H A Dpsb_H264.c484 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]); local
487 if (NULL == obj_surface) {
493 psb_surface = obj_surface->psb_surface;
554 static VAStatus psb__H264_allocate_colocated_buffer(context_H264_p ctx, object_surface_p obj_surface, uint32_t size) argument
556 psb_surface_p surface = obj_surface->psb_surface;
H A Dpsb_VC1.c554 static VAStatus psb__VC1_allocate_colocated_buffer(context_VC1_p ctx, object_surface_p obj_surface, uint32_t size) argument
556 psb_surface_p surface = obj_surface->psb_surface;

Completed in 945 milliseconds