Lines Matching refs:vaimage
282 VAImage *vaimage;
290 vaimage = handle_table_get(drv->htab, image);
291 if (!vaimage) {
298 status = vlVaDestroyBuffer(ctx, vaimage->buf);
299 FREE(vaimage);
319 VAImage *vaimage;
338 vaimage = handle_table_get(drv->htab, image);
339 if (!vaimage) {
344 img_buf = handle_table_get(drv->htab, vaimage->buf);
350 format = VaFourccToPipeFormat(vaimage->format.fourcc);
375 for (i = 0; i < vaimage->num_planes; i++) {
376 data[i] = img_buf->data + vaimage->offsets[i];
377 pitches[i] = vaimage->pitches[i];
379 if (vaimage->format.fourcc == VA_FOURCC('I','4','2','0')) {
390 for (i = 0; i < vaimage->num_planes; i++) {
431 VAImage *vaimage;
449 vaimage = handle_table_get(drv->htab, image);
450 if (!vaimage) {
455 img_buf = handle_table_get(drv->htab, vaimage->buf);
467 format = VaFourccToPipeFormat(vaimage->format.fourcc);
499 for (i = 0; i < vaimage->num_planes; i++) {
500 data[i] = img_buf->data + vaimage->offsets[i];
501 pitches[i] = vaimage->pitches[i];
503 if (vaimage->format.fourcc == VA_FOURCC('I','4','2','0')) {
514 for (i = 0; i < vaimage->num_planes; ++i) {