Searched refs:subpic_surface (Results 1 – 2 of 2) sorted by relevance
1383 subpic_surface_s *subpic_surface; in psb__LinkSurfaceIntoSubpict() local1387 subpic_surface = (subpic_surface_s *)obj_subpic->surfaces; in psb__LinkSurfaceIntoSubpict()1389 if (subpic_surface->surface_id == surface_id) { in psb__LinkSurfaceIntoSubpict()1393 subpic_surface = subpic_surface->next; in psb__LinkSurfaceIntoSubpict()1394 } while (subpic_surface); in psb__LinkSurfaceIntoSubpict()1398 subpic_surface = (subpic_surface_s *)calloc(1, sizeof(*subpic_surface)); in psb__LinkSurfaceIntoSubpict()1399 if (NULL == subpic_surface) in psb__LinkSurfaceIntoSubpict()1402 subpic_surface->surface_id = surface_id; in psb__LinkSurfaceIntoSubpict()1403 subpic_surface->next = NULL; in psb__LinkSurfaceIntoSubpict()1406 obj_subpic->surfaces = (void *)subpic_surface; in psb__LinkSurfaceIntoSubpict()[all …]
678 PsbVASurfaceRec *subpic_surface; in psb_putsurface_xvideo() local793 subpic_surface = obj_surface->subpictures; in psb_putsurface_xvideo()794 while (subpic_surface) { in psb_putsurface_xvideo()797 memcpy(tmp, subpic_surface, sizeof(*tmp)); in psb_putsurface_xvideo()802 if (subpic_surface->palette_ptr) in psb_putsurface_xvideo()803 memcpy(&tmp->palette[0], subpic_surface->palette_ptr, 16 * sizeof(PsbAYUVSample8)); in psb_putsurface_xvideo()805 subpic_surface = subpic_surface->next; in psb_putsurface_xvideo()