/third_party/ffmpeg/libavcodec/ |
D | codec_par.c | 91 const AVCodecContext *codec) in avcodec_parameters_from_context() argument 95 par->codec_type = codec->codec_type; in avcodec_parameters_from_context() 96 par->codec_id = codec->codec_id; in avcodec_parameters_from_context() 97 par->codec_tag = codec->codec_tag; in avcodec_parameters_from_context() 99 par->bit_rate = codec->bit_rate; in avcodec_parameters_from_context() 100 par->bits_per_coded_sample = codec->bits_per_coded_sample; in avcodec_parameters_from_context() 101 par->bits_per_raw_sample = codec->bits_per_raw_sample; in avcodec_parameters_from_context() 102 par->profile = codec->profile; in avcodec_parameters_from_context() 103 par->level = codec->level; in avcodec_parameters_from_context() 107 par->format = codec->pix_fmt; in avcodec_parameters_from_context() [all …]
|
D | mediacodec_wrapper.c | 1135 static int codec_init_static_fields(FFAMediaCodec *codec) in codec_init_static_fields() argument 1140 JNI_GET_ENV_OR_RETURN(env, codec, AVERROR_EXTERNAL); in codec_init_static_fields() 1142 …codec->INFO_TRY_AGAIN_LATER = (*env)->GetStaticIntField(env, codec->jfields.mediacodec_class, code… in codec_init_static_fields() 1143 if ((ret = ff_jni_exception_check(env, 1, codec)) < 0) { in codec_init_static_fields() 1147 …codec->BUFFER_FLAG_CODEC_CONFIG = (*env)->GetStaticIntField(env, codec->jfields.mediacodec_class, … in codec_init_static_fields() 1148 if ((ret = ff_jni_exception_check(env, 1, codec)) < 0) { in codec_init_static_fields() 1152 …codec->BUFFER_FLAG_END_OF_STREAM = (*env)->GetStaticIntField(env, codec->jfields.mediacodec_class,… in codec_init_static_fields() 1153 if ((ret = ff_jni_exception_check(env, 1, codec)) < 0) { in codec_init_static_fields() 1157 if (codec->jfields.buffer_flag_key_frame_id) { in codec_init_static_fields() 1158 …codec->BUFFER_FLAG_KEY_FRAME = (*env)->GetStaticIntField(env, codec->jfields.mediacodec_class, cod… in codec_init_static_fields() [all …]
|
D | mediacodec_wrapper.h | 93 char *ff_AMediaCodec_getName(FFAMediaCodec *codec); 99 int ff_AMediaCodec_configure(FFAMediaCodec* codec, const FFAMediaFormat* format, void* surface, voi… 100 int ff_AMediaCodec_start(FFAMediaCodec* codec); 101 int ff_AMediaCodec_stop(FFAMediaCodec* codec); 102 int ff_AMediaCodec_flush(FFAMediaCodec* codec); 103 int ff_AMediaCodec_delete(FFAMediaCodec* codec); 105 uint8_t* ff_AMediaCodec_getInputBuffer(FFAMediaCodec* codec, size_t idx, size_t *out_size); 106 uint8_t* ff_AMediaCodec_getOutputBuffer(FFAMediaCodec* codec, size_t idx, size_t *out_size); 108 ssize_t ff_AMediaCodec_dequeueInputBuffer(FFAMediaCodec* codec, int64_t timeoutUs); 109 int ff_AMediaCodec_queueInputBuffer(FFAMediaCodec* codec, size_t idx, off_t offset, size_t size, ui… [all …]
|
D | hwconfig.h | 67 #define HWACCEL_DXVA2(codec) \ argument 68 HW_CONFIG_HWACCEL(1, 1, 1, DXVA2_VLD, DXVA2, ff_ ## codec ## _dxva2_hwaccel) 69 #define HWACCEL_D3D11VA2(codec) \ argument 70 HW_CONFIG_HWACCEL(1, 1, 0, D3D11, D3D11VA, ff_ ## codec ## _d3d11va2_hwaccel) 71 #define HWACCEL_NVDEC(codec) \ argument 72 HW_CONFIG_HWACCEL(1, 1, 0, CUDA, CUDA, ff_ ## codec ## _nvdec_hwaccel) 73 #define HWACCEL_VAAPI(codec) \ argument 74 HW_CONFIG_HWACCEL(1, 1, 1, VAAPI, VAAPI, ff_ ## codec ## _vaapi_hwaccel) 75 #define HWACCEL_VDPAU(codec) \ argument 76 HW_CONFIG_HWACCEL(1, 1, 1, VDPAU, VDPAU, ff_ ## codec ## _vdpau_hwaccel) [all …]
|
D | avcodec.c | 95 static void lock_avcodec(const AVCodec *codec) in lock_avcodec() argument 97 if (!(codec->caps_internal & FF_CODEC_CAP_INIT_THREADSAFE) && codec->init) in lock_avcodec() 101 static void unlock_avcodec(const AVCodec *codec) in unlock_avcodec() argument 103 if (!(codec->caps_internal & FF_CODEC_CAP_INIT_THREADSAFE) && codec->init) in unlock_avcodec() 144 int attribute_align_arg avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **o… in avcodec_open2() argument 154 if (!codec && !avctx->codec) { in avcodec_open2() 158 if (codec && avctx->codec && codec != avctx->codec) { in avcodec_open2() 160 … "but %s passed to avcodec_open2()\n", avctx->codec->name, codec->name); in avcodec_open2() 163 if (!codec) in avcodec_open2() 164 codec = avctx->codec; in avcodec_open2() [all …]
|
D | options.c | 42 if(avc && avc->codec && avc->codec->name) in context_to_name() 43 return avc->codec->name; in context_to_name() 51 if (!prev && s->codec && s->codec->priv_class && s->priv_data) in codec_child_next() 88 if(avctx->codec && avctx->codec->decode) return AV_CLASS_CATEGORY_DECODER; in get_category() 107 static int init_context_defaults(AVCodecContext *s, const AVCodec *codec) in init_context_defaults() argument 114 s->codec_type = codec ? codec->type : AVMEDIA_TYPE_UNKNOWN; in init_context_defaults() 115 if (codec) { in init_context_defaults() 116 s->codec = codec; in init_context_defaults() 117 s->codec_id = codec->id; in init_context_defaults() 142 if(codec && codec->priv_data_size){ in init_context_defaults() [all …]
|
/third_party/openh264/ |
D | BUILD.gn | 5 wels_src_dir = "//third_party/openh264/codec/api/svc" 43 "//third_party/openh264/codec/encoder/core/src/au_set.cpp", 44 "//third_party/openh264/codec/encoder/core/src/deblocking.cpp", 45 "//third_party/openh264/codec/encoder/core/src/decode_mb_aux.cpp", 46 "//third_party/openh264/codec/encoder/core/src/encode_mb_aux.cpp", 47 "//third_party/openh264/codec/encoder/core/src/encoder.cpp", 48 "//third_party/openh264/codec/encoder/core/src/encoder_data_tables.cpp", 49 "//third_party/openh264/codec/encoder/core/src/encoder_ext.cpp", 50 "//third_party/openh264/codec/encoder/core/src/get_intra_predictor.cpp", 51 "//third_party/openh264/codec/encoder/core/src/md.cpp", [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/magicleap/ |
D | gstamc-codec-ml.c | 64 GstAmcCodec *codec = NULL; in gst_amc_codec_new() local 70 codec = g_slice_new0 (GstAmcCodec); in gst_amc_codec_new() 71 codec->handle = ML_INVALID_HANDLE; in gst_amc_codec_new() 75 &codec->handle); in gst_amc_codec_new() 79 gst_amc_codec_free (codec); in gst_amc_codec_new() 83 return codec; in gst_amc_codec_new() 87 gst_amc_codec_free (GstAmcCodec * codec) in gst_amc_codec_free() argument 89 g_return_if_fail (codec != NULL); in gst_amc_codec_free() 91 if (codec->handle != ML_INVALID_HANDLE) in gst_amc_codec_free() 92 MLMediaCodecDestroy (codec->handle); in gst_amc_codec_free() [all …]
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | FieldCodecTest.cs | 69 public void RoundTripWithTag(ICodecTestData codec) in RoundTripWithTag() argument 71 codec.TestRoundTripWithTag(); in RoundTripWithTag() 75 public void RoundTripRaw(ICodecTestData codec) in RoundTripRaw() argument 77 codec.TestRoundTripRaw(); in RoundTripRaw() 81 public void CalculateSize(ICodecTestData codec) in CalculateSize() argument 83 codec.TestCalculateSizeWithTag(); in CalculateSize() 87 public void DefaultValue(ICodecTestData codec) in DefaultValue() argument 89 codec.TestDefaultValue(); in DefaultValue() 93 public void FixedSize(ICodecTestData codec) in FixedSize() argument 95 codec.TestFixedSize(); in FixedSize() [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | FieldCodecTest.cs | 69 public void RoundTripWithTag(ICodecTestData codec) in RoundTripWithTag() argument 71 codec.TestRoundTripWithTag(); in RoundTripWithTag() 75 public void RoundTripRaw(ICodecTestData codec) in RoundTripRaw() argument 77 codec.TestRoundTripRaw(); in RoundTripRaw() 81 public void CalculateSize(ICodecTestData codec) in CalculateSize() argument 83 codec.TestCalculateSizeWithTag(); in CalculateSize() 87 public void DefaultValue(ICodecTestData codec) in DefaultValue() argument 89 codec.TestDefaultValue(); in DefaultValue() 93 public void FixedSize(ICodecTestData codec) in FixedSize() argument 95 codec.TestFixedSize(); in FixedSize() [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | ExtensionValue.cs | 52 private FieldCodec<T> codec; field in Google.Protobuf.ExtensionValue 54 internal ExtensionValue(FieldCodec<T> codec) in ExtensionValue() argument 56 this.codec = codec; in ExtensionValue() 57 field = codec.DefaultValue; in ExtensionValue() 62 return codec.CalculateSizeWithTag(field); in CalculateSize() 67 return new ExtensionValue<T>(codec) in Clone() 79 && codec.Equals((other as ExtensionValue<T>).codec) in Equals() 90 hash = hash * 31 + codec.GetHashCode(); in GetHashCode() 97 codec.ValueMerger(ref ctx, ref field); in MergeFrom() 105 codec.FieldMerger(ref field, extensionValue.field); in MergeFrom() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/jni/ |
D | gstamc-codec-jni.c | 504 GstAmcCodec *codec = NULL; in gst_amc_codec_new() local 517 codec = g_slice_new0 (GstAmcCodec); in gst_amc_codec_new() 518 codec->is_encoder = is_encoder; in gst_amc_codec_new() 524 codec->object = gst_amc_jni_object_make_global (env, object); in gst_amc_codec_new() 527 if (!codec->object) { in gst_amc_codec_new() 538 return codec; in gst_amc_codec_new() 541 if (codec) in gst_amc_codec_new() 542 g_slice_free (GstAmcCodec, codec); in gst_amc_codec_new() 543 codec = NULL; in gst_amc_codec_new() 548 gst_amc_codec_free (GstAmcCodec * codec) in gst_amc_codec_free() argument [all …]
|
/third_party/skia/tests/ |
D | CodecTest.cpp | 97 static void test_info(skiatest::Reporter* r, Codec* codec, const SkImageInfo& info, in test_info() argument 102 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in test_info() 122 static void test_incremental_decode(skiatest::Reporter* r, SkCodec* codec, const SkImageInfo& info, in test_incremental_decode() argument 127 REPORTER_ASSERT(r, SkCodec::kSuccess == codec->startIncrementalDecode(info, bm.getPixels(), in test_incremental_decode() 130 REPORTER_ASSERT(r, SkCodec::kSuccess == codec->incrementalDecode()); in test_incremental_decode() 136 static void test_in_stripes(skiatest::Reporter* r, SkCodec* codec, const SkImageInfo& info, in test_in_stripes() argument 161 if (SkCodec::kSuccess != codec->startIncrementalDecode(info, bm.getAddr(0, y), in test_in_stripes() 167 if (SkCodec::kSuccess != codec->incrementalDecode()) { in test_in_stripes() 178 static void test_codec(skiatest::Reporter* r, const char* path, Codec* codec, SkBitmap& bm, in test_codec() argument 185 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in test_codec() [all …]
|
/third_party/flutter/engine/flutter/shell/platform/darwin/common/framework/Source/ |
D | flutter_codecs_unittest.mm | 9 FlutterStringCodec* codec = [FlutterStringCodec sharedInstance]; 10 ASSERT_TRUE([codec encode:nil] == nil); 11 ASSERT_TRUE([codec decode:nil] == nil); 15 FlutterStringCodec* codec = [FlutterStringCodec sharedInstance]; 16 ASSERT_TRUE([[codec encode:@""] isEqualTo:[NSData data]]); 17 ASSERT_TRUE([[codec decode:[NSData data]] isEqualTo:@""]); 22 FlutterStringCodec* codec = [FlutterStringCodec sharedInstance]; 23 NSData* encoded = [codec encode:value]; 24 NSString* decoded = [codec decode:encoded]; 30 FlutterStringCodec* codec = [FlutterStringCodec sharedInstance]; [all …]
|
D | FlutterChannels.mm | 16 NSObject<FlutterMessageCodec>* codec = [FlutterStandardMessageCodec sharedInstance]; 19 codec:codec]; 23 codec:(NSObject<FlutterMessageCodec>*)codec { 26 codec:codec] autorelease]; 31 codec:(NSObject<FlutterMessageCodec>*)codec { 36 _codec = [codec retain]; 65 NSObject<FlutterMessageCodec>* codec = _codec; 67 handler([codec decode:message], ^(id reply) { 68 callback([codec encode:reply]); 160 NSObject<FlutterMethodCodec>* codec = [FlutterStandardMethodCodec sharedInstance]; [all …]
|
/third_party/flutter/skia/tests/ |
D | CodecTest.cpp | 93 static void test_info(skiatest::Reporter* r, Codec* codec, const SkImageInfo& info, in test_info() argument 98 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in test_info() 118 static void test_incremental_decode(skiatest::Reporter* r, SkCodec* codec, const SkImageInfo& info, in test_incremental_decode() argument 123 REPORTER_ASSERT(r, SkCodec::kSuccess == codec->startIncrementalDecode(info, bm.getPixels(), in test_incremental_decode() 126 REPORTER_ASSERT(r, SkCodec::kSuccess == codec->incrementalDecode()); in test_incremental_decode() 132 static void test_in_stripes(skiatest::Reporter* r, SkCodec* codec, const SkImageInfo& info, in test_in_stripes() argument 157 if (SkCodec::kSuccess != codec->startIncrementalDecode(info, bm.getAddr(0, y), in test_in_stripes() 163 if (SkCodec::kSuccess != codec->incrementalDecode()) { in test_in_stripes() 174 static void test_codec(skiatest::Reporter* r, const char* path, Codec* codec, SkBitmap& bm, in test_codec() argument 181 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in test_codec() [all …]
|
/third_party/flutter/skia/src/codec/ |
D | SkSampledCodec.cpp | 16 SkSampledCodec::SkSampledCodec(SkCodec* codec, ExifOrientationBehavior behavior) in SkSampledCodec() argument 17 : INHERITED(codec, behavior) in SkSampledCodec() 21 SkISize preSampledSize = this->codec()->dimensions(); in accountForNativeScaling() 30 if (this->codec()->getEncodedFormat() == SkEncodedImageFormat::kJPEG) { in accountForNativeScaling() 38 return this->codec()->getScaledDimensions(get_scale_from_sample_size(sampleSize)); in accountForNativeScaling() 53 preSampledSize = this->codec()->getScaledDimensions(scale); in accountForNativeScaling() 81 if (!subset || subset->size() == this->codec()->dimensions()) { in onGetAndroidPixels() 82 if (this->codec()->dimensionsSupported(info.dimensions())) { in onGetAndroidPixels() 83 return this->codec()->getPixels(info, pixels, rowBytes, &codecOptions); in onGetAndroidPixels() 93 if (!this->codec()->dimensionsSupported(scaledSize)) { in onGetAndroidPixels() [all …]
|
/third_party/skia/src/codec/ |
D | SkSampledCodec.cpp | 16 SkSampledCodec::SkSampledCodec(SkCodec* codec) in SkSampledCodec() argument 17 : INHERITED(codec) in SkSampledCodec() 21 SkISize preSampledSize = this->codec()->dimensions(); in accountForNativeScaling() 30 if (this->codec()->getEncodedFormat() == SkEncodedImageFormat::kJPEG) { in accountForNativeScaling() 38 return this->codec()->getScaledDimensions(get_scale_from_sample_size(sampleSize)); in accountForNativeScaling() 53 preSampledSize = this->codec()->getScaledDimensions(scale); in accountForNativeScaling() 77 if (!subset || subset->size() == this->codec()->dimensions()) { in onGetAndroidPixels() 78 if (this->codec()->dimensionsSupported(info.dimensions())) { in onGetAndroidPixels() 79 return this->codec()->getPixels(info, pixels, rowBytes, &options); in onGetAndroidPixels() 89 if (!this->codec()->dimensionsSupported(scaledSize)) { in onGetAndroidPixels() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/ |
D | gstamc-codec.h | 54 void gst_amc_codec_free (GstAmcCodec * codec); 56 gboolean gst_amc_codec_configure (GstAmcCodec * codec, GstAmcFormat * format, GstAmcSurfaceTexture … 57 GstAmcFormat * gst_amc_codec_get_output_format (GstAmcCodec * codec, GError **err); 59 gboolean gst_amc_codec_start (GstAmcCodec * codec, GError **err); 60 gboolean gst_amc_codec_stop (GstAmcCodec * codec, GError **err); 61 gboolean gst_amc_codec_flush (GstAmcCodec * codec, GError **err); 62 gboolean gst_amc_codec_release (GstAmcCodec * codec, GError **err); 63 gboolean gst_amc_codec_request_key_frame (GstAmcCodec * codec, GError **err); 65 gboolean gst_amc_codec_set_dynamic_bitrate (GstAmcCodec * codec, GError **err, gint bitrate); 67 GstAmcBuffer * gst_amc_codec_get_output_buffer (GstAmcCodec * codec, gint index, GError **err); [all …]
|
/third_party/python/Lib/encodings/ |
D | euc_jp.py | 10 codec = _codecs_jp.getcodec('euc_jp') variable 13 encode = codec.encode 14 decode = codec.decode 18 codec = codec variable in IncrementalEncoder 22 codec = codec variable in IncrementalDecoder 25 codec = codec variable in StreamReader 28 codec = codec variable in StreamWriter
|
D | shift_jis.py | 10 codec = _codecs_jp.getcodec('shift_jis') variable 13 encode = codec.encode 14 decode = codec.decode 18 codec = codec variable in IncrementalEncoder 22 codec = codec variable in IncrementalDecoder 25 codec = codec variable in StreamReader 28 codec = codec variable in StreamWriter
|
D | gb2312.py | 10 codec = _codecs_cn.getcodec('gb2312') variable 13 encode = codec.encode 14 decode = codec.decode 18 codec = codec variable in IncrementalEncoder 22 codec = codec variable in IncrementalDecoder 25 codec = codec variable in StreamReader 28 codec = codec variable in StreamWriter
|
D | cp949.py | 10 codec = _codecs_kr.getcodec('cp949') variable 13 encode = codec.encode 14 decode = codec.decode 18 codec = codec variable in IncrementalEncoder 22 codec = codec variable in IncrementalDecoder 25 codec = codec variable in StreamReader 28 codec = codec variable in StreamWriter
|
D | gbk.py | 10 codec = _codecs_cn.getcodec('gbk') variable 13 encode = codec.encode 14 decode = codec.decode 18 codec = codec variable in IncrementalEncoder 22 codec = codec variable in IncrementalDecoder 25 codec = codec variable in StreamReader 28 codec = codec variable in StreamWriter
|
D | iso2022_jp_3.py | 10 codec = _codecs_iso2022.getcodec('iso2022_jp_3') variable 13 encode = codec.encode 14 decode = codec.decode 18 codec = codec variable in IncrementalEncoder 22 codec = codec variable in IncrementalDecoder 25 codec = codec variable in StreamReader 28 codec = codec variable in StreamWriter
|