/frameworks/av/media/libstagefright/codecs/hevcdec/ |
D | SoftHEVC.cpp | 64 mCodecCtx(NULL), in SoftHEVC() 125 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, in logVersion() 153 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, in setParams() 193 (iv_obj_t *)mCodecCtx, (void *)&s_ctl_get_vui_params_ip, in getVUIParams() 230 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, in resetDecoder() 255 status = ivdec_api_function(mCodecCtx, (void *)&s_set_cores_ip, in setNumCores() 277 status = ivdec_api_function(mCodecCtx, (void *)&s_video_flush_ip, in setFlushMode() 294 mCodecCtx = NULL; in initDecoder() 314 status = ivdec_api_function(mCodecCtx, (void *)&s_create_ip, (void *)&s_create_op); in initDecoder() 320 mCodecCtx = NULL; in initDecoder() [all …]
|
D | SoftHEVC.h | 71 iv_obj_t *mCodecCtx; // Codec context member
|
/frameworks/av/media/libstagefright/codecs/avcdec/ |
D | SoftAVCDec.cpp | 72 mCodecCtx(NULL), in SoftAVC() 133 ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, (void *)&s_ctl_op); in logVersion() 160 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, (void *)&s_ctl_op); in setParams() 194 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, (void *)&s_ctl_op); in resetDecoder() 218 mCodecCtx, (void *)&s_set_cores_ip, (void *)&s_set_cores_op); in setNumCores() 239 mCodecCtx, (void *)&s_video_flush_ip, (void *)&s_video_flush_op); in setFlushMode() 255 mCodecCtx = NULL; in initDecoder() 275 status = ivdec_api_function(mCodecCtx, (void *)&s_create_ip, (void *)&s_create_op); in initDecoder() 281 mCodecCtx = NULL; in initDecoder() 285 mCodecCtx = (iv_obj_t*)s_create_op.s_ivd_create_op_t.pv_handle; in initDecoder() [all …]
|
D | SoftAVCDec.h | 61 iv_obj_t *mCodecCtx; // Codec context member
|
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
D | SoftMPEG2.cpp | 65 mCodecCtx(NULL), in SoftMPEG2() 132 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, (void *)&s_ctl_op); in logVersion() 159 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, (void *)&s_ctl_op); in setParams() 193 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, (void *)&s_ctl_op); in resetDecoder() 221 status = ivdec_api_function(mCodecCtx, (void *)&s_set_cores_ip, (void *)&s_set_cores_op); in setNumCores() 242 mCodecCtx, (void *)&s_video_flush_ip, (void *)&s_video_flush_op); in setFlushMode() 283 mCodecCtx, (void *)&s_num_mem_rec_ip, (void *)&s_num_mem_rec_op); in initDecoder() 327 mCodecCtx, (void *)&s_fill_mem_ip, (void *)&s_fill_mem_op); in initDecoder() 374 mCodecCtx = (iv_obj_t *)mMemRecords[0].pv_base; in initDecoder() 375 mCodecCtx->pv_fxns = dec_fxns; in initDecoder() [all …]
|
D | SoftMPEG2.h | 74 iv_obj_t *mCodecCtx; // Codec context member
|
/frameworks/av/media/libstagefright/codecs/avcenc/ |
D | SoftAVCEnc.cpp | 145 mCodecCtx(NULL) { in SoftAVC() 170 mCodecCtx = NULL; in initEncParams() 216 status = ive_api_function(mCodecCtx, &s_dimensions_ip, &s_dimensions_op); in setDimensions() 239 mCodecCtx, (void *) &s_num_cores_ip, (void *) &s_num_cores_op); in setNumCores() 265 status = ive_api_function(mCodecCtx, &s_frame_rate_ip, &s_frame_rate_op); in setFrameRate() 292 status = ive_api_function(mCodecCtx, &s_ipe_params_ip, &s_ipe_params_op); in setIpeParams() 317 status = ive_api_function(mCodecCtx, &s_bitrate_ip, &s_bitrate_op); in setBitRate() 340 status = ive_api_function(mCodecCtx, &s_frame_type_ip, &s_frame_type_op); in setFrameType() 375 status = ive_api_function(mCodecCtx, &s_qp_ip, &s_qp_op); in setQp() 399 status = ive_api_function(mCodecCtx, &s_enc_mode_ip, &s_enc_mode_op); in setEncMode() [all …]
|
D | SoftAVCEnc.h | 192 iv_obj_t *mCodecCtx; // Codec context member
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.cpp | 258 mCodecCtx(nullptr){ in C2SoftAomDec() 297 if (aom_codec_decode(mCodecCtx, nullptr, 0, nullptr)) { in onFlush_sm() 303 while (aom_codec_get_frame(mCodecCtx, &iter)) { in onFlush_sm() 328 if (!mCodecCtx) { in initDecoder() 329 mCodecCtx = new aom_codec_ctx_t; in initDecoder() 332 if (!mCodecCtx) { in initDecoder() 347 if ((err = aom_codec_dec_init(mCodecCtx, aom_codec_av1_dx(), &cfg, 0))) { in initDecoder() 356 if (mCodecCtx) { in destroyDecoder() 357 aom_codec_destroy(mCodecCtx); in destroyDecoder() 358 delete mCodecCtx; in destroyDecoder() [all …]
|
D | C2SoftAomDec.h | 48 aom_codec_ctx_t* mCodecCtx; member
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcEnc.cpp | 610 mCodecCtx(nullptr), in C2SoftAvcEnc() 656 mCodecCtx = nullptr; in initEncParams() 697 status = ive_api_function(mCodecCtx, &s_dimensions_ip, &s_dimensions_op); in setDimensions() 720 mCodecCtx, (void *) &s_num_cores_ip, (void *) &s_num_cores_op); in setNumCores() 746 status = ive_api_function(mCodecCtx, &s_frame_rate_ip, &s_frame_rate_op); in setFrameRate() 773 status = ive_api_function(mCodecCtx, &s_ipe_params_ip, &s_ipe_params_op); in setIpeParams() 798 status = ive_api_function(mCodecCtx, &s_bitrate_ip, &s_bitrate_op); in setBitRate() 821 status = ive_api_function(mCodecCtx, &s_frame_type_ip, &s_frame_type_op); in setFrameType() 889 status = ive_api_function(mCodecCtx, &s_qp_ip, &s_qp_op); in setQp() 913 status = ive_api_function(mCodecCtx, &s_enc_mode_ip, &s_enc_mode_op); in setEncMode() [all …]
|
D | C2SoftAvcEnc.h | 181 iv_obj_t *mCodecCtx; // Codec context member
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxDec.cpp | 370 mCodecCtx(nullptr), in C2SoftVpxDec() 410 if (vpx_codec_decode(mCodecCtx, nullptr, 0, nullptr, 0)) { in onFlush_sm() 418 while (vpx_codec_get_frame(mCodecCtx, &iter)) { in onFlush_sm() 458 if (!mCodecCtx) { in initDecoder() 459 mCodecCtx = new vpx_codec_ctx_t; in initDecoder() 461 if (!mCodecCtx) { in initDecoder() 476 mCodecCtx, mMode == MODE_VP8 ? &vpx_codec_vp8_dx_algo : &vpx_codec_vp9_dx_algo, in initDecoder() 498 if (mCodecCtx) { in destroyDecoder() 499 vpx_codec_destroy(mCodecCtx); in destroyDecoder() 500 delete mCodecCtx; in destroyDecoder() [all …]
|
D | C2SoftVpxDec.h | 72 vpx_codec_ctx_t *mCodecCtx; member
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcEnc.cpp | 591 mCodecCtx(nullptr) { in C2SoftHevcEnc() 650 mCodecCtx = nullptr; in initEncParams() 800 if (mCodecCtx) { in releaseEncoder() 801 IHEVCE_PLUGIN_STATUS_T err = ihevce_close(mCodecCtx); in releaseEncoder() 803 mCodecCtx = nullptr; in releaseEncoder() 814 CHECK(!mCodecCtx); in initEncoder() 843 err = ihevce_init(&mEncParams, &mCodecCtx); in initEncoder() 1078 ihevce_encode(mCodecCtx, nullptr, &s_encode_op); in drainInternal() 1139 err = ihevce_encode_header(mCodecCtx, &s_header_op); in process() 1219 err = ihevce_encode(mCodecCtx, &s_encode_ip, &s_encode_op); in process()
|
D | C2SoftHevcEnc.h | 77 void* mCodecCtx; member
|
/frameworks/av/media/codec2/components/gav1/ |
D | C2SoftGav1Dec.cpp | 431 mCodecCtx(nullptr) { in C2SoftGav1Dec() 462 Libgav1StatusCode status = mCodecCtx->SignalEOS(); in onFlush_sm() 470 status = mCodecCtx->DequeueFrame(&buffer); in onFlush_sm() 504 mCodecCtx.reset(new libgav1::Decoder()); in initDecoder() 506 if (mCodecCtx == nullptr) { in initDecoder() 519 Libgav1StatusCode status = mCodecCtx->Init(&settings); in initDecoder() 528 void C2SoftGav1Dec::destroyDecoder() { mCodecCtx = nullptr; } in destroyDecoder() 616 mCodecCtx->EnqueueFrame(bitstream, inSize, frameIndex, in process() 781 const Libgav1StatusCode status = mCodecCtx->DequeueFrame(&buffer); in outputBuffer() 1125 const Libgav1StatusCode status = mCodecCtx->SignalEOS(); in drainInternal()
|
D | C2SoftGav1Dec.h | 54 std::unique_ptr<libgav1::Decoder> mCodecCtx; member
|