Home | History | Annotate | Download | only in src

Lines Matching refs:share_info

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;
219 if (obj_surface && obj_surface->share_info) {
220 int transform = obj_surface->share_info->layer_transform;
240 if (obj_surface && obj_surface->share_info) {
241 if (obj_surface->share_info->hwc_timestamp > hwc_timestamp) {
242 hwc_timestamp = obj_surface->share_info->hwc_timestamp;
249 if (obj_surface && obj_surface->share_info) {
250 int transform = obj_surface->share_info->layer_transform;
424 if (obj_surface->share_info) {
425 psb_surface_share_info_p share_info = obj_surface->share_info;
429 share_info->bob_deinterlace = 1; //enable interlace flag
431 share_info->bob_deinterlace = 0;
467 static void clearScalingInfo(psb_surface_share_info_p share_info) {
468 if (share_info == NULL)
470 share_info->width_s = 0;
471 share_info->height_s = 0;
472 share_info->scaling_khandle = 0;
474 share_info->scaling_luma_stride = 0;
475 share_info->scaling_chroma_u_stride = 0;
476 share_info->scaling_chroma_v_stride = 0;
487 psb_surface_share_info_p share_info = obj_surface->share_info;
494 clearScalingInfo(share_info);
508 clearScalingInfo(share_info);
552 if (share_info != NULL) {
553 share_info->width_s = obj_surface->width_s;
554 share_info->height_s = obj_surface->height_s;
555 share_info->scaling_khandle =
558 share_info->scaling_luma_stride = psb_surface->stride;
559 share_info->scaling_chroma_u_stride = psb_surface->stride;
560 share_info->scaling_chroma_v_stride = psb_surface->stride;
589 psb_surface_share_info_p share_info = obj_surface->share_info;
638 share_info && share_info->out_loop_khandle) {
641 share_info->out_loop_khandle,
656 share_info && share_info->out_loop_khandle != 0) {
657 drv_debug_msg(VIDEO_DEBUG_GENERAL,"Create the surface from kbuf out_loop_khandle=%x!\n", share_info->out_loop_khandle);
662 share_info->out_loop_khandle,
734 if (share_info != NULL) {
735 share_info->width_r = rotate_surface->stride;
736 share_info->height_r = obj_surface->height_r;
737 share_info->out_loop_khandle =
739 share_info->metadata_rotate = VAROTATION2HAL(driver_data->va_rotate);
740 share_info->surface_rotate = VAROTATION2HAL(msvdx_rotate);
742 share_info->out_loop_luma_stride = rotate_surface->stride;
743 share_info->out_loop_chroma_u_stride = rotate_surface->stride;
744 share_info->out_loop_chroma_v_stride = rotate_surface->stride;
755 psb_surface_share_info_p share_info = obj_surface->share_info;
760 if (share_info && share_info->out_loop_khandle) {
761 drv_debug_msg(VIDEO_DEBUG_GENERAL,"psb_DestroyRotateBuffer out_loop_khandle=%x\n", share_info->out_loop_khandle);
762 vaStatus = psb_kbuffer_reference(driver_data, &psb_buf, share_info->out_loop_khandle);
766 share_info->out_loop_khandle = 0;