Lines Matching defs:vaimage
436 VAImage *vaimage;
444 vaimage = handle_table_get(drv->htab, image);
445 if (!vaimage) {
452 status = vlVaDestroyBuffer(ctx, vaimage->buf);
453 FREE(vaimage);
473 VAImage *vaimage;
492 vaimage = handle_table_get(drv->htab, image);
493 if (!vaimage) {
509 if (width > vaimage->width ||
510 height > vaimage->height) {
515 img_buf = handle_table_get(drv->htab, vaimage->buf);
521 format = VaFourccToPipeFormat(vaimage->format.fourcc);
553 for (i = 0; i < vaimage->num_planes; i++) {
554 data[i] = img_buf->data + vaimage->offsets[i];
555 pitches[i] = vaimage->pitches[i];
557 if (vaimage->format.fourcc == VA_FOURCC('I','4','2','0')) {
568 for (i = 0; i < vaimage->num_planes; i++) {
617 VAImage *vaimage;
635 vaimage = handle_table_get(drv->htab, image);
636 if (!vaimage) {
641 img_buf = handle_table_get(drv->htab, vaimage->buf);
653 format = VaFourccToPipeFormat(vaimage->format.fourcc);
687 for (i = 0; i < vaimage->num_planes; i++) {
688 data[i] = img_buf->data + vaimage->offsets[i];
689 pitches[i] = vaimage->pitches[i];
691 if (vaimage->format.fourcc == VA_FOURCC('I','4','2','0')) {
702 for (i = 0; i < vaimage->num_planes; ++i) {