diff options
author | Sergey Lapin <slapin@ossfans.org> | 2010-03-22 18:13:56 +0300 |
---|---|---|
committer | Sergey Lapin <slapin@ossfans.org> | 2010-03-22 18:13:56 +0300 |
commit | 3937c88166a493900a694ea8fe53b860f4099d83 (patch) | |
tree | 57597245b6efd4cf27c1f4c9ff21c0515e530c15 /recipes/mplayer | |
parent | df2ace6d59e22b42e50bcf4e8a9c92b580602c2e (diff) | |
parent | 3510d2ed15a4b477aa7af802a839e11a87b981ed (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/mplayer')
-rw-r--r-- | recipes/mplayer/files/yuv.S | 57 | ||||
-rw-r--r-- | recipes/mplayer/mplayer_git.bb | 16 | ||||
-rw-r--r-- | recipes/mplayer/mplayer_svn.bb | 3 |
3 files changed, 60 insertions, 16 deletions
diff --git a/recipes/mplayer/files/yuv.S b/recipes/mplayer/files/yuv.S index 3eaf284a61..1cd2c1d936 100644 --- a/recipes/mplayer/files/yuv.S +++ b/recipes/mplayer/files/yuv.S @@ -22,6 +22,11 @@ DEALINGS IN THE SOFTWARE. */ + .macro mov32 rd, val + movw \rd, #:lower16:\val + movt \rd, #:upper16:\val + .endm + .fpu neon .text @@ -49,8 +54,9 @@ yuv420_to_yuv422: push {r4-r11,lr} add r4, sp, #36 +.Ldo_conv: ldm r4, {r4-r8} - dmb + push {r4} 1: mov tu, u mov tv, v @@ -102,7 +108,7 @@ yuv420_to_yuv422: add v, tv, #8 bgt 1b - ldr w, [sp, #36] + ldr w, [sp] subs h, h, #16 add yuv, yuv, dw, lsl #4 sub yuv, yuv, w, lsl #1 @@ -114,6 +120,51 @@ yuv420_to_yuv422: sub v, v, w, asr #1 bgt 1b - pop {r4-r11,pc} + pop {r3-r11,pc} + .endfunc + + .func neon_open +neon_open: + push {r4-r8,lr} + ldrd r4, r5, [r0, #16] + ldrd r6, r7, [r0, #24] + lsl r8, r4, #1 + mov32 r0, conv_params + stm r0, {r4-r8} + mov r0, #0 + pop {r4-r8,pc} + .endfunc + + .func neon_convert +neon_convert: + push {r4-r11,lr} + ldr r0, [r0] + mov32 r4, conv_params + ldm r1, {r1-r3} + b .Ldo_conv + .endfunc + + .func neon_nop +neon_nop: + bx lr .endfunc + .section .bss +conv_params: + .skip 5*4 + .size conv_params, . - conv_params + + .section .rodata +.Lname: .asciz "neon" +ofb_pixconv_neon: + .word .Lname + .word 0 @ flags + .word neon_open + .word neon_convert + .word neon_nop @ finish + .word neon_nop @ close + .size ofb_pixconv_neon, . - ofb_pixconv_neon + + .section .ofb_pixconv, "a" +ofb_pixconv_neon_p: + .word ofb_pixconv_neon diff --git a/recipes/mplayer/mplayer_git.bb b/recipes/mplayer/mplayer_git.bb index f3a5a582a7..c7696100d8 100644 --- a/recipes/mplayer/mplayer_git.bb +++ b/recipes/mplayer/mplayer_git.bb @@ -7,16 +7,10 @@ DEPENDS = "live555 libdvdread libtheora virtual/libsdl ffmpeg xsp zlib libpng jp RDEPENDS = "mplayer-common" LICENSE = "GPL" -SRC_URI = "git://repo.or.cz/mplayer.git;protocol=git;branch=master" -SRC_URI_om-gta02 = "git://repo.or.cz/mplayer/glamo.git;protocol=git;branch=master \ +SRC_URI = "git://repo.or.cz/mplayer/glamo.git;protocol=git;branch=master \ file://makefile-nostrip-svn.patch;patch=1 \ " -SRC_URI_append = " \ - file://pld-onlyarm5-svn.patch;patch=1 \ - file://makefile-nostrip-svn.patch;patch=1 \ - " - SRC_URI_append_armv7a = " \ file://omapfb.patch;patch=1 \ file://vo_omapfb.c \ @@ -29,8 +23,7 @@ SRC_URI_append_armv7a = " \ # ie. for all armv4 machines. SRC_URI_append_collie = "file://disable-executable-stack-test.patch;patch=1" -SRCREV_om-gta02 = "71807fcbb1eb35c337ef03f4f62d181963173550" -SRCREV = "e5bcd70bc5b0557635ae51c7093f0e887493d4ba" +SRCREV = "5b7a3c944e39b8dad17eeae2c3bdc038662f9352" PACKAGE_ARCH_collie = "collie" PACKAGE_ARCH_c7x0 = "c7x0" @@ -41,10 +34,10 @@ ARM_INSTRUCTION_SET = "ARM" RCONFLICTS_${PN} = "mplayer-atty" RREPLACES_${PN} = "mplayer-atty" -PV = "0.0+1.0rc3+gitr${SRCREV}" +PV = "0.0+1.0rc4+gitr${SRCREV}" PR = "r0" DEFAULT_PREFERENCE = "-1" -DEFAULT_PREFERENCE_om-gta02 = "1" +DEFAULT_PREFERENCE_shr = "2" PARALLEL_MAKE = "" @@ -137,7 +130,6 @@ EXTRA_OECONF = " \ --disable-dxr2 \ --disable-dxr3 \ --disable-dvb \ - --disable-dvbhead \ --disable-mga \ --disable-xmga \ --enable-xv \ diff --git a/recipes/mplayer/mplayer_svn.bb b/recipes/mplayer/mplayer_svn.bb index 60c9422a1c..dd94767167 100644 --- a/recipes/mplayer/mplayer_svn.bb +++ b/recipes/mplayer/mplayer_svn.bb @@ -39,9 +39,10 @@ RCONFLICTS_${PN} = "mplayer-atty" RREPLACES_${PN} = "mplayer-atty" PV = "0.0+1.0rc3+svnr${SRCPV}" -PR = "r17" +PR = "r19" DEFAULT_PREFERENCE = "-1" DEFAULT_PREFERENCE_angstrom = "1" +DEFAULT_PREFERENCE_shr = "1" PARALLEL_MAKE = "" |