Home
last modified time | relevance | path

Searched refs:format (Results 1 - 25 of 5018) sorted by relevance

12345678910>>...201

/test/xts/acts/multimedia/avsource/entry/src/main/cpp/
H A Daudiodecoderxdlndk.cpp104 static void OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged() argument
107 (void)format; in OnStreamChanged()
146 OH_AVFormat *format = nullptr; in AudioDecoderConfigure() local
147 format = OH_AVFormat_Create(); in AudioDecoderConfigure()
148 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, DEFAULT_SAMPLERATE); in AudioDecoderConfigure()
149 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITRATE, DEFAULT_BITRATE); in AudioDecoderConfigure()
150 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, DEFAULT_CHANNEL_COUNT); in AudioDecoderConfigure()
151 OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, DEFAULT_MAX_INPUT_SIZE); in AudioDecoderConfigure()
152 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, DEFAULT_AAC_TYPE); in AudioDecoderConfigure()
154 return TestInitAVErrCode(env, OH_AudioDecoder_Configure(audioDec, format)); in AudioDecoderConfigure()
159 OH_AVFormat *format = nullptr; AudioDecoderPrepare() local
176 OH_AVFormat *format = nullptr; AudioDecoderStart() local
199 OH_AVFormat *format = nullptr; AudioDecoderStop() local
224 OH_AVFormat *format = nullptr; AudioDecoderFlush() local
250 OH_AVFormat *format = nullptr; AudioDecoderReset() local
276 OH_AVFormat *format = nullptr; AudioDecoderGetOutputDescription() local
303 OH_AVFormat *format = nullptr; AudioDecoderSetParameter() local
333 OH_AVFormat *format = nullptr; AudioDecoderIsValid() local
401 OH_AVFormat *format = nullptr; OHAudioDecoderStartAnormal() local
424 OH_AVFormat *format = nullptr; OHAudioDecoderStartBnormal() local
447 OH_AVFormat *format = nullptr; OHAudioDecoderStartCnormal() local
467 OH_AVFormat *format = nullptr; OHAudioDecoderStopAnormal() local
492 OH_AVFormat *format = nullptr; OHAudioDecoderStopBnormal() local
517 OH_AVFormat *format = nullptr; OHAudioDecoderStopCnormal() local
539 OH_AVFormat *format = nullptr; OHAudioDecoderFlushAnormal() local
565 OH_AVFormat *format = nullptr; OHAudioDecoderFlushBnormal() local
591 OH_AVFormat *format = nullptr; OHAudioDecoderFlushCnormal() local
614 OH_AVFormat *format = nullptr; OHAudioDecoderResetAnormal() local
640 OH_AVFormat *format = nullptr; OHAudioDecoderResetBnormal() local
666 OH_AVFormat *format = nullptr; OHAudioDecoderResetCnormal() local
689 OH_AVFormat *format = nullptr; OHAudioDecoderGetOutputDescriptionAnormal() local
716 OH_AVFormat *format = nullptr; OHAudioDecoderGetOutputDescriptionBnormal() local
743 OH_AVFormat *format = nullptr; OHAudioDecoderGetOutputDescriptionCnormal() local
767 OH_AVFormat *format = nullptr; OHAudioDecoderSetParameterAnormal() local
796 OH_AVFormat *format = nullptr; OHAudioDecoderSetParameterBnormal() local
825 OH_AVFormat *format = nullptr; OHAudioDecoderSetParameterCnormal() local
852 OH_AVFormat *format = nullptr; OHAudioDecoderIsValidAnormal() local
882 OH_AVFormat *format = nullptr; OHAudioDecoderIsValidBnormal() local
912 OH_AVFormat *format = nullptr; OHAudioDecoderIsValidCnormal() local
[all...]
H A DaudioDecoderAvBuffer.cpp104 static void OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged() argument
107 (void)format; in OnStreamChanged()
145 OH_AVFormat *format = nullptr; in AudioDecoderConfigure() local
146 format = OH_AVFormat_Create(); in AudioDecoderConfigure()
147 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, DEFAULT_SAMPLERATE); in AudioDecoderConfigure()
148 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITRATE, DEFAULT_BITRATE); in AudioDecoderConfigure()
149 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, DEFAULT_CHANNEL_COUNT); in AudioDecoderConfigure()
150 OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, DEFAULT_MAX_INPUT_SIZE); in AudioDecoderConfigure()
151 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, DEFAULT_AAC_TYPE); in AudioDecoderConfigure()
153 return TestInitAVErrCode(env, OH_AudioCodec_Configure(audioDec, format)); in AudioDecoderConfigure()
158 OH_AVFormat *format = nullptr; AudioDecoderPrepare() local
175 OH_AVFormat *format = nullptr; AudioDecoderStart() local
198 OH_AVFormat *format = nullptr; AudioDecoderStop() local
223 OH_AVFormat *format = nullptr; AudioDecoderFlush() local
249 OH_AVFormat *format = nullptr; AudioDecoderReset() local
275 OH_AVFormat *format = nullptr; AudioDecoderGetOutputDescription() local
302 OH_AVFormat *format = nullptr; AudioDecoderSetParameter() local
332 OH_AVFormat *format = nullptr; AudioDecoderIsValid() local
400 OH_AVFormat *format = nullptr; OHAudioDecoderStartAnormal() local
423 OH_AVFormat *format = nullptr; OHAudioDecoderStartBnormal() local
446 OH_AVFormat *format = nullptr; OHAudioDecoderStartCnormal() local
466 OH_AVFormat *format = nullptr; OHAudioDecoderStopAnormal() local
491 OH_AVFormat *format = nullptr; OHAudioDecoderStopBnormal() local
516 OH_AVFormat *format = nullptr; OHAudioDecoderStopCnormal() local
538 OH_AVFormat *format = nullptr; OHAudioDecoderFlushAnormal() local
564 OH_AVFormat *format = nullptr; OHAudioDecoderFlushBnormal() local
590 OH_AVFormat *format = nullptr; OHAudioDecoderFlushCnormal() local
613 OH_AVFormat *format = nullptr; OHAudioDecoderResetAnormal() local
639 OH_AVFormat *format = nullptr; OHAudioDecoderResetBnormal() local
665 OH_AVFormat *format = nullptr; OHAudioDecoderResetCnormal() local
688 OH_AVFormat *format = nullptr; OHAudioDecoderGetOutputDescriptionAnormal() local
715 OH_AVFormat *format = nullptr; OHAudioDecoderGetOutputDescriptionBnormal() local
742 OH_AVFormat *format = nullptr; OHAudioDecoderGetOutputDescriptionCnormal() local
766 OH_AVFormat *format = nullptr; OHAudioDecoderSetParameterAnormal() local
795 OH_AVFormat *format = nullptr; OHAudioDecoderSetParameterBnormal() local
824 OH_AVFormat *format = nullptr; OHAudioDecoderSetParameterCnormal() local
851 OH_AVFormat *format = nullptr; OHAudioDecoderIsValidAnormal() local
881 OH_AVFormat *format = nullptr; OHAudioDecoderIsValidBnormal() local
911 OH_AVFormat *format = nullptr; OHAudioDecoderIsValidCnormal() local
939 OH_AVFormat *format = nullptr; OHAudioDecoderPushInputBuffer() local
972 OH_AVFormat *format = nullptr; OHAudioDecoderFreeOutputBuffer() local
1056 OH_AVFormat *format = nullptr; OHAudioDecoderViVid() local
[all...]
H A DaudioEncoderAvBuffer.cpp111 static void OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged() argument
114 (void)format; in OnStreamChanged()
159 OH_AVFormat *format = nullptr; in AudioEncoderConfigure() local
160 format = OH_AVFormat_Create(); in AudioEncoderConfigure()
161 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, DEFAULT_CHANNEL_COUNT); in AudioEncoderConfigure()
162 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, DEFAULT_SAMPLERATE); in AudioEncoderConfigure()
163 OH_AVFormat_SetLongValue(format, OH_MD_KEY_BITRATE, DEFAULT_BITRATE); in AudioEncoderConfigure()
164 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, BITS_PER_CODED_SAMPLE); in AudioEncoderConfigure()
165 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, SAMPLE_FORMAT); in AudioEncoderConfigure()
166 OH_AVFormat_SetLongValue(format, OH_MD_KEY_CHANNEL_LAYOU in AudioEncoderConfigure()
183 OH_AVFormat *format = nullptr; AudioEncoderPrepare() local
207 OH_AVFormat *format = nullptr; AudioEncoderStart() local
232 OH_AVFormat *format = nullptr; AudioEncoderStop() local
259 OH_AVFormat *format = nullptr; AudioEncoderFlush() local
287 OH_AVFormat *format = nullptr; AudioEncoderReset() local
314 OH_AVFormat *format = nullptr; AudioEncoderGetOutputDescription() local
342 OH_AVFormat *format = nullptr; AudioEncoderSetParameter() local
375 OH_AVFormat *format = nullptr; AudioEncoderIsValid() local
[all...]
H A Daudioencoderxdlndk.cpp109 static void OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged() argument
112 (void)format; in OnStreamChanged()
161 OH_AVFormat *format = nullptr; in AudioEncoderConfigure() local
162 format = OH_AVFormat_Create(); in AudioEncoderConfigure()
163 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, DEFAULT_CHANNEL_COUNT); in AudioEncoderConfigure()
164 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, DEFAULT_SAMPLERATE); in AudioEncoderConfigure()
165 OH_AVFormat_SetLongValue(format, OH_MD_KEY_BITRATE, DEFAULT_BITRATE); in AudioEncoderConfigure()
166 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, BITS_PER_CODED_SAMPLE); in AudioEncoderConfigure()
167 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, SAMPLE_FORMAT); in AudioEncoderConfigure()
168 OH_AVFormat_SetLongValue(format, OH_MD_KEY_CHANNEL_LAYOU in AudioEncoderConfigure()
185 OH_AVFormat *format = nullptr; AudioEncoderPrepare() local
209 OH_AVFormat *format = nullptr; AudioEncoderStart() local
234 OH_AVFormat *format = nullptr; AudioEncoderStop() local
261 OH_AVFormat *format = nullptr; AudioEncoderFlush() local
289 OH_AVFormat *format = nullptr; AudioEncoderReset() local
316 OH_AVFormat *format = nullptr; AudioEncoderGetOutputDescription() local
344 OH_AVFormat *format = nullptr; AudioEncoderSetParameter() local
376 OH_AVFormat *format = nullptr; AudioEncoderIsValid() local
[all...]
H A Dvideoencoderndk.cpp188 static void OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged() argument
191 (void)format; in OnStreamChanged()
324 OH_AVFormat *format = nullptr; in OHVideoEncoderConfigure() local
325 format = OH_AVFormat_Create(); in OHVideoEncoderConfigure()
326 OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in OHVideoEncoderConfigure()
327 OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in OHVideoEncoderConfigure()
328 OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, DEFAULT_PIXELFORMAT); in OHVideoEncoderConfigure()
330 checkParam = OH_VideoEncoder_Configure(videoEnc, format); in OHVideoEncoderConfigure()
345 OH_AVFormat *format = nullptr; in OHVideoEncoderConfigureHEVC() local
346 format in OHVideoEncoderConfigureHEVC()
366 OH_AVFormat *format = nullptr; OHVideoEncoderConfigureAbnormal1() local
387 OH_AVFormat *format = nullptr; OHVideoEncoderConfigureAbnormal2() local
408 OH_AVFormat *format = nullptr; OHVideoEncoderConfigureAbnormal3() local
429 OH_AVFormat *format = nullptr; OHVideoEncoderConfigureAbnormal4() local
450 OH_AVFormat *format = nullptr; OHVideoEncoderConfigureAbnormal5() local
471 OH_AVFormat *format = nullptr; OHVideoEncoderConfigureAbnormal6() local
492 OH_AVFormat *format = nullptr; OHVideoEncoderConfigureAbnormal7() local
513 OH_AVFormat *format = nullptr; OHVideoEncoderPrepare() local
535 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareHEVC() local
557 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal1() local
579 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal2() local
601 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal3() local
623 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal4() local
645 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal5() local
667 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal6() local
689 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal7() local
711 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal8() local
733 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal9() local
755 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal10() local
777 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal11() local
799 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal12() local
821 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal13() local
843 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal14() local
865 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal15() local
904 OH_AVFormat *format = nullptr; OHVideoEncoderStart() local
981 OH_AVFormat *format = nullptr; OHVideoEncoderStop() local
1063 OH_AVFormat *format = nullptr; OHVideoEncoderFlush() local
1146 OH_AVFormat *format = nullptr; OHVideoEncoderReset() local
1227 OH_AVFormat *format = nullptr; OHVideoEncoderGetOutputDescription() local
1289 OH_AVFormat *format = nullptr; OHVideoEncoderSetParameter() local
1315 OH_AVFormat *format = nullptr; OHVideoEncoderSetParameterHEVC() local
1341 OH_AVFormat *format = nullptr; OHVideoEncoderSetParameterAbnormal() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_fourcc.c4 * DRM core format related functions
38 * Computes a drm fourcc pixel format code for the given @bpp/@depth values.
114 * Computes a drm fourcc pixel format code for the given @bpp/@depth values.
144 * Internal function to query information for a given format. See
147 const struct drm_format_info *__drm_format_info(u32 format) in __drm_format_info() argument
150 { .format = DRM_FORMAT_C1, .depth = 1, .num_planes = 1, in __drm_format_info()
152 { .format = DRM_FORMAT_C2, .depth = 2, .num_planes = 1, in __drm_format_info()
154 { .format = DRM_FORMAT_C4, .depth = 4, .num_planes = 1, in __drm_format_info()
156 { .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1, .is_color_indexed = true }, in __drm_format_info()
157 { .format in __drm_format_info()
336 drm_format_info(u32 format) drm_format_info() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_fourcc.c4 * DRM core format related functions
43 * Computes a drm fourcc pixel format code for the given @bpp/@depth values.
104 * Computes a drm fourcc pixel format code for the given @bpp/@depth values.
134 * drm_get_format_name - fill a string with a drm fourcc format's name
135 * @format: format to compute name of
138 const char *drm_get_format_name(uint32_t format, struct drm_format_name_buf *buf) in drm_get_format_name() argument
142 printable_char(format & 0xff), in drm_get_format_name()
143 printable_char((format >> 8) & 0xff), in drm_get_format_name()
144 printable_char((format >> 1 in drm_get_format_name()
157 __drm_format_info(u32 format) __drm_format_info() argument
319 drm_format_info(u32 format) drm_format_info() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
H A Dvsp1_drm.c69 struct v4l2_subdev_format format; in vsp1_du_insert_uif() local
85 memset(&format, 0, sizeof(format)); in vsp1_du_insert_uif()
86 format.which = V4L2_SUBDEV_FORMAT_ACTIVE; in vsp1_du_insert_uif()
87 format.pad = prev_pad; in vsp1_du_insert_uif()
89 ret = v4l2_subdev_call(&prev->subdev, pad, get_fmt, NULL, &format); in vsp1_du_insert_uif()
93 format.pad = UIF_PAD_SINK; in vsp1_du_insert_uif()
95 ret = v4l2_subdev_call(&uif->subdev, pad, set_fmt, NULL, &format); in vsp1_du_insert_uif()
99 dev_dbg(vsp1->dev, "%s: set format %ux%u (%x) on UIF sink\n", in vsp1_du_insert_uif()
100 __func__, format in vsp1_du_insert_uif()
122 struct v4l2_subdev_format format; vsp1_du_pipeline_setup_rpf() local
232 struct v4l2_subdev_format format = { vsp1_du_pipeline_setup_brx() local
480 struct v4l2_subdev_format format = { 0, }; vsp1_du_pipeline_setup_output() local
[all...]
H A Dvsp1_rwpf.c65 struct v4l2_mbus_framefmt *format; in vsp1_rwpf_set_format() local
76 /* Default to YUV if the requested format is not supported. */ in vsp1_rwpf_set_format()
77 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && in vsp1_rwpf_set_format()
78 fmt->format.code != MEDIA_BUS_FMT_AHSV8888_1X32 && in vsp1_rwpf_set_format()
79 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) in vsp1_rwpf_set_format()
80 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; in vsp1_rwpf_set_format()
82 format = vsp1_entity_get_pad_format(&rwpf->entity, config, fmt->pad); in vsp1_rwpf_set_format()
86 * The RWPF performs format conversion but can't scale, only the in vsp1_rwpf_set_format()
87 * format code can be changed on the source pad. in vsp1_rwpf_set_format()
89 format in vsp1_rwpf_set_format()
136 struct v4l2_mbus_framefmt *format; vsp1_rwpf_get_selection() local
184 struct v4l2_mbus_framefmt *format; vsp1_rwpf_set_selection() local
[all...]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Dutprint.c309 * format - Standard printf format
318 int vsnprintf(char *string, acpi_size size, const char *format, va_list args) in vsnprintf() argument
342 for (; *format; ++format) { in vsnprintf()
343 if (*format != '%') { in vsnprintf()
344 pos = acpi_ut_bound_string_output(pos, end, *format); in vsnprintf()
354 ++format; in vsnprintf()
355 if (*format == '#') { in vsnprintf()
357 } else if (*format in vsnprintf()
571 snprintf(char *string, acpi_size size, const char *format, ...) snprintf() argument
596 sprintf(char *string, const char *format, ...) sprintf() argument
622 vprintf(const char *format, va_list args) vprintf() argument
649 printf(const char *format, ...) printf() argument
675 vfprintf(FILE * file, const char *format, va_list args) vfprintf() argument
703 fprintf(FILE * file, const char *format, ...) fprintf() argument
[all...]
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Dutprint.c309 * format - Standard printf format
318 int vsnprintf(char *string, acpi_size size, const char *format, va_list args) in vsnprintf() argument
342 for (; *format; ++format) { in vsnprintf()
343 if (*format != '%') { in vsnprintf()
344 pos = acpi_ut_bound_string_output(pos, end, *format); in vsnprintf()
354 ++format; in vsnprintf()
355 if (*format == '#') { in vsnprintf()
357 } else if (*format in vsnprintf()
571 snprintf(char *string, acpi_size size, const char *format, ...) snprintf() argument
596 sprintf(char *string, const char *format, ...) sprintf() argument
622 vprintf(const char *format, va_list args) vprintf() argument
649 printf(const char *format, ...) printf() argument
675 vfprintf(FILE * file, const char *format, va_list args) vfprintf() argument
703 fprintf(FILE * file, const char *format, ...) fprintf() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/
H A Dvsp1_drm.c69 struct v4l2_subdev_format format = { in vsp1_du_insert_uif() local
87 format.pad = prev_pad; in vsp1_du_insert_uif()
89 ret = v4l2_subdev_call(&prev->subdev, pad, get_fmt, NULL, &format); in vsp1_du_insert_uif()
93 format.pad = UIF_PAD_SINK; in vsp1_du_insert_uif()
95 ret = v4l2_subdev_call(&uif->subdev, pad, set_fmt, NULL, &format); in vsp1_du_insert_uif()
99 dev_dbg(vsp1->dev, "%s: set format %ux%u (%x) on UIF sink\n", in vsp1_du_insert_uif()
100 __func__, format.format.width, format.format in vsp1_du_insert_uif()
124 struct v4l2_subdev_format format = { vsp1_du_pipeline_setup_rpf() local
232 struct v4l2_subdev_format format = { vsp1_du_pipeline_setup_brx() local
484 struct v4l2_subdev_format format = { vsp1_du_pipeline_setup_output() local
[all...]
H A Dvsp1_rwpf.c66 struct v4l2_mbus_framefmt *format; in vsp1_rwpf_set_format() local
78 /* Default to YUV if the requested format is not supported. */ in vsp1_rwpf_set_format()
79 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && in vsp1_rwpf_set_format()
80 fmt->format.code != MEDIA_BUS_FMT_AHSV8888_1X32 && in vsp1_rwpf_set_format()
81 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) in vsp1_rwpf_set_format()
82 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; in vsp1_rwpf_set_format()
84 format = vsp1_entity_get_pad_format(&rwpf->entity, config, fmt->pad); in vsp1_rwpf_set_format()
88 * The RWPF performs format conversion but can't scale, only the in vsp1_rwpf_set_format()
89 * format code can be changed on the source pad. in vsp1_rwpf_set_format()
91 format in vsp1_rwpf_set_format()
138 struct v4l2_mbus_framefmt *format; vsp1_rwpf_get_selection() local
187 struct v4l2_mbus_framefmt *format; vsp1_rwpf_set_selection() local
[all...]
/test/xts/acts/multimedia/av_codec/vcodec/encoder/src/
H A Dapi_test.cpp37 OH_AVFormat *format; member
106 if (format != nullptr) { in TearDown()
107 OH_AVFormat_Destroy(format); in TearDown()
108 format = nullptr; in TearDown()
253 format = OH_AVFormat_Create(); in HWTEST_F()
254 ASSERT_NE(nullptr, format); in HWTEST_F()
255 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITRATE, 100000); in HWTEST_F()
256 ret = OH_VideoEncoder_Configure(venc_, format); in HWTEST_F()
315 format = OH_VideoEncoder_GetOutputDescription(nullptr); in HWTEST_F()
316 ASSERT_EQ(format, nullpt in HWTEST_F()
[all...]
H A Dvideoenc_api11_sample.cpp62 static void VencFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in VencFormatChanged() argument
126 OH_AVFormat *format = OH_AVBuffer_GetParameter(buffer); in DumpLtrInfo() local
129 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PER_FRAME_IS_LTR, &isLtr); in DumpLtrInfo()
130 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PER_FRAME_POC, &framePoc); in DumpLtrInfo()
153 OH_AVFormat *format = OH_AVFormat_Create(); in ConfigureVideoEncoder() local
154 if (format == nullptr) { in ConfigureVideoEncoder()
155 cout << "Fatal: Failed to create format" << endl; in ConfigureVideoEncoder()
158 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in ConfigureVideoEncoder()
159 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in ConfigureVideoEncoder()
160 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMA in ConfigureVideoEncoder()
179 OH_AVFormat *format = OH_AVFormat_Create(); ConfigureVideoEncoder_Temporal() local
213 OH_AVFormat *format = OH_AVFormat_Create(); ConfigureVideoEncoder_fuzz() local
309 OH_AVFormat *format = OH_AVFormat_Create(); testApi() local
345 OH_AVFormat *format = OH_VideoEncoder_GetInputDescription(venc_); GetStride() local
598 OH_AVFormat *format = OH_AVFormat_Create(); AutoSwitchParam() local
616 OH_AVFormat *format = OH_AVFormat_Create(); AutoSwitchParam() local
654 OH_AVFormat *format = OH_AVFormat_Create(); SetForceIDR() local
665 OH_AVFormat *format = OH_AVFormat_Create(); SetLTRParameter() local
688 OH_AVFormat *format = OH_AVFormat_Create(); SetBufferParameter() local
698 OH_AVFormat *format = OH_AVFormat_Create(); SetBufferParameter() local
958 SetParameter(OH_AVFormat *format) SetParameter() argument
[all...]
/test/xts/acts/multimedia/av_codec/audio_decoder/src/
H A Dparam_check_test.cpp160 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local
168 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F()
172 format = OH_AVFormat_Create(); in HWTEST_F()
176 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F()
180 format = OH_AVFormat_Create(); in HWTEST_F()
184 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F()
188 format = OH_AVFormat_Create(); in HWTEST_F()
192 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F()
207 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local
215 result0 = aDecBufferDemo->Configure(codec, format, channe in HWTEST_F()
334 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
381 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
484 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
531 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
634 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
673 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
712 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
751 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
790 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
829 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
868 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
903 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
[all...]
/test/xts/acts/arkui/libuv/
H A Dgenlocal.py69 suiteitemcap = "{}{}".format(suiteitem[:1].upper(), suiteitem[1:])
72 hapdirpath = "{}{}".format(G_HAPDIRPATH, suiteitem.lower())
74 run_cmd(r"rm -rf {}".format(hapdirpath))
75 run_cmd(r"cp {} {} -r".format(G_TMPDIRPATH, hapdirpath))
77 run_cmd(r"cp {} {} -r".format(G_TMPDIRPATH, hapdirpath))
79 mustpass = os.path.join(G_MUSTPASSPATH, "{}{}".format(suiteitem, G_MUSTPASSFILE))
98 casenamecap = "{}{}".format(casename[:1].upper(), casename[1:])
99 pagenametext = "{}-{}".format(suitename, casenamecap)
100 pagefilename = os.path.join(hapdirpath, G_PATHDIRPATH, "{}.ets".format(suitename))
107 run_cmd(r"sed -i '{}a {}' {}".format(in
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/omap4iss/
H A Diss_ipipe.c85 struct v4l2_mbus_framefmt *format; in ipipe_configure() local
88 format = &ipipe->formats[IPIPE_PAD_SINK]; in ipipe_configure()
101 (format->height - 2) & IPIPE_SRC_VSZ_MASK); in ipipe_configure()
103 (format->width - 1) & IPIPE_SRC_HSZ_MASK); in ipipe_configure()
115 format = &ipipe->formats[IPIPE_PAD_SOURCE_VP]; in ipipe_configure()
189 * ipipe_try_format - Try video format on a pad
202 struct v4l2_mbus_framefmt *format; in ipipe_try_format() local
225 format = __ipipe_get_format(ipipe, cfg, IPIPE_PAD_SINK, which); in ipipe_try_format()
226 memcpy(fmt, format, sizeof(*fmt)); in ipipe_try_format()
239 * ipipe_enum_mbus_code - Handle pixel format enumeratio
277 struct v4l2_mbus_framefmt format; ipipe_enum_frame_size() local
316 struct v4l2_mbus_framefmt *format; ipipe_get_format() local
340 struct v4l2_mbus_framefmt *format; ipipe_set_format() local
387 struct v4l2_subdev_format format; ipipe_init_formats() local
[all...]
H A Diss_ipipeif.c125 struct v4l2_mbus_framefmt *format; in ipipeif_configure() local
131 format = &ipipeif->formats[IPIPEIF_PAD_SINK]; in ipipeif_configure()
137 /* Select ISIF/IPIPEIF input format */ in ipipeif_configure()
138 switch (format->code) { in ipipeif_configure()
182 info = omap4iss_video_format_info(format->code); in ipipeif_configure()
195 (format->width - 1) & ISIF_LNH_MASK); in ipipeif_configure()
197 (format->height - 1) & ISIF_LNV_MASK); in ipipeif_configure()
201 format->height - 1); in ipipeif_configure()
204 format = &ipipeif->formats[IPIPEIF_PAD_SOURCE_ISIF_SF]; in ipipeif_configure()
369 * ipipeif_try_format - Try video format o
381 struct v4l2_mbus_framefmt *format; ipipeif_try_format() local
449 struct v4l2_mbus_framefmt *format; ipipeif_enum_mbus_code() local
483 struct v4l2_mbus_framefmt format; ipipeif_enum_frame_size() local
522 struct v4l2_mbus_framefmt *format; ipipeif_get_format() local
546 struct v4l2_mbus_framefmt *format; ipipeif_set_format() local
603 struct v4l2_subdev_format format; ipipeif_init_formats() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/omap4iss/
H A Diss_ipipe.c85 struct v4l2_mbus_framefmt *format; in ipipe_configure() local
88 format = &ipipe->formats[IPIPE_PAD_SINK]; in ipipe_configure()
101 (format->height - 2) & IPIPE_SRC_VSZ_MASK); in ipipe_configure()
103 (format->width - 1) & IPIPE_SRC_HSZ_MASK); in ipipe_configure()
115 format = &ipipe->formats[IPIPE_PAD_SOURCE_VP]; in ipipe_configure()
190 * ipipe_try_format - Try video format on a pad
203 struct v4l2_mbus_framefmt *format; in ipipe_try_format() local
226 format = __ipipe_get_format(ipipe, sd_state, IPIPE_PAD_SINK, in ipipe_try_format()
228 memcpy(fmt, format, sizeof(*fmt)); in ipipe_try_format()
241 * ipipe_enum_mbus_code - Handle pixel format enumeratio
279 struct v4l2_mbus_framefmt format; ipipe_enum_frame_size() local
318 struct v4l2_mbus_framefmt *format; ipipe_get_format() local
342 struct v4l2_mbus_framefmt *format; ipipe_set_format() local
390 struct v4l2_subdev_format format; ipipe_init_formats() local
[all...]
H A Diss_ipipeif.c125 struct v4l2_mbus_framefmt *format; in ipipeif_configure() local
131 format = &ipipeif->formats[IPIPEIF_PAD_SINK]; in ipipeif_configure()
137 /* Select ISIF/IPIPEIF input format */ in ipipeif_configure()
138 switch (format->code) { in ipipeif_configure()
182 info = omap4iss_video_format_info(format->code); in ipipeif_configure()
195 (format->width - 1) & ISIF_LNH_MASK); in ipipeif_configure()
197 (format->height - 1) & ISIF_LNV_MASK); in ipipeif_configure()
201 format->height - 1); in ipipeif_configure()
204 format = &ipipeif->formats[IPIPEIF_PAD_SOURCE_ISIF_SF]; in ipipeif_configure()
370 * ipipeif_try_format - Try video format o
382 struct v4l2_mbus_framefmt *format; ipipeif_try_format() local
452 struct v4l2_mbus_framefmt *format; ipipeif_enum_mbus_code() local
487 struct v4l2_mbus_framefmt format; ipipeif_enum_frame_size() local
526 struct v4l2_mbus_framefmt *format; ipipeif_get_format() local
550 struct v4l2_mbus_framefmt *format; ipipeif_set_format() local
610 struct v4l2_subdev_format format; ipipeif_init_formats() local
[all...]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
H A Dv4l2-common.c234 const struct v4l2_format_info *v4l2_format_info(u32 format) in v4l2_format_info() argument
238 { .format = V4L2_PIX_FMT_BGR24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
239 { .format = V4L2_PIX_FMT_RGB24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
240 { .format = V4L2_PIX_FMT_HSV24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
241 { .format = V4L2_PIX_FMT_BGR32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
242 { .format = V4L2_PIX_FMT_XBGR32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
243 { .format = V4L2_PIX_FMT_BGRX32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
244 { .format = V4L2_PIX_FMT_RGB32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
245 { .format = V4L2_PIX_FMT_XRGB32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
246 { .format in v4l2_format_info()
[all...]
/kernel/linux/linux-5.10/scripts/gdb/linux/
H A Dtimerlist.py38 text = " #{}: <{}>, {}, ".format(idx, timer, function)
39 text += "S:{:02x}\n".format(int(timer['state']))
40 text += " # expires at {}-{} nsecs [in {} to {} nsecs]\n".format(
56 text = " .base: {}\n".format(base.address)
57 text += " .index: {}\n".format(base['index'])
59 text += " .resolution: {} nsecs\n".format(constants.LX_hrtimer_resolution)
61 text += " .get_time: {}\n".format(base['get_time'])
63 text += " .offset: {} nsecs\n".format(base['offset'])
75 text = "cpu: {}\n".format(cpu)
77 text += " clock {}:\n".format(
[all...]
/kernel/linux/linux-6.6/scripts/gdb/linux/
H A Dtimerlist.py38 text = " #{}: <{}>, {}, ".format(idx, timer, function)
39 text += "S:{:02x}\n".format(int(timer['state']))
40 text += " # expires at {}-{} nsecs [in {} to {} nsecs]\n".format(
55 text = " .base: {}\n".format(base.address)
56 text += " .index: {}\n".format(base['index'])
58 text += " .resolution: {} nsecs\n".format(constants.LX_hrtimer_resolution)
60 text += " .get_time: {}\n".format(base['get_time'])
62 text += " .offset: {} nsecs\n".format(base['offset'])
74 text = "cpu: {}\n".format(cpu)
76 text += " clock {}:\n".format(
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/
H A Dplane.c64 copy->format = state->format; in tegra_plane_atomic_duplicate_state()
108 uint32_t format, in tegra_plane_format_mod_supported()
111 const struct drm_format_info *info = drm_format_info(format); in tegra_plane_format_mod_supported()
145 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_pin()
193 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_unpin()
246 fmt = state->fb->format; in tegra_plane_calculate_memory_bandwidth()
250 * Note that real memory bandwidth vary depending on format and in tegra_plane_calculate_memory_bandwidth()
326 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap) in tegra_plane_format() argument
334 *format in tegra_plane_format()
107 tegra_plane_format_mod_supported(struct drm_plane *plane, uint32_t format, uint64_t modifier) tegra_plane_format_mod_supported() argument
476 tegra_plane_format_is_indexed(unsigned int format) tegra_plane_format_is_indexed() argument
489 tegra_plane_format_is_yuv(unsigned int format, unsigned int *planes, unsigned int *bpc) tegra_plane_format_is_yuv() argument
540 __drm_format_has_alpha(u32 format) __drm_format_has_alpha() argument
593 unsigned int format; tegra_plane_setup_opacity() local
[all...]

Completed in 21 milliseconds

12345678910>>...201