Home
last modified time | relevance | path

Searched refs:codec (Results 251 - 275 of 1188) sorted by relevance

1...<<11121314151617181920>>...48

/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Avbuffer/src/
H A Davcodec_audio_avbuffer_decoder_demo.cpp48 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError() argument
50 (void)codec; in OnError()
56 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument
58 (void)codec; in OnOutputFormatChanged()
64 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnInputBufferAvailable() argument
66 (void)codec; in OnInputBufferAvailable()
74 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnOutputBufferAvailable() argument
76 (void)codec; in OnOutputBufferAvailable()
698 OH_AVErrCode ADecBufferDemo::SetCallback(OH_AVCodec *codec) in SetCallback() argument
701 return OH_AudioCodec_RegisterCallback(codec, cb in SetCallback()
723 Destroy(OH_AVCodec *codec) Destroy() argument
729 IsValid(OH_AVCodec *codec, bool *isValid) IsValid() argument
734 Prepare(OH_AVCodec *codec) Prepare() argument
739 Start(OH_AVCodec *codec) Start() argument
744 Stop(OH_AVCodec *codec) Stop() argument
750 Flush(OH_AVCodec *codec) Flush() argument
756 Reset(OH_AVCodec *codec) Reset() argument
761 GetOutputDescription(OH_AVCodec *codec) GetOutputDescription() argument
766 FreeOutputData(OH_AVCodec *codec, uint32_t index) FreeOutputData() argument
771 PushInputData(OH_AVCodec *codec, uint32_t index) PushInputData() argument
826 PushInputDataEOS(OH_AVCodec *codec, uint32_t index) PushInputDataEOS() argument
843 Configure(OH_AVCodec *codec, OH_AVFormat *format, int32_t channel, int32_t sampleRate) Configure() argument
858 SetParameter(OH_AVCodec *codec, OH_AVFormat *format, int32_t channel, int32_t sampleRate) SetParameter() argument
[all...]
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderreset_fuzzer/
H A Daudio_decoder_reset_demo.cpp47 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError() argument
49 (void)codec; in OnError()
54 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument
56 (void)codec; in OnOutputFormatChanged()
62 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnInputBufferAvailable() argument
64 (void)codec; in OnInputBufferAvailable()
72 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnOutputBufferAvailable() argument
74 (void)codec; in OnOutputBufferAvailable()
459 OH_AVErrCode ADecBufferDemo::SetCallback(OH_AVCodec* codec)
462 return OH_AudioCodec_RegisterCallback(codec, cb
[all...]
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderdescription_fuzzer/
H A Daudio_decoder_description_demo.cpp47 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError() argument
49 (void)codec; in OnError()
54 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument
56 (void)codec; in OnOutputFormatChanged()
62 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnInputBufferAvailable() argument
64 (void)codec; in OnInputBufferAvailable()
72 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnOutputBufferAvailable() argument
74 (void)codec; in OnOutputBufferAvailable()
459 OH_AVErrCode ADecBufferDemo::SetCallback(OH_AVCodec* codec)
462 return OH_AudioCodec_RegisterCallback(codec, cb
[all...]
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderflush_fuzzer/
H A Daudio_decoder_flush_demo.cpp47 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError() argument
49 (void)codec; in OnError()
54 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument
56 (void)codec; in OnOutputFormatChanged()
62 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnInputBufferAvailable() argument
64 (void)codec; in OnInputBufferAvailable()
72 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnOutputBufferAvailable() argument
74 (void)codec; in OnOutputBufferAvailable()
459 OH_AVErrCode ADecBufferDemo::SetCallback(OH_AVCodec* codec)
462 return OH_AudioCodec_RegisterCallback(codec, cb
[all...]
/foundation/multimedia/av_codec/test/fuzztest/audiodecoder_fuzzer/
H A Daudio_decoder_demo.cpp48 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError() argument
50 (void)codec; in OnError()
55 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument
57 (void)codec; in OnOutputFormatChanged()
63 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnInputBufferAvailable() argument
65 (void)codec; in OnInputBufferAvailable()
73 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnOutputBufferAvailable() argument
75 (void)codec; in OnOutputBufferAvailable()
500 OH_AVErrCode ADecBufferDemo::SetCallback(OH_AVCodec* codec)
503 return OH_AudioCodec_RegisterCallback(codec, cb
[all...]
/test/xts/acts/multimedia/av_codec/audio_decoder/src/
H A Davcodec_audio_avbuffer_decoder_demo.cpp48 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError() argument
50 (void)codec; in OnError()
56 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument
58 (void)codec; in OnOutputFormatChanged()
64 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnInputBufferAvailable() argument
66 (void)codec; in OnInputBufferAvailable()
74 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnOutputBufferAvailable() argument
76 (void)codec; in OnOutputBufferAvailable()
698 OH_AVErrCode ADecBufferDemo::SetCallback(OH_AVCodec *codec) in SetCallback() argument
701 return OH_AudioCodec_RegisterCallback(codec, cb in SetCallback()
723 Destroy(OH_AVCodec *codec) Destroy() argument
729 IsValid(OH_AVCodec *codec, bool *isValid) IsValid() argument
734 Prepare(OH_AVCodec *codec) Prepare() argument
739 Start(OH_AVCodec *codec) Start() argument
744 Stop(OH_AVCodec *codec) Stop() argument
750 Flush(OH_AVCodec *codec) Flush() argument
756 Reset(OH_AVCodec *codec) Reset() argument
761 GetOutputDescription(OH_AVCodec *codec) GetOutputDescription() argument
766 FreeOutputData(OH_AVCodec *codec, uint32_t index) FreeOutputData() argument
771 PushInputData(OH_AVCodec *codec, uint32_t index) PushInputData() argument
825 PushInputDataEOS(OH_AVCodec *codec, uint32_t index) PushInputDataEOS() argument
842 Configure(OH_AVCodec *codec, OH_AVFormat *format, int32_t channel, int32_t sampleRate) Configure() argument
857 SetParameter(OH_AVCodec *codec, OH_AVFormat *format, int32_t channel, int32_t sampleRate) SetParameter() argument
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/video_codec/video_codec/
H A Dcodec_callback.h25 static void OnCodecError(OH_AVCodec *codec, int32_t errorCode, void *userData);
26 static void OnCodecFormatChange(OH_AVCodec *codec, OH_AVFormat *format, void *userData);
27 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *userData);
28 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data,
30 static void OnNeedInputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData);
31 static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData);
/foundation/multimedia/av_codec/test/nativedemo/e2e_demo/
H A Davcodec_e2e_demo_api10.cpp63 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError() argument
65 (void)codec; in OnError()
70 static void OnDecStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnDecStreamChanged() argument
72 (void)codec; in OnDecStreamChanged()
77 static void OnDecInputDataAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *userData) in OnDecInputDataAvailable() argument
82 OH_VideoDecoder_PushInputData(codec, index, info); in OnDecInputDataAvailable()
85 static void sortFrame(OH_AVCodec *codec, uint32_t index, int32_t pts, uint32_t duration) in sortFrame() argument
95 OH_VideoDecoder_RenderOutputData(codec, first.index); in sortFrame()
101 static void OnDecOutputDataAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, in OnDecOutputDataAvailable() argument
109 OH_VideoDecoder_RenderOutputData(codec, firs in OnDecOutputDataAvailable()
118 OnEncStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) OnEncStreamChanged() argument
123 OnEncInputDataAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *userData) OnEncInputDataAvailable() argument
131 OnEncOutputDataAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, OH_AVCodecBufferAttr *attr, void *userData) OnEncOutputDataAvailable() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/meson/
H A Dmeson-card-utils.c146 struct snd_soc_dai_link_component *codec; in meson_card_set_be_link() local
152 dev_err(card->dev, "be link %s has no codec\n", in meson_card_set_be_link()
157 codec = devm_kcalloc(card->dev, num_codecs, sizeof(*codec), GFP_KERNEL); in meson_card_set_be_link()
158 if (!codec) in meson_card_set_be_link()
161 link->codecs = codec; in meson_card_set_be_link()
165 ret = meson_card_parse_dai(card, np, &codec->of_node, in meson_card_set_be_link()
166 &codec->dai_name); in meson_card_set_be_link()
172 codec++; in meson_card_set_be_link()
188 struct snd_soc_dai_link_component *codec; in meson_card_set_fe_link() local
261 struct snd_soc_dai_link_component *codec; meson_card_clean_references() local
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/avs/boards/
H A Dhdaudio.c17 static int avs_create_dai_links(struct device *dev, struct hda_codec *codec, int pcm_count, in avs_create_dai_links() argument
23 const char *cname = dev_name(&codec->core.dev); in avs_create_dai_links()
32 pcm = list_first_entry(&codec->pcm_list_head, struct hda_pcm, list); in avs_create_dai_links()
100 struct hda_codec *codec = mach->pdata; in avs_card_late_probe() local
105 list_for_each_entry(hpcm, &codec->pcm_list_head, list) { in avs_card_late_probe()
123 return hda_codec_probe_complete(codec); in avs_card_late_probe()
131 struct hda_codec *codec; in avs_probing_link_init() local
136 codec = mach->pdata; in avs_probing_link_init()
138 if (list_empty(&codec->pcm_list_head)) in avs_probing_link_init()
140 list_for_each_entry(pcm, &codec in avs_probing_link_init()
178 struct hda_codec *codec; avs_hdaudio_probe() local
[all...]
/third_party/skia/src/android/
H A DSkAnimatedImage.cpp9 #include "include/codec/SkAndroidCodec.h"
10 #include "include/codec/SkCodec.h"
15 #include "src/codec/SkCodecPriv.h"
22 sk_sp<SkAnimatedImage> SkAnimatedImage::Make(std::unique_ptr<SkAndroidCodec> codec, in Make() argument
24 if (!codec) { in Make()
32 auto image = sk_sp<SkAnimatedImage>(new SkAnimatedImage(std::move(codec), requestedInfo, in Make()
42 sk_sp<SkAnimatedImage> SkAnimatedImage::Make(std::unique_ptr<SkAndroidCodec> codec) { in Make() argument
43 if (!codec) { in Make()
47 auto decodeInfo = codec->getInfo(); in Make()
48 const auto origin = codec in Make()
56 SkAnimatedImage(std::unique_ptr<SkAndroidCodec> codec, const SkImageInfo& requestedInfo, SkIRect cropRect, sk_sp<SkPicture> postProcess) SkAnimatedImage() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/generic/
H A Dsimple-card.c97 struct device_node *codec, in simple_parse_mclk_fs()
110 of_property_read_u32(codec, prop, &props->mclk_fs); in simple_parse_mclk_fs()
117 struct device_node *codec, in simple_dai_link_of_dpcm()
138 if (li->cpu == (np == codec)) in simple_dai_link_of_dpcm()
221 simple_parse_mclk_fs(top, np, codec, dai_props, prefix); in simple_dai_link_of_dpcm()
229 ret = asoc_simple_parse_daifmt(dev, node, codec, in simple_dai_link_of_dpcm()
246 struct device_node *codec, in simple_dai_link_of()
269 if (!li->cpu || np == codec) in simple_dai_link_of()
290 ret = asoc_simple_parse_daifmt(dev, node, codec, in simple_dai_link_of()
295 simple_parse_mclk_fs(top, cpu, codec, dai_prop in simple_dai_link_of()
95 simple_parse_mclk_fs(struct device_node *top, struct device_node *cpu, struct device_node *codec, struct simple_dai_props *props, char *prefix) simple_parse_mclk_fs() argument
115 simple_dai_link_of_dpcm(struct asoc_simple_priv *priv, struct device_node *np, struct device_node *codec, struct link_info *li, bool is_top) simple_dai_link_of_dpcm() argument
244 simple_dai_link_of(struct asoc_simple_priv *priv, struct device_node *np, struct device_node *codec, struct link_info *li, bool is_top) simple_dai_link_of() argument
345 simple_for_each_link(struct asoc_simple_priv *priv, struct link_info *li, int (*func_noml)(struct asoc_simple_priv *priv, struct device_node *np, struct device_node *codec, struct link_info *li, bool is_top), int (*func_dpcm)(struct asoc_simple_priv *priv, struct device_node *np, struct device_node *codec, struct link_info *li, bool is_top)) simple_for_each_link() argument
373 struct device_node *codec; simple_for_each_link() local
482 simple_count_noml(struct asoc_simple_priv *priv, struct device_node *np, struct device_node *codec, struct link_info *li, bool is_top) simple_count_noml() argument
494 simple_count_dpcm(struct asoc_simple_priv *priv, struct device_node *np, struct device_node *codec, struct link_info *li, bool is_top) simple_count_dpcm() argument
[all...]
/third_party/skia/src/codec/
H A DSkAndroidCodecAdapter.cpp8 #include "src/codec/SkAndroidCodecAdapter.h"
9 #include "src/codec/SkCodecPriv.h"
11 SkAndroidCodecAdapter::SkAndroidCodecAdapter(SkCodec* codec) in SkAndroidCodecAdapter() argument
12 : INHERITED(codec) in SkAndroidCodecAdapter()
17 return this->codec()->getScaledDimensions(scale); in onGetSampledDimensions()
21 return this->codec()->getValidSubset(desiredSubset); in onGetSupportedSubset()
26 return this->codec()->getPixels(info, pixels, rowBytes, &options); in onGetAndroidPixels()
/third_party/ffmpeg/libavcodec/
H A Dmediacodecdec_common.c45 * codec workarounds used in various place are taken from the Gstreamer
234 if (s->codec) { in ff_mediacodec_dec_unref()
235 ff_AMediaCodec_delete(s->codec); in ff_mediacodec_dec_unref()
236 s->codec = NULL; in ff_mediacodec_dec_unref()
265 ff_AMediaCodec_releaseOutputBuffer(ctx->codec, buffer->index, 0); in mediacodec_buffer_release()
341 status = ff_AMediaCodec_releaseOutputBuffer(s->codec, index, 0); in mediacodec_wrap_hw_buffer()
419 status = ff_AMediaCodec_releaseOutputBuffer(s->codec, index, 0); in mediacodec_wrap_sw_buffer()
534 FFAMediaCodec *codec = s->codec; in mediacodec_dec_flush_codec() local
546 status = ff_AMediaCodec_flush(codec); in mediacodec_dec_flush_codec()
663 FFAMediaCodec *codec = s->codec; ff_mediacodec_dec_send() local
757 FFAMediaCodec *codec = s->codec; ff_mediacodec_dec_receive() local
[all...]
H A Dlibdav1d.c504 fgp->codec.aom.num_y_points = p->frame_hdr->film_grain.data.num_y_points; in libdav1d_receive_frame()
505 fgp->codec.aom.chroma_scaling_from_luma = p->frame_hdr->film_grain.data.chroma_scaling_from_luma; in libdav1d_receive_frame()
506 fgp->codec.aom.scaling_shift = p->frame_hdr->film_grain.data.scaling_shift; in libdav1d_receive_frame()
507 fgp->codec.aom.ar_coeff_lag = p->frame_hdr->film_grain.data.ar_coeff_lag; in libdav1d_receive_frame()
508 fgp->codec.aom.ar_coeff_shift = p->frame_hdr->film_grain.data.ar_coeff_shift; in libdav1d_receive_frame()
509 fgp->codec.aom.grain_scale_shift = p->frame_hdr->film_grain.data.grain_scale_shift; in libdav1d_receive_frame()
510 fgp->codec.aom.overlap_flag = p->frame_hdr->film_grain.data.overlap_flag; in libdav1d_receive_frame()
511 fgp->codec.aom.limit_output_range = p->frame_hdr->film_grain.data.clip_to_restricted_range; in libdav1d_receive_frame()
513 memcpy(&fgp->codec.aom.y_points, &p->frame_hdr->film_grain.data.y_points, in libdav1d_receive_frame()
514 sizeof(fgp->codec in libdav1d_receive_frame()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
H A Dhfi_platform.h29 u32 codec; member
50 unsigned long (*codec_vpp_freq)(u32 session_type, u32 codec);
51 unsigned long (*codec_vsp_freq)(u32 session_type, u32 codec);
52 unsigned long (*codec_lp_freq)(u32 session_type, u32 codec);
63 unsigned long hfi_platform_get_codec_vpp_freq(enum hfi_version version, u32 codec,
65 unsigned long hfi_platform_get_codec_vsp_freq(enum hfi_version version, u32 codec,
67 unsigned long hfi_platform_get_codec_lp_freq(enum hfi_version version, u32 codec,
H A Dhfi_platform.c24 hfi_platform_get_codec_vpp_freq(enum hfi_version version, u32 codec, u32 session_type) in hfi_platform_get_codec_vpp_freq() argument
34 freq = plat->codec_vpp_freq(session_type, codec); in hfi_platform_get_codec_vpp_freq()
40 hfi_platform_get_codec_vsp_freq(enum hfi_version version, u32 codec, u32 session_type) in hfi_platform_get_codec_vsp_freq() argument
50 freq = plat->codec_vsp_freq(session_type, codec); in hfi_platform_get_codec_vsp_freq()
56 hfi_platform_get_codec_lp_freq(enum hfi_version version, u32 codec, u32 session_type) in hfi_platform_get_codec_lp_freq() argument
66 freq = plat->codec_lp_freq(session_type, codec); in hfi_platform_get_codec_lp_freq()
/third_party/ffmpeg/libavformat/
H A Dpcmenc.c27 #define PCMDEF_0(name_, long_name_, ext, codec)
28 #define PCMDEF_1(name_, long_name_, ext, codec) \
33 .audio_codec = codec, \
38 #define PCMDEF_2(name, long_name, ext, codec, enabled) \
39 PCMDEF_ ## enabled(name, long_name, ext, codec)
40 #define PCMDEF_3(name, long_name, ext, codec, config) \
41 PCMDEF_2(name, long_name, ext, codec, config)
H A Dmsf.c38 return AVPROBE_SCORE_MAX / 5; //unsupported / unknown codec in msf_probe()
45 unsigned codec, size; in msf_read_header() local
56 codec = avio_rb32(s->pb); in msf_read_header()
66 switch (codec) { in msf_read_header()
73 case 6: st->codecpar->block_align = (codec == 4 ? 96 : codec == 5 ? 152 : 192) * st->codecpar->ch_layout.nb_channels; in msf_read_header()
82 AV_WL16(st->codecpar->extradata+6, codec == 4 ? 1 : 0); /* joint stereo */ in msf_read_header()
83 AV_WL16(st->codecpar->extradata+8, codec == 4 ? 1 : 0); /* joint stereo (repeat?) */ in msf_read_header()
89 avpriv_request_sample(s, "Codec %d", codec); in msf_read_header()
/third_party/skia/tests/
H A DAnimatedImageTest.cpp9 #include "include/codec/SkAndroidCodec.h"
10 #include "include/codec/SkCodec.h"
130 auto codec = SkAndroidCodec::MakeFromData(data); in DEF_TEST() local
131 if (!codec) { in DEF_TEST()
132 ERRORF(r, "Could not create codec for %s", file); in DEF_TEST()
136 auto info = codec->getInfo(); in DEF_TEST()
139 auto image = SkAnimatedImage::Make(std::move(codec), info.makeDimensions(rec.scaledSize), in DEF_TEST()
158 auto codec = SkAndroidCodec::MakeFromCodec(SkCodec::MakeFromData(data)); in DEF_TEST() local
159 if (!codec) { in DEF_TEST()
160 ERRORF(r, "Could not create codec fo in DEF_TEST()
230 auto codec = SkCodec::MakeFromData(data); DEF_TEST() local
301 auto codec = SkCodec::MakeFromData(data); DEF_TEST() local
[all...]
H A DBadIcoTest.cpp8 #include "include/codec/SkCodec.h"
39 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromStream(std::move(stream))); in DEF_TEST()
41 // These images are corrupt. It's not important whether we succeed/fail in codec in DEF_TEST()
43 if (codec) { in DEF_TEST()
45 bm.allocPixels(codec->getInfo()); in DEF_TEST()
46 codec->getPixels(codec->getInfo(), bm.getPixels(), in DEF_TEST()
/kernel/linux/linux-6.6/drivers/media/pci/zoran/
H A Dzr36050.c22 /* codec io API */
37 * read/write via codec layer (registers are located in the master device)
43 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_read()
47 if (ptr->codec->master_data->readreg) in zr36050_read()
48 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36050_read()
59 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_write()
64 if (ptr->codec->master_data->writereg) in zr36050_write()
65 ptr->codec->master_data->writereg(ptr->codec, re in zr36050_write()
526 zr36050_set_mode(struct videocodec *codec, int mode) zr36050_set_mode() argument
543 zr36050_set_video(struct videocodec *codec, const struct tvnorm *norm, struct vfe_settings *cap, struct vfe_polarity *pol) zr36050_set_video() argument
586 zr36050_control(struct videocodec *codec, int type, int size, void *data) zr36050_control() argument
700 zr36050_unset(struct videocodec *codec) zr36050_unset() argument
729 zr36050_setup(struct videocodec *codec) zr36050_setup() argument
[all...]
/third_party/skia/bench/
H A DAndroidCodecBench.cpp10 #include "include/codec/SkAndroidCodec.h"
32 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromData(fData)); in onDelayedSetup()
33 SkISize scaledSize = codec->getSampledDimensions(fSampleSize); in onDelayedSetup()
35 fInfo = codec->getInfo().makeDimensions(scaledSize).makeColorType(kN32_SkColorType); in onDelayedSetup()
44 std::unique_ptr<SkAndroidCodec> codec; in onDraw() local
48 codec = SkAndroidCodec::MakeFromData(fData); in onDraw()
52 codec->getAndroidPixels(fInfo, fPixelStorage.get(), fInfo.minRowBytes(), &options); in onDraw()
/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/adapter/
H A Dskia_image_data.cpp18 #include "include/codec/SkCodec.h"
99 auto codec = SkCodec::MakeFromData(GetSkData()); in Parse() local
100 CHECK_NULL_RETURN(codec, {}); in Parse()
101 switch (codec->getOrigin()) { in Parse()
106 imageSize.SetSizeT(SizeF(codec->dimensions().fHeight, codec->dimensions().fWidth)); in Parse()
109 imageSize.SetSizeT(SizeF(codec->dimensions().fWidth, codec->dimensions().fHeight)); in Parse()
111 return { imageSize, codec->getFrameCount() }; in Parse()
/foundation/arkui/ace_engine/frameworks/core/image/test/unittest/
H A Dimage_provider_test.cpp73 auto codec = SkCodec::MakeFromData(data); in HWTEST_F() local
74 ASSERT_TRUE(codec); in HWTEST_F()
102 auto codec = SkCodec::MakeFromData(data); in HWTEST_F() local
103 ASSERT_TRUE(!codec); in HWTEST_F()
133 auto codec = SkCodec::MakeFromData(data); in HWTEST_F() local
134 ASSERT_TRUE(codec); in HWTEST_F()
224 auto codec = SkCodec::MakeFromData(data); in HWTEST_F() local
225 ASSERT_TRUE(!codec); in HWTEST_F()

Completed in 24 milliseconds

1...<<11121314151617181920>>...48