~thopiekar/arm-mali/libvdpau-sunxi

« back to all changes in this revision

Viewing changes to vdpau_private.h

  • Committer: Jens Kuske
  • Date: 2016-12-17 15:42:57 UTC
  • Revision ID: git-v1:ffad9ab982f3c133cb30d2d509f7ef2893744650
Remove unneeded reconstruct buffer

This reverts commit 162bfcc214fa1b6ef64e1d39298dd9dfe3681190
and replaces it by direct non-tiled output.

On H3 and newer all subengines are able to work without any tiled
buffer, not only the H.265 engine. This saves us some memory and
reduces complexity of video surfaces.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
        VdpYCbCrFormat source_format;
62
62
        yuv_data_t *yuv;
63
63
        int luma_size, chroma_size;
64
 
        cedrus_mem_t *rec;
65
64
        void *decoder_private;
66
65
        void (*decoder_private_free)(struct video_surface_ctx_struct *surface);
67
66
} video_surface_ctx_t;
180
179
void yuv_unref(yuv_data_t *yuv);
181
180
yuv_data_t *yuv_ref(yuv_data_t *yuv);
182
181
VdpStatus yuv_prepare(video_surface_ctx_t *video_surface);
183
 
VdpStatus rec_prepare(video_surface_ctx_t *video_surface);
184
182
 
185
183
typedef uint32_t VdpHandle;
186
184