Blender  V3.3
Macros
ffmpeg_codecs.cc File Reference
#include "testing/testing.h"
#include "ffmpeg_compat.h"
#include <libavcodec/avcodec.h>
#include <libavutil/channel_layout.h>
#include <libavutil/log.h>

Go to the source code of this file.

Macros

#define str(s)   #s
 
#define FFMPEG_TEST_VCODEC_ID(codec, fmt)
 
#define FFMPEG_TEST_VCODEC_NAME(codec, fmt)
 
#define FFMPEG_TEST_ACODEC_ID(codec, fmt)
 
#define FFMPEG_TEST_ACODEC_NAME(codec, fmt)
 

Macro Definition Documentation

◆ FFMPEG_TEST_ACODEC_ID

#define FFMPEG_TEST_ACODEC_ID (   codec,
  fmt 
)
Value:
TEST(ffmpeg, codec##_##fmt) \
{ \
EXPECT_TRUE(test_codec_audio_by_codecid(codec, fmt)); \
}
@ TEST

Definition at line 110 of file ffmpeg_codecs.cc.

◆ FFMPEG_TEST_ACODEC_NAME

#define FFMPEG_TEST_ACODEC_NAME (   codec,
  fmt 
)
Value:
TEST(ffmpeg, codec) \
{ \
EXPECT_TRUE(test_codec_audio_by_name(str(codec), fmt)); \
}
#define str(s)

Definition at line 116 of file ffmpeg_codecs.cc.

◆ FFMPEG_TEST_VCODEC_ID

#define FFMPEG_TEST_VCODEC_ID (   codec,
  fmt 
)
Value:
TEST(ffmpeg, codec##_##fmt) \
{ \
EXPECT_TRUE(test_codec_video_by_codecid(codec, fmt)); \
}

Definition at line 98 of file ffmpeg_codecs.cc.

◆ FFMPEG_TEST_VCODEC_NAME

#define FFMPEG_TEST_VCODEC_NAME (   codec,
  fmt 
)
Value:
TEST(ffmpeg, codec##_##fmt) \
{ \
EXPECT_TRUE(test_codec_video_by_name(str(codec), fmt)); \
}

Definition at line 104 of file ffmpeg_codecs.cc.

◆ str

#define str (   s)    #s

Definition at line 97 of file ffmpeg_codecs.cc.