Home
last modified time | relevance | path

Searched refs:mCodecCtx (Results 1 – 18 of 18) sorted by relevance

/frameworks/av/media/libstagefright/codecs/avcdec/
DSoftAVCDec.cpp72 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 …]
DSoftAVCDec.h61 iv_obj_t *mCodecCtx; // Codec context member
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp64 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 …]
DSoftHEVC.h71 iv_obj_t *mCodecCtx; // Codec context member
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
DSoftMPEG2.cpp65 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 …]
DSoftMPEG2.h74 iv_obj_t *mCodecCtx; // Codec context member
/frameworks/av/media/libstagefright/codecs/avcenc/
DSoftAVCEnc.cpp145 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 …]
DSoftAVCEnc.h192 iv_obj_t *mCodecCtx; // Codec context member
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp258 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 …]
DC2SoftAomDec.h48 aom_codec_ctx_t* mCodecCtx; member
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.cpp591 mCodecCtx(nullptr), in C2SoftAvcEnc()
637 mCodecCtx = nullptr; in initEncParams()
678 status = ive_api_function(mCodecCtx, &s_dimensions_ip, &s_dimensions_op); in setDimensions()
701 mCodecCtx, (void *) &s_num_cores_ip, (void *) &s_num_cores_op); in setNumCores()
727 status = ive_api_function(mCodecCtx, &s_frame_rate_ip, &s_frame_rate_op); in setFrameRate()
754 status = ive_api_function(mCodecCtx, &s_ipe_params_ip, &s_ipe_params_op); in setIpeParams()
779 status = ive_api_function(mCodecCtx, &s_bitrate_ip, &s_bitrate_op); in setBitRate()
802 status = ive_api_function(mCodecCtx, &s_frame_type_ip, &s_frame_type_op); in setFrameType()
869 status = ive_api_function(mCodecCtx, &s_qp_ip, &s_qp_op); in setQp()
893 status = ive_api_function(mCodecCtx, &s_enc_mode_ip, &s_enc_mode_op); in setEncMode()
[all …]
DC2SoftAvcEnc.h181 iv_obj_t *mCodecCtx; // Codec context member
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.cpp370 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()
457 if (!mCodecCtx) { in initDecoder()
458 mCodecCtx = new vpx_codec_ctx_t; in initDecoder()
460 if (!mCodecCtx) { in initDecoder()
475 mCodecCtx, mMode == MODE_VP8 ? &vpx_codec_vp8_dx_algo : &vpx_codec_vp9_dx_algo, in initDecoder()
497 if (mCodecCtx) { in destroyDecoder()
498 vpx_codec_destroy(mCodecCtx); in destroyDecoder()
499 delete mCodecCtx; in destroyDecoder()
[all …]
DC2SoftVpxDec.h71 vpx_codec_ctx_t *mCodecCtx; member
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp353 mCodecCtx(nullptr) { in C2SoftGav1Dec()
384 Libgav1StatusCode status = mCodecCtx->SignalEOS(); in onFlush_sm()
392 status = mCodecCtx->DequeueFrame(&buffer); in onFlush_sm()
426 mCodecCtx.reset(new libgav1::Decoder()); in initDecoder()
428 if (mCodecCtx == nullptr) { in initDecoder()
437 Libgav1StatusCode status = mCodecCtx->Init(&settings); in initDecoder()
446 void C2SoftGav1Dec::destroyDecoder() { mCodecCtx = nullptr; } in destroyDecoder()
534 mCodecCtx->EnqueueFrame(bitstream, inSize, frameIndex, in process()
598 const Libgav1StatusCode status = mCodecCtx->DequeueFrame(&buffer); in outputBuffer()
768 const Libgav1StatusCode status = mCodecCtx->SignalEOS(); in drainInternal()
DC2SoftGav1Dec.h52 std::unique_ptr<libgav1::Decoder> mCodecCtx; member
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp588 mCodecCtx(nullptr) { in C2SoftHevcEnc()
647 mCodecCtx = nullptr; in initEncParams()
797 if (mCodecCtx) { in releaseEncoder()
798 IHEVCE_PLUGIN_STATUS_T err = ihevce_close(mCodecCtx); in releaseEncoder()
800 mCodecCtx = nullptr; in releaseEncoder()
811 CHECK(!mCodecCtx); in initEncoder()
840 err = ihevce_init(&mEncParams, &mCodecCtx); in initEncoder()
1075 ihevce_encode(mCodecCtx, nullptr, &s_encode_op); in drainInternal()
1133 err = ihevce_encode_header(mCodecCtx, &s_header_op); in process()
1213 err = ihevce_encode(mCodecCtx, &s_encode_ip, &s_encode_op); in process()
DC2SoftHevcEnc.h77 void* mCodecCtx; member