vp9_extend.h 1.02 KB
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 15

#include "vpx_scale/yv12config.h"

16 17 18
void vp9_extend_mb_row(YV12_BUFFER_CONFIG *ybf, unsigned char *YPtr,
                       unsigned char *UPtr, unsigned char *VPtr);

19
void vp9_copy_and_extend_frame(YV12_BUFFER_CONFIG *src,
John Koleszar's avatar
John Koleszar committed
20
                               YV12_BUFFER_CONFIG *dst);
21

22
void vp9_copy_and_extend_frame_with_rect(YV12_BUFFER_CONFIG *src,
23 24 25
                                         YV12_BUFFER_CONFIG *dst,
                                         int srcy, int srcx,
                                         int srch, int srcw);
John Koleszar's avatar
John Koleszar committed
26

27
#endif  // __INC_EXTEND_H