Lines Matching refs:dec_op
337 ivd_video_decode_op_t dec_op; in decodeHeader() local
341 memset(&dec_op, 0, sizeof(dec_op)); in decodeHeader()
348 dec_op.u4_size = sizeof(ivd_video_decode_op_t); in decodeHeader()
350 ret = ivd_api_function(mCodec, (void *)&dec_ip, (void *)&dec_op); in decodeHeader()
352 bytes_consumed = dec_op.u4_num_bytes_consumed; in decodeHeader()
362 mWidth = std::min(dec_op.u4_pic_wd, (UWORD32)10240); in decodeHeader()
363 mHeight = std::min(dec_op.u4_pic_ht, (UWORD32)10240); in decodeHeader()
379 ivd_video_decode_op_t dec_op; in decodeFrame() local
382 memset(&dec_op, 0, sizeof(dec_op)); in decodeFrame()
391 dec_op.u4_size = sizeof(ivd_video_decode_op_t); in decodeFrame()
393 ret = ivd_api_function(mCodec, (void *)&dec_ip, (void *)&dec_op); in decodeFrame()
394 if (IMPEG2D_UNSUPPORTED_DIMENSIONS == dec_op.u4_error_code) { in decodeFrame()
397 } else if (IVD_RES_CHANGED == (dec_op.u4_error_code & 0xFF)) { in decodeFrame()
401 ret = ivd_api_function(mCodec, (void *)&dec_ip, (void *)&dec_op); in decodeFrame()
403 *bytesConsumed = dec_op.u4_num_bytes_consumed; in decodeFrame()
409 if (dec_op.u4_pic_wd && dec_op.u4_pic_ht && in decodeFrame()
410 (mWidth != dec_op.u4_pic_wd || mHeight != dec_op.u4_pic_ht)) { in decodeFrame()
411 mWidth = std::min(dec_op.u4_pic_wd, (UWORD32)10240); in decodeFrame()
412 mHeight = std::min(dec_op.u4_pic_ht, (UWORD32)10240); in decodeFrame()