IRES_HDVICP2_Obj extends the generic IRES_Obj structure that is returned back to the algorithm requesting the resource. More...
#include <ires_hdvicp2.h>
Data Fields | |
IRES_Obj | ires |
Void * | info |
XDAS_Int32 | id |
XDAS_Void * | registerBaseAddress |
XDAS_Void * | memoryBaseAddress |
XDAS_Void * | resetControlAddress |
XDAS_Void(* | acquire )(IALG_Handle algHandle, struct IRES_HDVICP2_Obj *hdvicpHandle, IRES_YieldContext *yieldCtxt, XDAS_UInt32 *hdvicp2Status, XDAS_UInt32 *configurationId, XDAS_Int32 lateAcquireArg) |
Acquire the HDVICP2 resource. | |
XDAS_Void(* | release )(IALG_Handle algHandle, struct IRES_HDVICP2_Obj *hdvicpHandle) |
Release the HDVICP2 resource. | |
XDAS_UInt32(* | reacquireIfOwner )(IALG_Handle algHandle, struct IRES_HDVICP2_Obj *hdvicpHandle) |
Reacquire the HDVICP2 resource recent released. | |
XDAS_Void(* | configure )(IALG_Handle algHandle, struct IRES_HDVICP2_Obj *hdvicpHandle, IRES_HDVICP2_CallbackFxn cbFunctionPtr, XDAS_Void *cbArgs) |
Register a callback function with a HDVICP2 instance. | |
XDAS_UInt32(* | wait )(IALG_Handle algHandle, struct IRES_HDVICP2_Obj *hdvicpHandle, IRES_YieldContext *yieldCtxt) |
Wait until the HDVICP2 is done processing and then return. | |
XDAS_Void(* | done )(IALG_Handle algHandle, struct IRES_HDVICP2_Obj *hdvicpHandle) |
Processing has completed. | |
XDAS_UInt32(* | reset )(IALG_Handle algHandle, struct IRES_HDVICP2_Obj *hdvicpHandle) |
Reset the HDVICP2. |
IRES_HDVICP2_Obj extends the generic IRES_Obj structure that is returned back to the algorithm requesting the resource.
Base IRES_Obj struct
Void* IRES_HDVICP2_Obj::info |
Reserved for future use
HDVICP2 id granted
Register space base address of the HDVICP2 being granted
Memory space base address of the HDVICP2 being granted
HDVICP reset controller address
XDAS_Void(* IRES_HDVICP2_Obj::acquire)(IALG_Handle algHandle, struct IRES_HDVICP2_Obj *hdvicpHandle, IRES_YieldContext *yieldCtxt, XDAS_UInt32 *hdvicp2Status, XDAS_UInt32 *configurationId, XDAS_Int32 lateAcquireArg) |
Acquire the HDVICP2 resource.
hdvicp2Status
indicates the status of the particular HDVICP2 unit that is returned. configurationId
argument is a codec specified parameter that is both an input and output parameter. It specifies the mode in which this particular HDVICP2 was used last time, and the mode in which it will be used this time.yieldContext
as argument, as it may yield the processor to higher priority codecs in the system.lateAcquireId
is an optionally framework supplied parameter (sometimes provided via an XDM control() call setting the XDM_SETLATEACQUIREARG. If not supplied, the codec should pass the value IRES_HDVICP2_UNKNOWNLATEACQUIREARG.XDAS_Void(* IRES_HDVICP2_Obj::release)(IALG_Handle algHandle, struct IRES_HDVICP2_Obj *hdvicpHandle) |
Release the HDVICP2 resource.
XDAS_UInt32(* IRES_HDVICP2_Obj::reacquireIfOwner)(IALG_Handle algHandle, struct IRES_HDVICP2_Obj *hdvicpHandle) |
Reacquire the HDVICP2 resource recent released.
XDAS_Void(* IRES_HDVICP2_Obj::configure)(IALG_Handle algHandle, struct IRES_HDVICP2_Obj *hdvicpHandle, IRES_HDVICP2_CallbackFxn cbFunctionPtr, XDAS_Void *cbArgs) |
Register a callback function with a HDVICP2 instance.
XDAS_UInt32(* IRES_HDVICP2_Obj::wait)(IALG_Handle algHandle, struct IRES_HDVICP2_Obj *hdvicpHandle, IRES_YieldContext *yieldCtxt) |
Wait until the HDVICP2 is done processing and then return.
XDAS_Void(* IRES_HDVICP2_Obj::done)(IALG_Handle algHandle, struct IRES_HDVICP2_Obj *hdvicpHandle) |
XDAS_UInt32(* IRES_HDVICP2_Obj::reset)(IALG_Handle algHandle, struct IRES_HDVICP2_Obj *hdvicpHandle) |
Reset the HDVICP2.