Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
libvpx
Commits
514e1c93
Commit
514e1c93
authored
Dec 03, 2012
by
Johann
Committed by
Gerrit Code Review
Dec 03, 2012
Browse files
Merge "Update ARM for vpx_scale changes" into experimental
parents
271d635c
0d793ccf
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
49 additions
and
25 deletions
+49
-25
libs.mk
libs.mk
+1
-1
vp8/common/asm_com_offsets.c
vp8/common/asm_com_offsets.c
+0
-19
vpx_scale/arm/neon/vp8_vpxyv12_copy_y_neon.asm
vpx_scale/arm/neon/vp8_vpxyv12_copy_y_neon.asm
+1
-1
vpx_scale/arm/neon/vp8_vpxyv12_copyframe_func_neon.asm
vpx_scale/arm/neon/vp8_vpxyv12_copyframe_func_neon.asm
+1
-1
vpx_scale/arm/neon/vp8_vpxyv12_copysrcframe_func_neon.asm
vpx_scale/arm/neon/vp8_vpxyv12_copysrcframe_func_neon.asm
+1
-1
vpx_scale/arm/neon/vp8_vpxyv12_extendframeborders_neon.asm
vpx_scale/arm/neon/vp8_vpxyv12_extendframeborders_neon.asm
+1
-1
vpx_scale/arm/neon/yv12extend_arm.c
vpx_scale/arm/neon/yv12extend_arm.c
+1
-1
vpx_scale/vpx_scale.mk
vpx_scale/vpx_scale.mk
+3
-0
vpx_scale/vpx_scale_asm_offsets.c
vpx_scale/vpx_scale_asm_offsets.c
+40
-0
No files found.
libs.mk
View file @
514e1c93
...
...
@@ -80,7 +80,7 @@ ifeq ($(CONFIG_VP8_ENCODER),yes)
CODEC_SRCS-yes
+=
$(
addprefix
$(VP8_PREFIX)
,
$(
call
enabled,VP8_CX_SRCS
))
CODEC_EXPORTS-yes
+=
$(
addprefix
$(VP8_PREFIX)
,
$(VP8_CX_EXPORTS)
)
CODEC_SRCS-yes
+=
$(VP8_PREFIX)
vp8cx.mk vpx/vp8.h vpx/vp8cx.h
CODEC_SRCS-$(ARCH_ARM)
+=
$(VP8_PREFIX)
vp8
8
cx_arm.mk
CODEC_SRCS-$(ARCH_ARM)
+=
$(VP8_PREFIX)
vp8cx_arm.mk
INSTALL-LIBS-yes
+=
include/vpx/vp8.h include/vpx/vp8cx.h
INSTALL_MAPS
+=
include/vpx/%
$(SRC_PATH_BARE)
/
$(VP8_PREFIX)
/%
CODEC_DOC_SRCS
+=
vpx/vp8.h vpx/vp8cx.h
...
...
vp8/common/asm_com_offsets.c
View file @
514e1c93
...
...
@@ -12,7 +12,6 @@
#include "vpx_config.h"
#include "vpx/vpx_codec.h"
#include "vpx_ports/asm_offsets.h"
#include "vpx_scale/yv12config.h"
#include "vp8/common/blockd.h"
#if CONFIG_POSTPROC
...
...
@@ -21,19 +20,6 @@
BEGIN
/* vpx_scale */
DEFINE
(
yv12_buffer_config_y_width
,
offsetof
(
YV12_BUFFER_CONFIG
,
y_width
));
DEFINE
(
yv12_buffer_config_y_height
,
offsetof
(
YV12_BUFFER_CONFIG
,
y_height
));
DEFINE
(
yv12_buffer_config_y_stride
,
offsetof
(
YV12_BUFFER_CONFIG
,
y_stride
));
DEFINE
(
yv12_buffer_config_uv_width
,
offsetof
(
YV12_BUFFER_CONFIG
,
uv_width
));
DEFINE
(
yv12_buffer_config_uv_height
,
offsetof
(
YV12_BUFFER_CONFIG
,
uv_height
));
DEFINE
(
yv12_buffer_config_uv_stride
,
offsetof
(
YV12_BUFFER_CONFIG
,
uv_stride
));
DEFINE
(
yv12_buffer_config_y_buffer
,
offsetof
(
YV12_BUFFER_CONFIG
,
y_buffer
));
DEFINE
(
yv12_buffer_config_u_buffer
,
offsetof
(
YV12_BUFFER_CONFIG
,
u_buffer
));
DEFINE
(
yv12_buffer_config_v_buffer
,
offsetof
(
YV12_BUFFER_CONFIG
,
v_buffer
));
DEFINE
(
yv12_buffer_config_border
,
offsetof
(
YV12_BUFFER_CONFIG
,
border
));
DEFINE
(
VP8BORDERINPIXELS_VAL
,
VP8BORDERINPIXELS
);
#if CONFIG_POSTPROC
/* mfqe.c / filter_by_weight */
DEFINE
(
MFQE_PRECISION_VAL
,
MFQE_PRECISION
);
...
...
@@ -58,11 +44,6 @@ ct_assert(B_HD_PRED, B_HD_PRED == 8);
ct_assert
(
B_HU_PRED
,
B_HU_PRED
==
9
);
#endif
#if HAVE_NEON
/* vp8_yv12_extend_frame_borders_neon makes several assumptions based on this */
ct_assert
(
VP8BORDERINPIXELS_VAL
,
VP8BORDERINPIXELS
==
32
)
#endif
#if HAVE_SSE2
#if CONFIG_POSTPROC
/* vp8_filter_by_weight16x16 and 8x8 */
...
...
vpx_scale/arm/neon/vp8_vpxyv12_copy_y_neon.asm
View file @
514e1c93
...
...
@@ -15,7 +15,7 @@
REQUIRE8
PRESERVE8
INCLUDE
asm_co
m_offsets.asm
INCLUDE
vpx_scale_as
m_offsets.asm
AREA
||
.text
||
,
CODE
,
READONLY
,
AL
IGN
=
2
...
...
vpx_scale/arm/neon/vp8_vpxyv12_copyframe_func_neon.asm
View file @
514e1c93
...
...
@@ -14,7 +14,7 @@
REQUIRE8
PRESERVE8
INCLUDE
asm_co
m_offsets.asm
INCLUDE
vpx_scale_as
m_offsets.asm
AREA
||
.text
||
,
CODE
,
READONLY
,
AL
IGN
=
2
...
...
vpx_scale/arm/neon/vp8_vpxyv12_copysrcframe_func_neon.asm
View file @
514e1c93
...
...
@@ -14,7 +14,7 @@
REQUIRE8
PRESERVE8
INCLUDE
asm_co
m_offsets.asm
INCLUDE
vpx_scale_as
m_offsets.asm
AREA
||
.text
||
,
CODE
,
READONLY
,
AL
IGN
=
2
;Note: This function is used to copy source data in src_buffer[i] at beginning of
...
...
vpx_scale/arm/neon/vp8_vpxyv12_extendframeborders_neon.asm
View file @
514e1c93
...
...
@@ -14,7 +14,7 @@
REQUIRE8
PRESERVE8
INCLUDE
asm_co
m_offsets.asm
INCLUDE
vpx_scale_as
m_offsets.asm
AREA
||
.text
||
,
CODE
,
READONLY
,
AL
IGN
=
2
;void vp8_yv12_extend_frame_borders_neon (YV12_BUFFER_CONFIG *ybf);
...
...
vpx_scale/arm/neon/yv12extend_arm.c
View file @
514e1c93
...
...
@@ -8,7 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "./vpx_rtcd.h"
#include "./vpx_
scale_
rtcd.h"
extern
void
vp8_yv12_copy_frame_func_neon
(
struct
yv12_buffer_config
*
src_ybc
,
struct
yv12_buffer_config
*
dst_ybc
);
...
...
vpx_scale/vpx_scale.mk
View file @
514e1c93
...
...
@@ -17,4 +17,7 @@ SCALE_SRCS-$(HAVE_NEON) += arm/neon/yv12extend_arm.c
SCALE_SRCS-no
+=
$
(
SCALE_SRCS_REMOVE-yes
)
$(eval
$(call
asm_offsets_template,\
vpx_scale_asm_offsets.asm,
vpx_scale/vpx_scale_asm_offsets.c))
$(eval
$(call
rtcd_h_template,vpx_scale_rtcd,vpx_scale/vpx_scale_rtcd.sh))
vpx_scale/vpx_scale_asm_offsets.c
0 → 100644
View file @
514e1c93
/*
* Copyright (c) 2011 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#include "./vpx_config.h"
#include "vpx/vpx_codec.h"
#include "vpx_ports/asm_offsets.h"
#include "vpx_scale/yv12config.h"
BEGIN
/* vpx_scale */
DEFINE
(
yv12_buffer_config_y_width
,
offsetof
(
YV12_BUFFER_CONFIG
,
y_width
));
DEFINE
(
yv12_buffer_config_y_height
,
offsetof
(
YV12_BUFFER_CONFIG
,
y_height
));
DEFINE
(
yv12_buffer_config_y_stride
,
offsetof
(
YV12_BUFFER_CONFIG
,
y_stride
));
DEFINE
(
yv12_buffer_config_uv_width
,
offsetof
(
YV12_BUFFER_CONFIG
,
uv_width
));
DEFINE
(
yv12_buffer_config_uv_height
,
offsetof
(
YV12_BUFFER_CONFIG
,
uv_height
));
DEFINE
(
yv12_buffer_config_uv_stride
,
offsetof
(
YV12_BUFFER_CONFIG
,
uv_stride
));
DEFINE
(
yv12_buffer_config_y_buffer
,
offsetof
(
YV12_BUFFER_CONFIG
,
y_buffer
));
DEFINE
(
yv12_buffer_config_u_buffer
,
offsetof
(
YV12_BUFFER_CONFIG
,
u_buffer
));
DEFINE
(
yv12_buffer_config_v_buffer
,
offsetof
(
YV12_BUFFER_CONFIG
,
v_buffer
));
DEFINE
(
yv12_buffer_config_border
,
offsetof
(
YV12_BUFFER_CONFIG
,
border
));
DEFINE
(
VP8BORDERINPIXELS_VAL
,
VP8BORDERINPIXELS
);
END
/* add asserts for any offset that is not supported by assembly code */
/* add asserts for any size that is not supported by assembly code */
#if HAVE_NEON
/* vp8_yv12_extend_frame_borders_neon makes several assumptions based on this */
ct_assert
(
VP8BORDERINPIXELS_VAL
,
VP8BORDERINPIXELS
==
32
)
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment