vp9_extend.h 961 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_COMMON_VP9_EXTEND_H_
#define VP9_COMMON_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

Dmitry Kovalev's avatar
Dmitry Kovalev committed
18
void vp9_copy_and_extend_frame(const YV12_BUFFER_CONFIG *src,
John Koleszar's avatar
John Koleszar committed
19
                               YV12_BUFFER_CONFIG *dst);
20

Dmitry Kovalev's avatar
Dmitry Kovalev committed
21
void vp9_copy_and_extend_frame_with_rect(const YV12_BUFFER_CONFIG *src,
22
23
24
                                         YV12_BUFFER_CONFIG *dst,
                                         int srcy, int srcx,
                                         int srch, int srcw);
25
#endif  // VP9_COMMON_VP9_EXTEND_H_