2010-05-18 17:58:33 +02:00
|
|
|
/*
|
2010-09-09 14:16:39 +02:00
|
|
|
* Copyright (c) 2010 The WebM project authors. All Rights Reserved.
|
2010-05-18 17:58:33 +02:00
|
|
|
*
|
2010-06-18 18:39:21 +02:00
|
|
|
* Use of this source code is governed by a BSD-style license
|
2010-06-04 22:19:40 +02:00
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
2010-06-18 18:39:21 +02:00
|
|
|
* in the file PATENTS. All contributing project authors may
|
2010-06-04 22:19:40 +02:00
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
2010-05-18 17:58:33 +02:00
|
|
|
*/
|
|
|
|
|
2012-11-30 01:36:10 +01:00
|
|
|
#ifndef VP9_COMMON_VP9_EXTEND_H_
|
|
|
|
#define VP9_COMMON_VP9_EXTEND_H_
|
2010-05-18 17:58:33 +02:00
|
|
|
|
|
|
|
#include "vpx_scale/yv12config.h"
|
2012-12-19 00:31:19 +01:00
|
|
|
#include "vpx/vpx_integer.h"
|
2010-05-18 17:58:33 +02:00
|
|
|
|
2012-11-01 00:09:17 +01:00
|
|
|
|
2013-03-27 22:22:30 +01:00
|
|
|
void vp9_copy_and_extend_frame(const YV12_BUFFER_CONFIG *src,
|
2011-04-13 20:00:18 +02:00
|
|
|
YV12_BUFFER_CONFIG *dst);
|
2012-11-01 00:09:17 +01:00
|
|
|
|
2013-03-27 22:22:30 +01:00
|
|
|
void vp9_copy_and_extend_frame_with_rect(const YV12_BUFFER_CONFIG *src,
|
2011-08-09 21:59:45 +02:00
|
|
|
YV12_BUFFER_CONFIG *dst,
|
|
|
|
int srcy, int srcx,
|
|
|
|
int srch, int srcw);
|
2010-05-18 17:58:33 +02:00
|
|
|
|
2013-03-27 22:22:30 +01:00
|
|
|
void vp9_extend_mb_row(YV12_BUFFER_CONFIG *buf,
|
|
|
|
uint8_t *y, uint8_t *u, uint8_t *v);
|
|
|
|
|
|
|
|
|
2012-12-19 00:31:19 +01:00
|
|
|
#endif // VP9_COMMON_VP9_EXTEND_H_
|