• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

advanceState Confusion

New Here ,
Aug 23, 2007 Aug 23, 2007

Copy link to clipboard

Copied

Hello,

I have got a filter plug-in which uses advanceState to read scanlines from the plugin. However I seem to have crashes related to advanceState. (Using SDK 7)

Q1. Can advanceState be called anytime in filterSelectorStart ? E.g I have got simple scanline reading loops but also loops which process a circular region. I want to call advanceState in several loops.

Q2. Is it required to reset FilterRecord in some way before starting another loop which uses advanceState ?

Thanks in advance.

Dev
TOPICS
SDK

Views

416

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Adobe Employee ,
Aug 29, 2007 Aug 29, 2007

Copy link to clipboard

Copied

advanceState is advancing the state from the previous state so several loops may have problems. I would look at using channel ports suite instead.

Setting the rects to 0,0,0,0 should reset advanceState but that is an 'as is' warranty statement if you know what i mean.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 29, 2007 Aug 29, 2007

Copy link to clipboard

Copied

LATEST
Thanks Tom,

Interestingly I couldn't find what the "state" variables are.

I have tried resetting the rects (it is hinted in the doc) but didn't really help.

Are channel ports suite a direct alternative to advanceState or shall it be used in conjunction with advanceState ? I am a bit confused there.

Thanks again.

Dev

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines