Added decode debug of where we start the decode
This commit is contained in:
parent
d76bb7fbd2
commit
672f0e4535
@ -90,6 +90,10 @@ subroutine multimode_decoder(ss,id2,params,nfsample)
|
|||||||
id0=0
|
id0=0
|
||||||
imax=int(NTMAX*12000)
|
imax=int(NTMAX*12000)
|
||||||
|
|
||||||
|
if(params%syncStats) then
|
||||||
|
write(*,*) '<DecodeDebug> sync start', pos, sz
|
||||||
|
endif
|
||||||
|
|
||||||
if((imax-pos).lt.sz) then
|
if((imax-pos).lt.sz) then
|
||||||
! this means that the first part of the id0 is at the end of the buffer
|
! this means that the first part of the id0 is at the end of the buffer
|
||||||
! and the second half is at the beginning of the buffer
|
! and the second half is at the beginning of the buffer
|
||||||
@ -124,6 +128,10 @@ subroutine multimode_decoder(ss,id2,params,nfsample)
|
|||||||
id0=0
|
id0=0
|
||||||
imax=int(NTMAX*12000)
|
imax=int(NTMAX*12000)
|
||||||
|
|
||||||
|
if(params%syncStats) then
|
||||||
|
write(*,*) '<DecodeDebug> sync start', pos, sz
|
||||||
|
endif
|
||||||
|
|
||||||
if((imax-pos).lt.sz) then
|
if((imax-pos).lt.sz) then
|
||||||
! this means that the first part of the id0 is at the end of the buffer
|
! this means that the first part of the id0 is at the end of the buffer
|
||||||
! and the second half is at the beginning of the buffer
|
! and the second half is at the beginning of the buffer
|
||||||
@ -158,6 +166,10 @@ subroutine multimode_decoder(ss,id2,params,nfsample)
|
|||||||
id0=0
|
id0=0
|
||||||
imax=int(NTMAX*12000)
|
imax=int(NTMAX*12000)
|
||||||
|
|
||||||
|
if(params%syncStats) then
|
||||||
|
write(*,*) '<DecodeDebug> sync start', pos, sz
|
||||||
|
endif
|
||||||
|
|
||||||
if((imax-pos).lt.sz) then
|
if((imax-pos).lt.sz) then
|
||||||
! this means that the first part of the id0 is at the end of the buffer
|
! this means that the first part of the id0 is at the end of the buffer
|
||||||
! and the second half is at the beginning of the buffer
|
! and the second half is at the beginning of the buffer
|
||||||
@ -192,6 +204,10 @@ subroutine multimode_decoder(ss,id2,params,nfsample)
|
|||||||
id0=0
|
id0=0
|
||||||
imax=int(NTMAX*12000)
|
imax=int(NTMAX*12000)
|
||||||
|
|
||||||
|
if(params%syncStats) then
|
||||||
|
write(*,*) '<DecodeDebug> sync start', pos, sz
|
||||||
|
endif
|
||||||
|
|
||||||
if((imax-pos).lt.sz) then
|
if((imax-pos).lt.sz) then
|
||||||
! this means that the first part of the id0 is at the end of the buffer
|
! this means that the first part of the id0 is at the end of the buffer
|
||||||
! and the second half is at the beginning of the buffer
|
! and the second half is at the beginning of the buffer
|
||||||
@ -226,6 +242,10 @@ subroutine multimode_decoder(ss,id2,params,nfsample)
|
|||||||
id0=0
|
id0=0
|
||||||
imax=int(NTMAX*12000)
|
imax=int(NTMAX*12000)
|
||||||
|
|
||||||
|
if(params%syncStats) then
|
||||||
|
write(*,*) '<DecodeDebug> sync start', pos, sz
|
||||||
|
endif
|
||||||
|
|
||||||
if((imax-pos).lt.sz) then
|
if((imax-pos).lt.sz) then
|
||||||
! this means that the first part of the id0 is at the end of the buffer
|
! this means that the first part of the id0 is at the end of the buffer
|
||||||
! and the second half is at the beginning of the buffer
|
! and the second half is at the beginning of the buffer
|
||||||
|
Loading…
Reference in New Issue
Block a user