Lines Matching refs:vaimage
397 VAImage *vaimage;
405 vaimage = handle_table_get(drv->htab, image);
406 if (!vaimage) {
413 status = vlVaDestroyBuffer(ctx, vaimage->buf);
414 FREE(vaimage);
434 VAImage *vaimage;
453 vaimage = handle_table_get(drv->htab, image);
454 if (!vaimage) {
470 if (width > vaimage->width ||
471 height > vaimage->height) {
476 img_buf = handle_table_get(drv->htab, vaimage->buf);
482 format = VaFourccToPipeFormat(vaimage->format.fourcc);
514 for (i = 0; i < vaimage->num_planes; i++) {
515 data[i] = img_buf->data + vaimage->offsets[i];
516 pitches[i] = vaimage->pitches[i];
518 if (vaimage->format.fourcc == VA_FOURCC('I','4','2','0')) {
529 for (i = 0; i < vaimage->num_planes; i++) {
578 VAImage *vaimage;
596 vaimage = handle_table_get(drv->htab, image);
597 if (!vaimage) {
602 img_buf = handle_table_get(drv->htab, vaimage->buf);
614 format = VaFourccToPipeFormat(vaimage->format.fourcc);
648 for (i = 0; i < vaimage->num_planes; i++) {
649 data[i] = img_buf->data + vaimage->offsets[i];
650 pitches[i] = vaimage->pitches[i];
652 if (vaimage->format.fourcc == VA_FOURCC('I','4','2','0')) {
663 for (i = 0; i < vaimage->num_planes; ++i) {