public abstract class MediaFilter extends java.lang.Object implements FormatFilter
| Constructor and Description |
|---|
MediaFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
postProcessBitstream(Context c,
Item item,
Bitstream generatedBitstream)
Perform any post-processing of the generated bitstream *after* this
filter has already been run.
|
boolean |
preProcessBitstream(Context c,
Item item,
Bitstream source)
Perform any pre-processing of the source bitstream *before* the actual
filtering takes place in MediaFilterManager.processBitstream().
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBundleName, getDescription, getDestinationStream, getFilteredName, getFormatStringpublic boolean preProcessBitstream(Context c, Item item, Bitstream source) throws java.lang.Exception
Return true if pre-processing is successful (or no pre-processing is necessary). Return false if bitstream should be skipped for any reason.
preProcessBitstream in interface FormatFilterc - contextitem - item containing bitstream to processsource - source bitstream to be processedjava.lang.Exceptionpublic void postProcessBitstream(Context c, Item item, Bitstream generatedBitstream) throws java.lang.Exception
Return true if pre-processing is successful (or no pre-processing is necessary). Return false if bitstream should be skipped for some reason.
postProcessBitstream in interface FormatFilterc - contextitem - item containing bitstream to processgeneratedBitstream - the bitstream which was generated by
this filter.java.lang.ExceptionCopyright © 2013 DuraSpace. All Rights Reserved.