Lines Matching defs:ret
300 #define JNI_GET_ENV_OR_RETURN(env, log_ctx, ret) do { \
303 return ret; \
316 int ret = -1;
370 ret = (*env)->GetStaticIntField(env, jfields.codec_profile_level_class, field_id);
372 ret = -1;
380 return ret;
385 int ret;
408 if ((ret = ff_jni_init_jfields(env, &jfields, jni_amediacodeclist_mapping, 0, log_ctx)) < 0) {
412 if ((ret = ff_jni_init_jfields(env, &mediaformat_jfields, jni_amediaformat_mapping, 0, log_ctx)) < 0) {
707 int ret = 0;
724 return ret;
729 char *ret = NULL;
743 ret = ff_jni_jstring_to_utf_chars(env, description, format);
749 return ret;
754 int ret = 1;
766 ret = 0;
771 if (!contains_key || (ret = ff_jni_exception_check(env, 1, format)) < 0) {
772 ret = 0;
777 if ((ret = ff_jni_exception_check(env, 1, format)) < 0) {
778 ret = 0;
782 ret = 1;
788 return ret;
793 int ret = 1;
805 ret = 0;
810 if (!contains_key || (ret = ff_jni_exception_check(env, 1, format)) < 0) {
811 ret = 0;
816 if ((ret = ff_jni_exception_check(env, 1, format)) < 0) {
817 ret = 0;
821 ret = 1;
827 return ret;
832 int ret = 1;
844 ret = 0;
849 if (!contains_key || (ret = ff_jni_exception_check(env, 1, format)) < 0) {
850 ret = 0;
855 if ((ret = ff_jni_exception_check(env, 1, format)) < 0) {
856 ret = 0;
860 ret = 1;
866 return ret;
871 int ret = 1;
884 ret = 0;
889 if (!contains_key || (ret = ff_jni_exception_check(env, 1, format)) < 0) {
890 ret = 0;
895 if ((ret = ff_jni_exception_check(env, 1, format)) < 0) {
896 ret = 0;
907 ret = 0;
914 ret = 1;
924 return ret;
929 int ret = 1;
942 ret = 0;
947 if (!contains_key || (ret = ff_jni_exception_check(env, 1, format)) < 0) {
948 ret = 0;
953 if ((ret = ff_jni_exception_check(env, 1, format)) < 0) {
954 ret = 0;
960 ret = 0;
964 ret = 1;
974 return ret;
1136 int ret = 0;
1142 if ((ret = ff_jni_exception_check(env, 1, codec)) < 0) {
1147 if ((ret = ff_jni_exception_check(env, 1, codec)) < 0) {
1152 if ((ret = ff_jni_exception_check(env, 1, codec)) < 0) {
1158 if ((ret = ff_jni_exception_check(env, 1, codec)) < 0) {
1164 if ((ret = ff_jni_exception_check(env, 1, codec)) < 0) {
1169 if ((ret = ff_jni_exception_check(env, 1, codec)) < 0) {
1174 if ((ret = ff_jni_exception_check(env, 1, codec)) < 0) {
1179 if ((ret = ff_jni_exception_check(env, 1, codec)) < 0) {
1185 return ret;
1194 int ret = -1;
1262 ret = 0;
1276 if (ret < 0) {
1304 int ret = 0;
1316 ret = AVERROR_EXTERNAL;
1335 return ret;
1340 char *ret = NULL;
1351 ret = ff_jni_jstring_to_utf_chars(env, name, codec);
1358 return ret;
1363 int ret = 0;
1370 ret = AVERROR_EXTERNAL;
1375 return ret;
1380 int ret = 0;
1387 ret = AVERROR_EXTERNAL;
1392 return ret;
1397 int ret = 0;
1404 ret = AVERROR_EXTERNAL;
1409 return ret;
1414 int ret = 0;
1421 ret = AVERROR_EXTERNAL;
1426 return ret;
1431 int ret = 0;
1438 ret = AVERROR_EXTERNAL;
1443 return ret;
1448 int ret = 0;
1455 ret = AVERROR_EXTERNAL;
1460 return ret;
1465 int ret = 0;
1470 ret = (*env)->CallIntMethod(env, codec->object, codec->jfields.dequeue_input_buffer_id, timeoutUs);
1472 ret = AVERROR_EXTERNAL;
1477 return ret;
1482 int ret = 0;
1488 if ((ret = ff_jni_exception_check(env, 1, codec)) < 0) {
1489 ret = AVERROR_EXTERNAL;
1494 return ret;
1499 int ret = 0;
1504 ret = (*env)->CallIntMethod(env, codec->object, codec->jfields.dequeue_output_buffer_id, codec->buffer_info, timeoutUs);
1529 return ret;
1534 uint8_t *ret = NULL;
1566 ret = (*env)->GetDirectBufferAddress(env, buffer);
1577 return ret;
1582 uint8_t *ret = NULL;
1614 ret = (*env)->GetDirectBufferAddress(env, buffer);
1625 return ret;
1630 FFAMediaFormat *ret = NULL;
1642 ret = ff_AMediaFormat_newFromObject(mediaformat);
1648 return ret;
1688 int ret = 0;
1696 ret = AVERROR_EXTERNAL;
1706 return ret;
1711 int ret = -1;
1719 ret = (*env)->GetStaticIntField(env, versionClass, sdkIntFieldID);
1721 return ret;