vp9_extend.h 1006 Bytes
Newer Older
John Koleszar's avatar
John Koleszar committed
1
/*
2
 *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
John Koleszar's avatar
John Koleszar committed
3
 *
4
 *  Use of this source code is governed by a BSD-style license
5 6
 *  that can be found in the LICENSE file in the root of the source
 *  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.
John Koleszar's avatar
John Koleszar committed
9 10
 */

11 12
#ifndef VP9_ENCODER_VP9_EXTEND_H_
#define VP9_ENCODER_VP9_EXTEND_H_
John Koleszar's avatar
John Koleszar committed
13 14

#include "vpx_scale/yv12config.h"
15
#include "vpx/vpx_integer.h"
John Koleszar's avatar
John Koleszar committed
16

17 18 19 20
#ifdef __cplusplus
extern "C" {
#endif

Dmitry Kovalev's avatar
Dmitry Kovalev committed
21
void vp9_copy_and_extend_frame(const YV12_BUFFER_CONFIG *src,
22
                               YV12_BUFFER_CONFIG *dst);
23

Dmitry Kovalev's avatar
Dmitry Kovalev committed
24
void vp9_copy_and_extend_frame_with_rect(const YV12_BUFFER_CONFIG *src,
25 26
                                         YV12_BUFFER_CONFIG *dst, int srcy,
                                         int srcx, int srch, int srcw);
27 28 29 30
#ifdef __cplusplus
}  // extern "C"
#endif

31
#endif  // VP9_ENCODER_VP9_EXTEND_H_