2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
16 /* Create/destroy static data structures. */
21 #include "type_aliases.h"
22 #include "vpx_scale/yv12config.h"
24 #include "vpx_ports/mem.h"
26 typedef void *VP8D_PTR
;
47 void vp8dx_initialize(void);
49 void vp8dx_set_setting(VP8D_PTR comp
, VP8D_SETTING oxst
, int x
);
51 int vp8dx_get_setting(VP8D_PTR comp
, VP8D_SETTING oxst
);
53 int vp8dx_receive_compressed_data(VP8D_PTR comp
, unsigned long size
, const unsigned char *dest
, INT64 time_stamp
);
54 int vp8dx_get_raw_frame(VP8D_PTR comp
, YV12_BUFFER_CONFIG
*sd
, INT64
*time_stamp
, INT64
*time_end_stamp
, vp8_ppflags_t
*flags
);
56 int vp8dx_get_reference(VP8D_PTR comp
, VP8_REFFRAME ref_frame_flag
, YV12_BUFFER_CONFIG
*sd
);
57 int vp8dx_set_reference(VP8D_PTR comp
, VP8_REFFRAME ref_frame_flag
, YV12_BUFFER_CONFIG
*sd
);
59 VP8D_PTR
vp8dx_create_decompressor(VP8D_CONFIG
*oxcf
);
61 void vp8dx_remove_decompressor(VP8D_PTR comp
);