/hardware/intel/img/psb_video/src/android/ |
psb_output_android.c | 165 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->context_id)) 477 object_surface_p obj_surface; local [all...] |
psb_surface_gralloc.c | 58 VAStatus psb_DestroySurfaceGralloc(object_surface_p obj_surface) 62 buffer_handle_t handle = obj_surface->psb_surface->buf.handle; 71 obj_surface->width, obj_surface->height, (void **)&vaddr[GRALLOC_SUB_BUFFER0])){ 72 if (obj_surface->share_info && vaddr[GRALLOC_SUB_BUFFER1] == obj_surface->share_info) { 73 int metadata_rotate = obj_surface->share_info->metadata_rotate; 74 int surface_protected = obj_surface->share_info->surface_protected; 75 int force_output_method = obj_surface->share_info->force_output_method; 76 int bob_deinterlace = obj_surface->share_info->bob_deinterlace 150 object_surface_p obj_surface; local 240 object_surface_p obj_surface = SURFACE(surface_list[i]); local 310 object_surface_p obj_surface; local 494 object_surface_p obj_surface = SURFACE(surface_list[i]); local [all...] |
/hardware/intel/img/psb_video/src/ |
psb_surface_attrib.c | 141 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->subpic_count = 0 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...] |
tng_yuv_processor.c | 243 object_surface_p obj_surface = SURFACE(vpp_params->surface); local 246 if (obj_surface == NULL){ 253 ctx->display_width = ((obj_surface->width + 0xf) & ~0xf); 254 ctx->display_height = ((obj_surface->height + 0xf) & ~0xf); 258 ctx->src_surface = obj_surface->psb_surface;
|
pnw_rotate.c | 169 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->share_info->layer_transform 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 [all...] |
pnw_MPEG2.c | 714 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; [all...] |
psb_overlay.c | 849 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); 1039 object_surface_p obj_surface = SURFACE(surface); local 1453 object_surface_p obj_surface = SURFACE(surface); local [all...] |
psb_texture.c | 469 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->width, obj_surface->height, dst_w, dst_h, surface_subpic) [all...] |
pnw_MPEG4.c | 1385 object_surface_p obj_surface = ctx->obj_context->current_render_target; local [all...] |
psb_drv_video.c | 590 void psb__destroy_surface(psb_driver_data_p driver_data, object_surface_p obj_surface) 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->scaling_surface) 880 object_surface_p obj_surface; local 946 object_surface_p obj_surface = SURFACE(surface_list[i]); local 981 object_surface_p obj_surface = SURFACE(surface_list[i]); local 992 object_surface_p obj_surface = SURFACE(surface_list[i]); local 1189 object_surface_p obj_surface = SURFACE(render_targets[i]); local 2151 object_surface_p obj_surface; local 2243 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]); local 2481 object_surface_p obj_surface; local 2580 object_surface_p obj_surface; local 2689 object_surface_p obj_surface; local 2857 object_surface_p obj_surface = SURFACE(surface); local 2899 object_surface_p obj_surface = SURFACE(surface); local 2920 object_surface_p obj_surface = SURFACE(surface); local 2950 object_surface_p obj_surface = SURFACE(surface); local 2978 object_surface_p obj_surface = SURFACE(surface); local 3156 object_surface_p obj_surface; local [all...] |
psb_output.c | 472 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->psb_surface->size 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 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...] |
pnw_H264.c | 552 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; [all...] |
pnw_VC1.c | 720 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; [all...] |
tng_VP8.c | 608 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 [all...] |
/hardware/intel/img/psb_video/src/x11/ |
psb_ctexture.c | 242 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->psb_surface [all...] |
psb_x11.c | 149 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) 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...] |
psb_xvva.c | 388 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->height) | 682 object_surface_p obj_surface = SURFACE(surface); local [all...] |
psb_coverlay.c | 538 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 [all...] |
/hardware/intel/img/psb_video/src/mrst/ |
psb_H264.c | 484 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) 556 psb_surface_p surface = obj_surface->psb_surface; [all...] |