Masterclock TCR1000 Manuel d'utilisateur Page 8

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 23
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 22 23

Commentaires sur ces manuels

Pas de commentaire