/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 | 55 VAStatus psb_DestroySurfaceGralloc(object_surface_p obj_surface) 59 buffer_handle_t handle = obj_surface->psb_surface->buf.handle; 66 obj_surface->width, obj_surface->height, (void **)&vaddr[GRALLOC_SUB_BUFFER0])){ 67 if (obj_surface->share_info && vaddr[GRALLOC_SUB_BUFFER1] == obj_surface->share_info) { 68 int metadata_rotate = obj_surface->share_info->metadata_rotate; 69 int surface_protected = obj_surface->share_info->surface_protected; 70 int force_output_method = obj_surface->share_info->force_output_method; 71 int bob_deinterlace = obj_surface->share_info->bob_deinterlace 141 object_surface_p obj_surface; local 228 object_surface_p obj_surface = SURFACE(surface_list[i]); local 299 object_surface_p obj_surface; local 442 object_surface_p obj_surface = SURFACE(surface_list[i]); local [all...] |
/hardware/intel/img/psb_video/src/ |
psb_surface_attrib.c | 143 object_surface_p obj_surface; 166 obj_surface = SURFACE(surfaceID); 167 CHECK_ALLOCATION(obj_surface); 169 MEMSET_OBJECT(obj_surface, struct object_surface_s); 181 obj_surface->surface_id = surfaceID; 183 obj_surface->context_id = -1; 184 obj_surface->width = width; 185 obj_surface->height = height; 186 obj_surface->subpictures = NULL; 187 obj_surface->subpic_count = 0 333 object_surface_p obj_surface; local 401 object_surface_p obj_surface = SURFACE(surface_list[i]); local 474 object_surface_p obj_surface; local 535 object_surface_p obj_surface = SURFACE(surfaceID); local 559 object_surface_p obj_surface; local 624 object_surface_p obj_surface = SURFACE(surfaceID); local 648 object_surface_p obj_surface; local 742 object_surface_p obj_surface = SURFACE(surfaceID); local [all...] |
pnw_rotate.c | 164 object_surface_p obj_surface = obj_context->current_render_target; local 203 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]); local 205 if (obj_surface && obj_surface->share_info) { 206 if (obj_surface->share_info->hwc_timestamp > hwc_timestamp) { 207 hwc_timestamp = obj_surface->share_info->hwc_timestamp; 213 object_surface_p obj_surface = SURFACE(obj_context->render_targets[index]); local 214 if (obj_surface && obj_surface->share_info) { 215 int transform = obj_surface->share_info->layer_transform 233 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]); local 243 object_surface_p obj_surface = SURFACE(obj_context->render_targets[index]); local 368 object_surface_p obj_surface = obj_context->current_render_target; local [all...] |
tng_yuv_processor.c | 236 object_surface_p obj_surface = SURFACE(vpp_params->surface); local 239 if (obj_surface == NULL){ 246 ctx->display_width = ((obj_surface->width + 0xf) & ~0xf); 247 ctx->display_height = ((obj_surface->height + 0xf) & ~0xf); 251 ctx->src_surface = obj_surface->psb_surface;
|
pnw_MPEG2.c | 671 object_surface_p obj_surface = ctx->obj_context->current_render_target; local 727 if (obj_surface->share_info) { 728 obj_surface->share_info->coded_width = ctx->coded_picture_width; 729 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 | 586 void psb__destroy_surface(psb_driver_data_p driver_data, object_surface_p obj_surface) 588 if (NULL != obj_surface) { 590 psb_SurfaceDeassociateSubpict(driver_data, obj_surface); 592 obj_surface->is_ref_surface = 0; 594 psb_surface_sync(obj_surface->psb_surface); 595 psb_surface_destroy(obj_surface->psb_surface); 597 if (obj_surface->out_loop_surface) { 598 psb_surface_destroy(obj_surface->out_loop_surface); 601 if (obj_surface->scaling_surface) { 602 psb_surface_destroy(obj_surface->scaling_surface) 810 object_surface_p obj_surface; local 875 object_surface_p obj_surface = SURFACE(surface_list[i]); local 909 object_surface_p obj_surface = SURFACE(surface_list[i]); local 920 object_surface_p obj_surface = SURFACE(surface_list[i]); local 1135 object_surface_p obj_surface = SURFACE(render_targets[i]); local 2037 object_surface_p obj_surface; local 2084 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]); local 2321 object_surface_p obj_surface; local 2420 object_surface_p obj_surface; local 2529 object_surface_p obj_surface; local 2695 object_surface_p obj_surface = SURFACE(surface); local 2737 object_surface_p obj_surface = SURFACE(surface); local 2758 object_surface_p obj_surface = SURFACE(surface); local 2788 object_surface_p obj_surface = SURFACE(surface); local 2816 object_surface_p obj_surface = SURFACE(surface); local 2994 object_surface_p obj_surface; local [all...] |
psb_output.c | 471 object_surface_p obj_surface = SURFACE(surface); local 475 CHECK_SURFACE(obj_surface); 478 if (obj_surface->is_ref_surface == 1 || obj_surface->is_ref_surface == 2) { 494 fourcc = obj_surface->psb_surface->extra_info[4]; 527 obj_buffer->psb_buffer = &obj_surface->psb_surface->buf; 528 obj_buffer->size = obj_surface->psb_surface->size; 538 obj_image->image.width = obj_surface->width; 539 obj_image->image.height = obj_surface->height; 540 obj_image->image.data_size = obj_surface->psb_surface->size 615 object_surface_p obj_surface = SURFACE(obj_image->derived_surface); local 879 object_surface_p obj_surface = SURFACE(surface); local 1022 object_surface_p obj_surface = SURFACE(surface); local 1194 object_surface_p obj_surface = SURFACE(surface); local 1554 object_surface_p obj_surface = SURFACE(subpic_surface->surface_id); local 1624 object_surface_p obj_surface = SURFACE(subpic_surface->surface_id); local 1738 object_surface_p obj_surface = SURFACE(target_surfaces[i]); local 1744 object_surface_p obj_surface = SURFACE(*surfaces); local 1815 object_surface_p obj_surface = SURFACE(*surfaces); local [all...] |
pnw_H264.c | 583 object_surface_p obj_surface = ctx->obj_context->current_render_target; local 647 if (obj_surface->share_info) { 648 obj_surface->share_info->coded_width = ctx->picture_width_samples_l; 649 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...] |