Masterclock TCR1000 Uživatelský manuál Strana 8

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 23
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 7
TCR1000SDKRev.3.0.0  Page8
TCR1000_ApiSetFrameRate
ThisfunctionisdeprecatedfortheTCR1000.SincetheTCR1000detectstheframerate,thisisno
longerfunctionnecessary.Itstillexists,buttheframerateissetfromthecarddata,notbythis
function.
TheTCR1000_ApiSetFrameRatefunctionsetstheframeratefortimecodetypesthatsupportsub
secondframerates.
BOOLTCR1000_ApiSetFrameRate(
WORDrate//thesubsecondframerateofthetimecodeinuse
);
Parameters
rate
ThevalueofthisparameterisusedbytheAPI’sasynchronousandpollingtimefunctionstoderivethe
wMillisecondsmemberoftheTCRTIMEstructure.Currently,thisfeatureisavailableonlyforSMPTE
type
timecodeswithvalidframeratesbeing30,25,or24.
ReturnValues
TRUEifthefunctionsucceededinregisteringtheframerate.FALSEifthespecifiedframeratewas
invalidforthetimecodetypebeingdecoded,orifthetimecodedoesnotsupportsubsecondframe
rates.
Remarks
TheAPIwillnotsetthewMillisecondsmemberintheTCRTIMEdatastructurereturnedby
asynchronousandpolledtimefunctionsunlessthetimecodeframerateisspecifiedbytheuser
application.Someasynchronousfunctions,suchasASYNC_TIMESETandASYNC_PERSECwillset
wMillisecondsto0
anywaysincetheeventalwaysfallsonaonesecondboundary.
Zobrazit stránku 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 22 23

Komentáře k této Příručce

Žádné komentáře