mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
bad: Update indent
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4023>
This commit is contained in:
parent
f3f220d04b
commit
025adaff4b
4 changed files with 11 additions and 7 deletions
|
@ -1068,9 +1068,10 @@ gst_amf_encoder_propose_allocation (GstVideoEncoder * encoder, GstQuery * query)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* *INDENT-OFF* */
|
||||||
void
|
void
|
||||||
gst_amf_encoder_set_subclass_data (GstAmfEncoder * encoder, gint64 adapter_luid,
|
gst_amf_encoder_set_subclass_data (GstAmfEncoder * encoder, gint64 adapter_luid,
|
||||||
const wchar_t *codec_id)
|
const wchar_t * codec_id)
|
||||||
{
|
{
|
||||||
GstAmfEncoderPrivate *priv;
|
GstAmfEncoderPrivate *priv;
|
||||||
|
|
||||||
|
@ -1080,3 +1081,4 @@ gst_amf_encoder_set_subclass_data (GstAmfEncoder * encoder, gint64 adapter_luid,
|
||||||
priv->adapter_luid = adapter_luid;
|
priv->adapter_luid = adapter_luid;
|
||||||
priv->codec_id = codec_id;
|
priv->codec_id = codec_id;
|
||||||
}
|
}
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
|
@ -318,7 +318,9 @@ create_device (const DXGI_ADAPTER_DESC * adapter_desc,
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
gint width, height, left, top, right, bottom;
|
gint width, height, left, top, right, bottom;
|
||||||
GstStructure *props;
|
GstStructure *props;
|
||||||
std::wstring_convert < std::codecvt_utf8 < wchar_t >, wchar_t >converter;
|
/* *INDENT-OFF* */
|
||||||
|
std::wstring_convert < std::codecvt_utf8 < wchar_t >, wchar_t > converter;
|
||||||
|
/* *INDENT-ON* */
|
||||||
std::string device_name;
|
std::string device_name;
|
||||||
std::string display_name;
|
std::string display_name;
|
||||||
std::string device_path;
|
std::string device_path;
|
||||||
|
|
|
@ -388,6 +388,7 @@ gst_mf_media_type_to_video_caps (IMFMediaType * media_type)
|
||||||
SPEAKER_FRONT_LEFT_OF_CENTER | SPEAKER_FRONT_RIGHT_OF_CENTER)
|
SPEAKER_FRONT_LEFT_OF_CENTER | SPEAKER_FRONT_RIGHT_OF_CENTER)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* *INDENT-OFF* */
|
||||||
static struct
|
static struct
|
||||||
{
|
{
|
||||||
guint64 mf_pos;
|
guint64 mf_pos;
|
||||||
|
@ -416,7 +417,6 @@ static struct
|
||||||
{SPEAKER_TOP_BACK_RIGHT, GST_AUDIO_CHANNEL_POSITION_TOP_REAR_RIGHT}
|
{SPEAKER_TOP_BACK_RIGHT, GST_AUDIO_CHANNEL_POSITION_TOP_REAR_RIGHT}
|
||||||
};
|
};
|
||||||
|
|
||||||
/* *INDENT-OFF* */
|
|
||||||
static DWORD default_ch_masks[] = {
|
static DWORD default_ch_masks[] = {
|
||||||
0,
|
0,
|
||||||
KSAUDIO_SPEAKER_MONO,
|
KSAUDIO_SPEAKER_MONO,
|
||||||
|
|
|
@ -21,13 +21,12 @@
|
||||||
|
|
||||||
#include <wrl.h>
|
#include <wrl.h>
|
||||||
|
|
||||||
/* *INDENT-OFF* */
|
|
||||||
using namespace Microsoft::WRL;
|
|
||||||
/* *INDENT-ON* */
|
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_EXTERN (gst_wic_utils_debug);
|
GST_DEBUG_CATEGORY_EXTERN (gst_wic_utils_debug);
|
||||||
#define GST_CAT_DEFAULT gst_wic_utils_debug
|
#define GST_CAT_DEFAULT gst_wic_utils_debug
|
||||||
|
|
||||||
|
/* *INDENT-OFF* */
|
||||||
|
using namespace Microsoft::WRL;
|
||||||
|
|
||||||
static struct
|
static struct
|
||||||
{
|
{
|
||||||
WICPixelFormatGUID guid;
|
WICPixelFormatGUID guid;
|
||||||
|
@ -46,6 +45,7 @@ static struct
|
||||||
{GUID_WICPixelFormat32bppBGRA, GST_VIDEO_FORMAT_BGRA},
|
{GUID_WICPixelFormat32bppBGRA, GST_VIDEO_FORMAT_BGRA},
|
||||||
{GUID_WICPixelFormat64bppRGBA, GST_VIDEO_FORMAT_RGBA64_LE},
|
{GUID_WICPixelFormat64bppRGBA, GST_VIDEO_FORMAT_RGBA64_LE},
|
||||||
};
|
};
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
gst_wic_pixel_format_to_gst (REFWICPixelFormatGUID guid,
|
gst_wic_pixel_format_to_gst (REFWICPixelFormatGUID guid,
|
||||||
|
|
Loading…
Reference in a new issue