Lines Matching refs:mTestContext

1245     err = mTestContext->mViVVid.codec->getOutputBuffers(  in ViVEncode()
1246 &mTestContext->mViVVid.buffers); in ViVEncode()
1252 err = mTestContext->mViVVid.codec->dequeueOutputBuffer( in ViVEncode()
1278 err = mTestContext->mViVVid.muxer->writeSampleData( in ViVEncode()
1279 mTestContext->mViVVid.buffers[bufIndex], in ViVEncode()
1289 err = mTestContext->mViVVid.codec->releaseOutputBuffer(bufIndex); in ViVEncode()
1307 mTestContext->mViVVid.codec->getOutputFormat(&newFormat); in ViVEncode()
1308 trackIdx = mTestContext->mViVVid.muxer->addTrack(newFormat); in ViVEncode()
1309 err = mTestContext->mViVVid.muxer->start(); in ViVEncode()
1318 err = mTestContext->mViVVid.codec->getOutputBuffers( in ViVEncode()
1319 &mTestContext->mViVVid.buffers); in ViVEncode()
1673 mTestContext = instance; in setTestCtxInst()
2948 if (mTestContext->mViVVid.VideoSizes[0].width * in configureViVCodec()
2949 mTestContext->mViVVid.VideoSizes[0].height >= in configureViVCodec()
2950 mTestContext->mViVVid.VideoSizes[1].width * in configureViVCodec()
2951 mTestContext->mViVVid.VideoSizes[1].height) { in configureViVCodec()
2953 mTestContext->mViVVid.VideoSizes[0].width, in configureViVCodec()
2954 mTestContext->mViVVid.VideoSizes[0].height, in configureViVCodec()
2955 mTestContext->mViVVid.ViVIdx++); in configureViVCodec()
2956 format->setInt32("width", mTestContext->mViVVid.VideoSizes[0].width); in configureViVCodec()
2957 format->setInt32("height", mTestContext->mViVVid.VideoSizes[0].height); in configureViVCodec()
2960 mTestContext->mViVVid.VideoSizes[1].width, in configureViVCodec()
2961 mTestContext->mViVVid.VideoSizes[1].height, in configureViVCodec()
2962 mTestContext->mViVVid.ViVIdx++); in configureViVCodec()
2963 format->setInt32("width", mTestContext->mViVVid.VideoSizes[1].width); in configureViVCodec()
2964 format->setInt32("height", mTestContext->mViVVid.VideoSizes[1].height); in configureViVCodec()
2971 mTestContext->mViVVid.muxer = new MediaMuxer( in configureViVCodec()
2984 mTestContext->mViVVid.codec = MediaCodec::CreateByType( in configureViVCodec()
2986 if (mTestContext->mViVVid.codec == NULL) { in configureViVCodec()
2990 ret = mTestContext->mViVVid.codec->configure(format, NULL, NULL, in configureViVCodec()
2993 mTestContext->mViVVid.codec->release(); in configureViVCodec()
2994 mTestContext->mViVVid.codec.clear(); in configureViVCodec()
3001 ret = mTestContext->mViVVid.codec->createInputSurface( in configureViVCodec()
3002 &mTestContext->mViVVid.bufferProducer); in configureViVCodec()
3004 mTestContext->mViVVid.codec->release(); in configureViVCodec()
3005 mTestContext->mViVVid.codec.clear(); in configureViVCodec()
3012 ret = mTestContext->mViVVid.codec->start(); in configureViVCodec()
3014 mTestContext->mViVVid.codec->release(); in configureViVCodec()
3015 mTestContext->mViVVid.codec.clear(); in configureViVCodec()
3022 mTestContext->mViVVid.surface = new Surface( in configureViVCodec()
3023 mTestContext->mViVVid.bufferProducer); in configureViVCodec()
3024 mTestContext->mViVVid.ANW = mTestContext->mViVVid.surface; in configureViVCodec()
3025 ret = native_window_api_connect(mTestContext->mViVVid.ANW.get(), in configureViVCodec()
3027 if (mTestContext->mViVVid.VideoSizes[0].width * in configureViVCodec()
3028 mTestContext->mViVVid.VideoSizes[0].height >= in configureViVCodec()
3029 mTestContext->mViVVid.VideoSizes[1].width * in configureViVCodec()
3030 mTestContext->mViVVid.VideoSizes[1].height) { in configureViVCodec()
3031 native_window_set_buffers_format(mTestContext->mViVVid.ANW.get(), in configureViVCodec()
3033 native_window_set_buffers_dimensions(mTestContext->mViVVid.ANW.get(), in configureViVCodec()
3034 mTestContext->mViVVid.VideoSizes[0].width, in configureViVCodec()
3035 mTestContext->mViVVid.VideoSizes[0].height); in configureViVCodec()
3037 native_window_set_buffers_format(mTestContext->mViVVid.ANW.get(), in configureViVCodec()
3039 native_window_set_buffers_dimensions(mTestContext->mViVVid.ANW.get(), in configureViVCodec()
3040 mTestContext->mViVVid.VideoSizes[1].width, in configureViVCodec()
3041 mTestContext->mViVVid.VideoSizes[1].height); in configureViVCodec()
3043 native_window_set_usage(mTestContext->mViVVid.ANW.get(), in configureViVCodec()
3045 native_window_set_buffer_count(mTestContext->mViVVid.ANW.get(), in configureViVCodec()
3046 mTestContext->mViVVid.buff_cnt); in configureViVCodec()
3068 ret = native_window_api_disconnect(mTestContext->mViVVid.ANW.get(), in unconfigureViVCodec()
3070 mTestContext->mViVVid.bufferProducer = NULL; in unconfigureViVCodec()
3071 mTestContext->mViVVid.codec->stop(); in unconfigureViVCodec()
3073 mTestContext->mViVVid.muxer->stop(); in unconfigureViVCodec()
3074 mTestContext->mViVVid.codec->release(); in unconfigureViVCodec()
3075 mTestContext->mViVVid.codec.clear(); in unconfigureViVCodec()
3076 mTestContext->mViVVid.muxer.clear(); in unconfigureViVCodec()
3077 mTestContext->mViVVid.surface.clear(); in unconfigureViVCodec()
3344 free(mTestContext->mViVBuff.buff); in releasePiPBuff()
3345 mTestContext->mViVBuff.buff = NULL; in releasePiPBuff()