Lines Matching defs:target_obj

238 static int set_string_number(void *obj, void *target_obj, const AVOption *o, const char *val, void *dst)
273 const AVOption *o_named = av_opt_find(target_obj, i ? buf : val, o->unit, 0, search_flags);
281 for (o_named = NULL; o_named = av_opt_next(target_obj, o_named); ) {
490 void *dst, *target_obj;
491 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
492 if (!o || !target_obj)
512 dst = ((uint8_t *)target_obj) + o->offset;
527 return set_string_number(obj, target_obj, o, val, dst);
611 void *dst, *target_obj;
612 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
614 if (!o || !target_obj)
620 dst = ((uint8_t *)target_obj) + o->offset;
641 void *target_obj;
642 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
647 if (!o || !target_obj)
657 dst = (uint8_t **)(((uint8_t *)target_obj) + o->offset);
671 void *target_obj;
672 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
674 if (!o || !target_obj)
686 *(int *)(((uint8_t *)target_obj) + o->offset) = w;
687 *(int *)(((uint8_t *)target_obj+sizeof(int)) + o->offset) = h;
693 void *target_obj;
694 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
696 if (!o || !target_obj)
711 void *target_obj;
713 search_flags, &target_obj);
716 if (!o || !target_obj)
733 *(int *)(((uint8_t *)target_obj) + o->offset) = fmt;
751 void *target_obj;
752 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
754 if (!o || !target_obj)
761 *(int64_t *)(((uint8_t *)target_obj) + o->offset) = cl;
770 void *target_obj;
772 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
774 if (!o || !target_obj)
779 dst = (AVDictionary **)(((uint8_t *)target_obj) + o->offset);
790 void *target_obj;
791 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
794 if (!o || !target_obj)
797 dst = (AVChannelLayout*)((uint8_t*)target_obj + o->offset);
839 void *dst, *target_obj;
840 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
845 if (!o || !target_obj || (o->offset<=0 && o->type != AV_OPT_TYPE_CONST))
851 dst = (uint8_t *)target_obj + o->offset;
961 void *dst, *target_obj;
962 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
963 if (!o || !target_obj)
966 dst = ((uint8_t *)target_obj) + o->offset;
1023 void *dst, *target_obj;
1024 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
1025 if (!o || !target_obj)
1033 dst = ((uint8_t*)target_obj) + o->offset;
1058 void *dst, *target_obj;
1059 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
1060 if (!o || !target_obj)
1068 dst = ((uint8_t*)target_obj) + o->offset;
1087 void *dst, *target_obj;
1088 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
1089 if (!o || !target_obj)
1097 dst = ((uint8_t*)target_obj) + o->offset;
1106 void *dst, *target_obj;
1107 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
1108 if (!o || !target_obj)
1116 dst = ((uint8_t*)target_obj) + o->offset;
1122 void *target_obj;
1124 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
1126 if (!o || !target_obj)
1131 src = *(AVDictionary **)(((uint8_t *)target_obj) + o->offset);
1778 int opt_flags, int search_flags, void **target_obj)
1801 if (o = av_opt_find2(child, name, unit, opt_flags, search_flags, target_obj))
1810 if (target_obj) {
1812 *target_obj = obj;
1814 *target_obj = NULL;