Home | History | Annotate | Download | only in src

Lines Matching defs:obj_surface

145     object_surface_p obj_surface;
168 obj_surface = SURFACE(surfaceID);
169 CHECK_ALLOCATION(obj_surface);
171 MEMSET_OBJECT(obj_surface, struct object_surface_s);
183 obj_surface->surface_id = surfaceID;
185 obj_surface->context_id = -1;
186 obj_surface->width = width;
187 obj_surface->height = height;
188 obj_surface->subpictures = NULL;
189 obj_surface->subpic_count = 0;
190 obj_surface->derived_imgcnt = 0;
191 obj_surface->display_timestamp = 0;
195 object_heap_free(&driver_data->surface_heap, (object_base_p) obj_surface);
196 obj_surface->surface_id = VA_INVALID_SURFACE;
235 object_heap_free(&driver_data->surface_heap, (object_base_p) obj_surface);
236 obj_surface->surface_id = VA_INVALID_SURFACE;
246 obj_surface->psb_surface = psb_surface;
250 object_surface_p obj_surface = SURFACE(*surface);
251 psb__destroy_surface(driver_data, obj_surface);
335 object_surface_p obj_surface;
339 obj_surface = SURFACE(surfaceID);
340 if (NULL == obj_surface) {
345 MEMSET_OBJECT(obj_surface, struct object_surface_s);
347 obj_surface->surface_id = surfaceID;
349 obj_surface->context_id = -1;
350 obj_surface->width = width;
351 obj_surface->height = height;
352 obj_surface->width_r = width;
353 obj_surface->height_r = height;
354 obj_surface->height_origin = height_origin;
355 obj_surface->is_ref_surface = 0;
359 object_heap_free(&driver_data->surface_heap, (object_base_p) obj_surface);
360 obj_surface->surface_id = VA_INVALID_SURFACE;
383 object_heap_free(&driver_data->surface_heap, (object_base_p) obj_surface);
384 obj_surface->surface_id = VA_INVALID_SURFACE;
397 obj_surface->psb_surface = psb_surface;
404 object_surface_p obj_surface = SURFACE(surface_list[i]);
405 psb__destroy_surface(driver_data, obj_surface);
477 object_surface_p obj_surface;
481 obj_surface = SURFACE(surfaceID);
482 CHECK_ALLOCATION(obj_surface);
484 MEMSET_OBJECT(obj_surface, struct object_surface_s);
486 obj_surface->surface_id = surfaceID;
488 obj_surface->context_id = -1;
489 obj_surface->width = width;
490 obj_surface->height = height;
491 obj_surface->width_r = width;
492 obj_surface->height_r = height;
493 obj_surface->height_origin = height;
494 obj_surface->is_ref_surface = 0;
498 object_heap_free(&driver_data->surface_heap, (object_base_p) obj_surface);
499 obj_surface->surface_id = VA_INVALID_SURFACE;
521 object_heap_free(&driver_data->surface_heap, (object_base_p) obj_surface);
522 obj_surface->surface_id = VA_INVALID_SURFACE;
535 obj_surface->psb_surface = psb_surface;
539 object_surface_p obj_surface = SURFACE(surfaceID);
540 psb__destroy_surface(driver_data, obj_surface);
563 object_surface_p obj_surface;
580 obj_surface = SURFACE(surfaceID);
581 if (NULL == obj_surface) {
586 MEMSET_OBJECT(obj_surface, struct object_surface_s);
588 obj_surface->surface_id = surfaceID;
590 obj_surface->context_id = -1;
591 obj_surface->width = attribute_tpi->width;
592 obj_surface->height = attribute_tpi->height;
593 obj_surface->width_r = attribute_tpi->width;
594 obj_surface->height_r = attribute_tpi->height;
595 obj_surface->is_ref_surface = 0;
599 object_heap_free(&driver_data->surface_heap, (object_base_p) obj_surface);
600 obj_surface->surface_id = VA_INVALID_SURFACE;
612 obj_surface->psb_surface = psb_surface;
616 object_heap_free(&driver_data->surface_heap, (object_base_p) obj_surface);
617 obj_surface->surface_id = VA_INVALID_SURFACE;
625 obj_surface->psb_surface = psb_surface;
629 object_surface_p obj_surface = SURFACE(surfaceID);
630 psb__destroy_surface(driver_data, obj_surface);
653 object_surface_p obj_surface;
700 obj_surface = SURFACE(surfaceID);
701 if (NULL == obj_surface) {
707 MEMSET_OBJECT(obj_surface, struct object_surface_s);
709 obj_surface->surface_id = surfaceID;
711 obj_surface->context_id = -1;
712 obj_surface->width = attribute_tpi->width;
713 obj_surface->height = attribute_tpi->height;
714 obj_surface->width_r = attribute_tpi->width;
715 obj_surface->height_r = attribute_tpi->height;
716 obj_surface->is_ref_surface = 0;
720 object_heap_free(&driver_data->surface_heap, (object_base_p) obj_surface);
721 obj_surface->surface_id = VA_INVALID_SURFACE;
730 obj_surface->psb_surface = psb_surface;
734 object_heap_free(&driver_data->surface_heap, (object_base_p) obj_surface);
735 obj_surface->surface_id = VA_INVALID_SURFACE;
744 obj_surface->psb_surface = psb_surface;
748 object_surface_p obj_surface = SURFACE(surfaceID);
749 psb__destroy_surface(driver_data, obj_surface);