FFmpeg
|
Go to the source code of this file.
Functions | |
location of | peak (zero-based indexing) |
loc<=1||loc >=hN-1 | continue () |
main | lobe (real value) bins to read lmag |
spectrum bins to | fill (1-based indexing) for m |
elseif (b(m)>hN)%peak lobe croses Nyquist bin Y(2 *hN-b(m)) | |
else peak lobe in positive freq range | Y (b(m)) |
end end | Y (hN+1:end) |
Variables | |
function | Y |
function | ipmag |
function | ipphase |
function magnitudes and | phases |
function magnitudes and | N |
Y | __pad0__ |
Y initialize output spectrum | hN = N/2+1 |
size of positive freq spectrum for | i =1:length(ploc) |
generate all sine spectral lobes | loc = ploc(i)-1 |
location of | range |
end | |
avoid frequencies out of range | binremainder = round(loc)-loc |
lb = [binremainder-4:binremainder+4]' | |
lobe magnitudes of the complex exponential | b = 1+[round(loc)-4:round(loc)+4]' |
Function Documentation
main lobe | ( | real | value | ) |
location of peak | ( | zero-based | indexing | ) |
Variable Documentation
Y __pad0__ |
Definition at line 5 of file genspecsines.m.
Definition at line 13 of file genspecsines.m.
Definition at line 10 of file genspecsines.m.
end |
Definition at line 9 of file genspecsines.m.
function ipmag |
Definition at line 1 of file genspecsines.m.
function ipphase |
Definition at line 1 of file genspecsines.m.
lb = [binremainder-4:binremainder+4]' |
Definition at line 11 of file genspecsines.m.
Definition at line 8 of file genspecsines.m.
function magnitudes and N |
Definition at line 1 of file genspecsines.m.
function magnitudes and phases |
Definition at line 1 of file genspecsines.m.
location of range |
Definition at line 8 of file genspecsines.m.
function Y |
Initial value:
% iploc
phase spectrum(unwrapped) ploc
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several the filter must be ready for frames arriving randomly on any input any filter with several inputs will most likely require some kind of queuing mechanism It is perfectly acceptable to have a limited queue and to drop frames when the inputs are too unbalanced request_frame This method is called when a frame is wanted on an output For an it should directly call filter_frame on the corresponding output For a if there are queued frames already one of these frames should be pushed If the filter should request a frame on one of its repeatedly until at least one frame has been pushed Return values
Definition: filter_design.txt:216
Definition at line 1 of file genspecsines.m.
Generated on Mon Nov 18 2024 06:52:06 for FFmpeg by 1.8.11