* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
- * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR
+ * IN NO EVENT SHALL VMWARE AND/OR ITS SUPPLIERS BE LIABLE FOR
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "util/u_debug.h"
#include "util/u_math.h"
-#include "util/u_rect.h"
#include "vl/vl_csc.h"
#include "vl/vl_compositor.h"
#define BLOCK_SIZE_SAMPLES 64
#define BLOCK_SIZE_BYTES (BLOCK_SIZE_SAMPLES * 2)
-struct pipe_video_decoder;
+struct pipe_video_codec;
struct pipe_video_buffer;
struct pipe_sampler_view;
{
struct vl_screen *vscreen;
struct pipe_context *pipe;
- struct pipe_video_decoder *decoder;
+ struct pipe_video_codec *decoder;
enum VL_CSC_COLOR_STANDARD color_standard;
struct vl_procamp procamp;
struct vl_compositor compositor;
+ struct vl_compositor_state cstate;
unsigned short subpicture_max_width;
unsigned short subpicture_max_height;
- struct pipe_video_rect dst_rect;
- struct pipe_surface *drawable_surface;
- struct u_rect dirty_area;
-
} XvMCContextPrivate;
typedef struct
/* optional palette for this subpicture */
struct pipe_sampler_view *palette;
- struct pipe_video_rect src_rect;
- struct pipe_video_rect dst_rect;
+ struct u_rect src_rect;
+ struct u_rect dst_rect;
/* The surface this subpicture is currently associated with, if any. */
XvMCSurface *surface;