本文整理汇总了C++中MPTRACE函数的典型用法代码示例。如果您正苦于以下问题:C++ MPTRACE函数的具体用法?C++ MPTRACE怎么用?C++ MPTRACE使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了MPTRACE函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: ijkmp_set_max_fps
void ijkmp_set_max_fps(IjkMediaPlayer *mp, int max_fps)
{
assert(mp);
MPTRACE("ijkmp_set_max_fp(%d)\n", max_fps);
pthread_mutex_lock(&mp->mutex);
ffp_set_max_fps(mp->ffplayer, max_fps);
pthread_mutex_unlock(&mp->mutex);
MPTRACE("ijkmp_set_max_fp()=void\n");
}
开发者ID:rameshnatarajan88,项目名称:ijkplayer,代码行数:10,代码来源:ijkplayer.c
示例2: ijkmp_set_sws_option
void ijkmp_set_sws_option(IjkMediaPlayer *mp, const char *name, const char *value)
{
assert(mp);
MPTRACE("ijkmp_set_sws_option()\n");
pthread_mutex_lock(&mp->mutex);
ffp_set_sws_option(mp->ffplayer, name, value);
pthread_mutex_unlock(&mp->mutex);
MPTRACE("ijkmp_set_sws_option()=void\n");
}
开发者ID:rameshnatarajan88,项目名称:ijkplayer,代码行数:10,代码来源:ijkplayer.c
示例3: ijkmp_set_picture_queue_capicity
void ijkmp_set_picture_queue_capicity(IjkMediaPlayer *mp, int frame_count)
{
assert(mp);
MPTRACE("ijkmp_set_picture_queue_capicity(%d)\n", frame_count);
pthread_mutex_lock(&mp->mutex);
ffp_set_picture_queue_capicity(mp->ffplayer, frame_count);
pthread_mutex_unlock(&mp->mutex);
MPTRACE("ijkmp_set_picture_queue_capicity()=void\n");
}
开发者ID:rameshnatarajan88,项目名称:ijkplayer,代码行数:10,代码来源:ijkplayer.c
示例4: ijkmp_set_format_callback
void ijkmp_set_format_callback(IjkMediaPlayer *mp, ijk_format_control_message cb, void *opaque)
{
assert(mp);
MPTRACE("ijkmp_set_format_callback(%p, %p)\n", cb, opaque);
pthread_mutex_lock(&mp->mutex);
ffp_set_format_callback(mp->ffplayer, cb, opaque);
pthread_mutex_unlock(&mp->mutex);
MPTRACE("ijkmp_set_format_callback()=void\n");
}
开发者ID:rameshnatarajan88,项目名称:ijkplayer,代码行数:10,代码来源:ijkplayer.c
示例5: ijkmp_seek_to
int ijkmp_seek_to(IjkMediaPlayer *mp, long msec)
{
assert(mp);
MPTRACE("ijkmp_seek_to(%ld)\n", msec);
pthread_mutex_lock(&mp->mutex);
int retval = ijkmp_seek_to_l(mp, msec);
pthread_mutex_unlock(&mp->mutex);
MPTRACE("ijkmp_seek_to(%ld)=%d\n", msec, retval);
return retval;
}
开发者ID:aesion,项目名称:ijkplayer,代码行数:11,代码来源:ijkplayer.c
示例6: ijkmp_android_set_surface
void ijkmp_android_set_surface(JNIEnv *env, IjkMediaPlayer *mp, jobject android_surface)
{
if (!mp)
return;
MPTRACE("ijkmp_set_android_surface(surface=%p)", (void*)android_surface);
pthread_mutex_lock(&mp->mutex);
ijkmp_android_set_surface_l(env, mp, android_surface);
pthread_mutex_unlock(&mp->mutex);
MPTRACE("ijkmp_set_android_surface(surface=%p)=void", (void*)android_surface);
}
开发者ID:Daniel-999,项目名称:ijkplayer,代码行数:11,代码来源:ijkplayer_android.c
示例7: ijkmp_get_audio_codec_info
int ijkmp_get_audio_codec_info(IjkMediaPlayer *mp, char **codec_info)
{
assert(mp);
MPTRACE("%s\n", __func__);
pthread_mutex_lock(&mp->mutex);
int ret = ffp_get_audio_codec_info(mp->ffplayer, codec_info);
pthread_mutex_unlock(&mp->mutex);
MPTRACE("%s()=void\n", __func__);
return ret;
}
开发者ID:Zard1096,项目名称:ijkplayer,代码行数:11,代码来源:ijkplayer.c
示例8: ijkmp_set_stream_selected
int ijkmp_set_stream_selected(IjkMediaPlayer *mp, int stream, int selected)
{
assert(mp);
MPTRACE("%s(%d, %d)\n", __func__, stream, selected);
pthread_mutex_lock(&mp->mutex);
int ret = ffp_set_stream_selected(mp->ffplayer, stream, selected);
pthread_mutex_unlock(&mp->mutex);
MPTRACE("%s(%d, %d)=%d\n", __func__, stream, selected, ret);
return ret;
}
开发者ID:17media,项目名称:ijkplayer,代码行数:11,代码来源:ijkplayer.c
示例9: airstashmp_shutdown_l
void airstashmp_shutdown_l(AirStashMediaPlayer *mp)
{
assert(mp);
MPTRACE("airstashmp_shutdown_l()\n");
if (mp->ffplayer) {
ffp_stop_l(mp->ffplayer);
ffp_wait_stop_l(mp->ffplayer);
}
MPTRACE("airstashmp_shutdown_l()=void\n");
}
开发者ID:AirStash,项目名称:AirStashPlayer,代码行数:11,代码来源:player.c
示例10: airstashmp_seek_to
int airstashmp_seek_to(AirStashMediaPlayer *mp, long msec)
{
assert(mp);
MPTRACE("airstashmp_seek_to(%ld)\n", msec);
pthread_mutex_lock(&mp->mutex);
int retval = airstashmp_seek_to_l(mp, msec);
pthread_mutex_unlock(&mp->mutex);
MPTRACE("airstashmp_seek_to(%ld)=%d\n", msec, retval);
return retval;
}
开发者ID:AirStash,项目名称:AirStashPlayer,代码行数:11,代码来源:player.c
示例11: ijkmp_set_overlay_format
void ijkmp_set_overlay_format(IjkMediaPlayer *mp, int chroma_fourcc)
{
if (!mp)
return;
MPTRACE("ijkmp_set_overlay_format(%.4s(0x%x))\n", (char*)&chroma_fourcc, chroma_fourcc);
if (mp->ffplayer) {
ffp_set_overlay_format(mp->ffplayer, chroma_fourcc);
}
MPTRACE("ijkmp_set_overlay_format()=void\n");
}
开发者ID:aesion,项目名称:ijkplayer,代码行数:11,代码来源:ijkplayer.c
示例12: airstashmp_get_video_codec_info
int airstashmp_get_video_codec_info(AirStashMediaPlayer *mp, char **codec_info)
{
assert(mp);
MPTRACE("%s\n", __func__);
pthread_mutex_lock(&mp->mutex);
int ret = ffp_get_video_codec_info(mp->ffplayer, codec_info);
pthread_mutex_unlock(&mp->mutex);
MPTRACE("%s()=void\n", __func__);
return ret;
}
开发者ID:AirStash,项目名称:AirStashPlayer,代码行数:11,代码来源:player.c
示例13: ijkmp_shutdown_l
void ijkmp_shutdown_l(IjkMediaPlayer *mp)
{
assert(mp);
MPTRACE("ijkmp_shutdown_l()\n");
if (mp->ffplayer) {
ffp_stop_l(mp->ffplayer);
ffp_wait_stop_l(mp->ffplayer);
}
MPTRACE("ijkmp_shutdown_l()=void\n");
}
开发者ID:aesion,项目名称:ijkplayer,代码行数:11,代码来源:ijkplayer.c
示例14: ijkmp_set_data_source
int ijkmp_set_data_source(IjkMediaPlayer *mp, const char *url)
{
assert(mp);
assert(url);
MPTRACE("ijkmp_set_data_source(url=\"%s\")\n", url);
pthread_mutex_lock(&mp->mutex);
int retval = ijkmp_set_data_source_l(mp, url);
pthread_mutex_unlock(&mp->mutex);
MPTRACE("ijkmp_set_data_source(url=\"%s\")=%d\n", url, retval);
return retval;
}
开发者ID:aesion,项目名称:ijkplayer,代码行数:11,代码来源:ijkplayer.c
示例15: ksymp_shutdown_l
void ksymp_shutdown_l(KSYMediaPlayer *mp)
{
assert(mp);
MPTRACE("ksymp_shutdown_l()\n");
if (mp->ffplayer) {
ffp_stop_l(mp->ffplayer);
ffp_wait_stop_l(mp->ffplayer);
}
MPTRACE("ksymp_shutdown_l()=void\n");
}
开发者ID:kaiqi2391220,项目名称:KSYMediaPlayer-iOS-SDK,代码行数:11,代码来源:ksyplayer.c
示例16: ksymp_shutdown_l
void ksymp_shutdown_l(KSYMediaPlayer *mp)
{
assert(mp);
ksymp_change_state_l(mp, MP_STATE_RELEASING);
MPTRACE("ksymp_shutdown_l()\n");
if (mp->ffplayer) {
ffp_stop_l(mp->ffplayer);
ffp_wait_stop_l(mp->ffplayer);
}
ksymp_change_state_l(mp, MP_STATE_END);
MPTRACE("ksymp_shutdown_l()=void\n");
}
开发者ID:kenaan,项目名称:KSYMediaPlayer-iOS-SDK,代码行数:12,代码来源:ksyplayer.c
示例17: airstashmp_set_inject_opaque
void airstashmp_set_inject_opaque(AirStashMediaPlayer *mp, void *opaque)
{
assert(mp);
MPTRACE("%s(%p)\n", __func__, opaque);
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-to-int-cast"
#endif
airstashmp_set_option_int(mp, AIRSTASHMP_OPT_CATEGORY_FORMAT, "airstashinject-opaque", (int64_t)opaque);
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
MPTRACE("%s()=void\n", __func__);
}
开发者ID:AirStash,项目名称:AirStashPlayer,代码行数:15,代码来源:player.c
示例18: ijkmp_android_set_mediacodec_select_callback
void ijkmp_android_set_mediacodec_select_callback(IjkMediaPlayer *mp, bool (*callback)(void *opaque, ijkmp_mediacodecinfo_context *mcc), void *opaque)
{
if (!mp)
return;
MPTRACE("ijkmp_android_set_mediacodec_select_callback()");
pthread_mutex_lock(&mp->mutex);
if (mp && mp->ffplayer && mp->ffplayer->pipeline) {
ffpipeline_set_mediacodec_select_callback(mp->ffplayer->pipeline, callback, opaque);
}
pthread_mutex_unlock(&mp->mutex);
MPTRACE("ijkmp_android_set_mediacodec_select_callback()=void");
}
开发者ID:Daniel-999,项目名称:ijkplayer,代码行数:15,代码来源:ijkplayer_android.c
示例19: ijkmp_android_set_volume
void ijkmp_android_set_volume(JNIEnv *env, IjkMediaPlayer *mp, float left, float right)
{
if (!mp)
return;
MPTRACE("ijkmp_android_set_volume(%f, %f)", left, right);
pthread_mutex_lock(&mp->mutex);
if (mp && mp->ffplayer && mp->ffplayer->aout) {
SDL_AoutSetStereoVolume(mp->ffplayer->aout, left, right);
}
pthread_mutex_unlock(&mp->mutex);
MPTRACE("ijkmp_android_set_volume(%f, %f)=void", left, right);
}
开发者ID:Daniel-999,项目名称:ijkplayer,代码行数:15,代码来源:ijkplayer_android.c
示例20: ijkmp_set_inject_opaque
void ijkmp_set_inject_opaque(IjkMediaPlayer *mp, void *opaque)
{
assert(mp);
MPTRACE("%s(%p)\n", __func__, opaque);
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-to-int-cast"
#endif
ijkmp_set_option_int(mp, IJKMP_OPT_CATEGORY_FORMAT, "ijkinject-opaque", (int64_t)opaque);
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
MPTRACE("%s()=void\n", __func__);
}
开发者ID:Zard1096,项目名称:ijkplayer,代码行数:15,代码来源:ijkplayer.c
注:本文中的MPTRACE函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论