#include "i965_render.h"
#include "i965_yuv_coefs.h"
#include "intel_media.h"
+#include "intel_gen_vppapi.h"
#include "gen75_picture_process.h"
int fourcc = pp_get_surface_fourcc(ctx, dst_surface);
VAStatus vaStatus;
+ vaStatus = intel_common_scaling_post_processing(ctx,
+ pp_context,
+ src_surface,
+ src_rect,
+ dst_surface,
+ dst_rect);
+
+ if (vaStatus != VA_STATUS_ERROR_UNIMPLEMENTED)
+ return vaStatus;
+
switch (fourcc) {
case VA_FOURCC_NV12:
vaStatus = i965_post_processing_internal(ctx, i965->pp_context,
int fourcc = pp_get_surface_fourcc(ctx, dst_surface);
VAStatus vaStatus = VA_STATUS_ERROR_UNIMPLEMENTED;
+ vaStatus = intel_common_scaling_post_processing(ctx,
+ pp_context,
+ src_surface,
+ src_rect,
+ dst_surface,
+ dst_rect);
+
+ if (vaStatus != VA_STATUS_ERROR_UNIMPLEMENTED)
+ return vaStatus;
+
switch (fourcc) {
case VA_FOURCC_NV12:
vaStatus = i965_post_processing_internal(ctx, i965->pp_context,
int fourcc = pp_get_surface_fourcc(ctx, dst_surface);
VAStatus vaStatus = VA_STATUS_ERROR_UNIMPLEMENTED;
+ vaStatus = intel_common_scaling_post_processing(ctx,
+ pp_context,
+ src_surface,
+ src_rect,
+ dst_surface,
+ dst_rect);
+
+ if (vaStatus != VA_STATUS_ERROR_UNIMPLEMENTED)
+ return vaStatus;
+
switch (fourcc) {
case VA_FOURCC_NV12:
vaStatus = i965_post_processing_internal(ctx, i965->pp_context,
int fourcc = pp_get_surface_fourcc(ctx, dst_surface);
VAStatus vaStatus;
+ vaStatus = intel_common_scaling_post_processing(ctx,
+ pp_context,
+ src_surface,
+ src_rect,
+ dst_surface,
+ dst_rect);
+
+ if (vaStatus != VA_STATUS_ERROR_UNIMPLEMENTED)
+ return vaStatus;
+
switch (fourcc) {
case VA_FOURCC_NV12:
vaStatus = i965_post_processing_internal(ctx, i965->pp_context,
VAStatus vaStatus = VA_STATUS_ERROR_UNIMPLEMENTED;
int vpp_post = 0;
+ vaStatus = intel_common_scaling_post_processing(ctx,
+ pp_context,
+ src_surface,
+ src_rect,
+ dst_surface,
+ dst_rect);
+
+ if (vaStatus != VA_STATUS_ERROR_UNIMPLEMENTED)
+ return vaStatus;
+
if (HAS_VPP_P010(i965)) {
vpp_post = 0;
switch (fourcc) {