diff options
| author | Christoph Berg <myon@debian.org> | 2025-01-09 22:12:06 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-01-09 22:12:06 +0100 |
| commit | 992d4b4b8d3f3a630a2cf00d593ee4ce4dfa7ce8 (patch) | |
| tree | fbfdfe6bcb0a8a114be2480dac53d88c977e4869 /lib/superfox/qpc/qpc_mod.f90 | |
| parent | 4320ce238aae1fe87fc9f379cdd816e9317885fa (diff) | |
New upstream version 2.7.0~rc8+repackupstream/2.7.0_rc8+repack
Diffstat (limited to 'lib/superfox/qpc/qpc_mod.f90')
| -rwxr-xr-x | lib/superfox/qpc/qpc_mod.f90 | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/lib/superfox/qpc/qpc_mod.f90 b/lib/superfox/qpc/qpc_mod.f90 index 069c77b1..931e5b3d 100755 --- a/lib/superfox/qpc/qpc_mod.f90 +++ b/lib/superfox/qpc/qpc_mod.f90 @@ -1,38 +1,38 @@ -module qpc_mod
- interface
- integer(c_int32_t) function nhash2 (xin, length, initval) bind(C, &
- name="nhash2")
- use iso_c_binding, only: c_signed_char, c_int64_t, c_int32_t
- integer(c_int64_t), intent(in), value :: length
- integer(c_signed_char), intent(in) :: xin(length)
- integer(c_int32_t), intent(in), value :: initval
- end function nhash2
- end interface
-
- interface
- subroutine qpc_encode(y, xin) bind(C,name="qpc_encode")
- use iso_c_binding, only: c_ptr, c_signed_char
- integer(c_signed_char), intent(out) :: y(127)
- integer(c_signed_char), intent(in) :: xin(50)
- end subroutine qpc_encode
- end interface
-
- interface
- subroutine qpc_channel(yout, y, EsNo) bind(C,name="qpc_channel")
- use iso_c_binding, only: c_float_complex, c_float, c_signed_char
- complex(c_float_complex), intent(out) :: yout(128,128)
- integer(c_signed_char), intent(out) :: y(127)
- real(c_float), intent(in), value :: EsNo
- end subroutine qpc_channel
- end interface
-
- interface
- subroutine qpc_decode(xdec, ydec, py) bind(C,name="qpc_decode")
- use iso_c_binding, only: c_float, c_signed_char
- real(c_float), intent(in) :: py(128,128)
- integer(c_signed_char), intent(out) :: ydec(127)
- integer(c_signed_char), intent(out) :: xdec(50)
- end subroutine qpc_decode
- end interface
-
-end module qpc_mod
+module qpc_mod + interface + integer(c_int32_t) function nhash2 (xin, length, initval) bind(C, & + name="nhash2") + use iso_c_binding, only: c_signed_char, c_int64_t, c_int32_t + integer(c_int64_t), intent(in), value :: length + integer(c_signed_char), intent(in) :: xin(length) + integer(c_int32_t), intent(in), value :: initval + end function nhash2 + end interface + + interface + subroutine qpc_encode(y, xin) bind(C,name="qpc_encode") + use iso_c_binding, only: c_ptr, c_signed_char + integer(c_signed_char), intent(out) :: y(127) + integer(c_signed_char), intent(in) :: xin(50) + end subroutine qpc_encode + end interface + + interface + subroutine qpc_channel(yout, y, EsNo) bind(C,name="qpc_channel") + use iso_c_binding, only: c_float_complex, c_float, c_signed_char + complex(c_float_complex), intent(out) :: yout(128,128) + integer(c_signed_char), intent(out) :: y(127) + real(c_float), intent(in), value :: EsNo + end subroutine qpc_channel + end interface + + interface + subroutine qpc_decode(xdec, ydec, py) bind(C,name="qpc_decode") + use iso_c_binding, only: c_float, c_signed_char + real(c_float), intent(in) :: py(128,128) + integer(c_signed_char), intent(out) :: ydec(127) + integer(c_signed_char), intent(out) :: xdec(50) + end subroutine qpc_decode + end interface + +end module qpc_mod |
