Quantcast
Channel: Intel® Software - Media
Viewing all articles
Browse latest Browse all 2185

Init Error

$
0
0

Hi All,

I was trying to write simple decode application from the scratch. Updated all the required init params in the structure, but while running the applicatiion, getting init error.  

Following is the snapshot of structure parameters:

(gdb) p Params_in 
$3 = {reserved = {0, 0, 0}, reserved3 = 0, AsyncDepth = 1, {mfx = {reserved = {0, 0, 0, 0, 0, 0, 0}, LowPower = 16, BRCParamMultiplier = 0, FrameInfo = {
        reserved = {0, 0, 0, 0}, reserved4 = 0, BitDepthLuma = 0, BitDepthChroma = 0, Shift = 0, FrameId = {TemporalId = 0, PriorityId = 0, {{
              DependencyId = 0, QualityId = 0}, {ViewId = 0}}}, FourCC = 842094158, {{Width = 1280, Height = 720, CropX = 0, CropY = 0, CropW = 1280, 
            CropH = 720}, {BufferSize = 47187200, reserved5 = 47187200}}, FrameRateExtN = 60000, FrameRateExtD = 2002, reserved3 = 0, AspectRatioW = 1, 
        AspectRatioH = 1, PicStruct = 1, ChromaFormat = 1, reserved2 = 0}, CodecId = 541283905, CodecProfile = 128, CodecLevel = 31, NumThread = 0, {{
          TargetUsage = 4, GopPicSize = 1, GopRefDist = 0, GopOptFlag = 0, IdrInterval = 0, RateControlMethod = 0, {InitialDelayInKB = 0, QPI = 0, 
            Accuracy = 0}, BufferSizeInKB = 0, {TargetKbps = 10, QPP = 10, ICQQuality = 10}, {MaxKbps = 0, QPB = 0, Convergence = 0}, NumSlice = 0, 
          NumRefFrame = 0, EncodedOrder = 0}, {DecodedOrder = 4, ExtendedPicStruct = 1, TimeStampCalc = 0, SliceGroupsPresent = 0, 
          MaxDecFrameBuffering = 0, reserved2 = {0, 0, 0, 10, 0, 0, 0, 0}}, {JPEGChromaFormat = 4, Rotation = 1, JPEGColorFormat = 0, InterleavedDec = 0, 
          reserved3 = {0, 0, 0, 0, 10, 0, 0, 0, 0}}, {Interleaved = 4, Quality = 1, RestartInterval = 0, reserved5 = {0, 0, 0, 0, 0, 10, 0, 0, 0, 0}}}}, 
    vpp = {reserved = {0, 0, 0, 0, 0, 0, 0, 16}, In = {reserved = {0, 0, 0, 0}, reserved4 = 0, BitDepthLuma = 0, BitDepthChroma = 0, Shift = 0, FrameId = {
          TemporalId = 0, PriorityId = 0, {{DependencyId = 0, QualityId = 0}, {ViewId = 0}}}, FourCC = 842094158, {{Width = 1280, Height = 720, CropX = 0, 
            CropY = 0, CropW = 1280, CropH = 720}, {BufferSize = 47187200, reserved5 = 47187200}}, FrameRateExtN = 60000, FrameRateExtD = 2002, 
        reserved3 = 0, AspectRatioW = 1, AspectRatioH = 1, PicStruct = 1, ChromaFormat = 1, reserved2 = 0}, Out = {reserved = {541283905, 2031744, 262144, 
          1}, reserved4 = 0, BitDepthLuma = 0, BitDepthChroma = 0, Shift = 0, FrameId = {TemporalId = 0, PriorityId = 10, {{DependencyId = 0, 
              QualityId = 0}, {ViewId = 0}}}, FourCC = 0, {{Width = 0, Height = 0, CropX = 0, CropY = 0, CropW = 0, CropH = 0}, {BufferSize = 0, 
            reserved5 = 0}}, FrameRateExtN = 0, FrameRateExtD = 0, reserved3 = 0, AspectRatioW = 0, AspectRatioH = 0, PicStruct = 0, ChromaFormat = 0, 
        reserved2 = 0}}}, Protected = 0, IOPattern = 2, ExtParam = 0x0, NumExtParam = 0, reserved2 = 0}

Not able to identify the issue. Please help me or give me some pointers. 

 

AttachmentSize
Downloadtext/x-csrcmain.c2.84 KB
Downloadapplication/zipapp.zip1.38 KB

Viewing all articles
Browse latest Browse all 2185

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>