Lines Matching refs:dec_op
257 ivd_video_decode_op_t dec_op; in decodeHeader() local
261 memset(&dec_op, 0, sizeof(dec_op)); in decodeHeader()
268 dec_op.u4_size = sizeof(ivd_video_decode_op_t); in decodeHeader()
270 ret = ivd_api_function(mCodec, (void *)&dec_ip, (void *)&dec_op); in decodeHeader()
272 bytes_consumed = dec_op.u4_num_bytes_consumed; in decodeHeader()
282 mWidth = std::min(dec_op.u4_pic_wd, (UWORD32)10240); in decodeHeader()
283 mHeight = std::min(dec_op.u4_pic_ht, (UWORD32)10240); in decodeHeader()
299 ivd_video_decode_op_t dec_op; in decodeFrame() local
302 memset(&dec_op, 0, sizeof(dec_op)); in decodeFrame()
311 dec_op.u4_size = sizeof(ivd_video_decode_op_t); in decodeFrame()
313 ret = ivd_api_function(mCodec, (void *)&dec_ip, (void *)&dec_op); in decodeFrame()
317 if (IVD_RES_CHANGED == (dec_op.u4_error_code & 0xFF)) { in decodeFrame()
319 ret = ivd_api_function(mCodec, (void *)&dec_ip, (void *)&dec_op); in decodeFrame()
321 *bytesConsumed = dec_op.u4_num_bytes_consumed; in decodeFrame()
327 if (dec_op.u4_pic_wd && dec_op.u4_pic_ht && in decodeFrame()
328 (mWidth != dec_op.u4_pic_wd || mHeight != dec_op.u4_pic_ht)) { in decodeFrame()
329 mWidth = std::min(dec_op.u4_pic_wd, (UWORD32)10240); in decodeFrame()
330 mHeight = std::min(dec_op.u4_pic_ht, (UWORD32)10240); in decodeFrame()