/usr/share/doc/ffmpeg/api/structAVFrame.html is in ffmpeg-doc 7:3.4.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>FFmpeg: AVFrame Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">FFmpeg
 <span id="projectnumber">3.4.2</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">AVFrame Struct Reference<div class="ingroups"><a class="el" href="group__lavu.html">libavutil</a> » <a class="el" href="group__lavu__data.html">Data Structures</a> » <a class="el" href="group__lavu__frame.html">AVFrame</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>This structure describes decoded (raw) audio or video data.
<a href="structAVFrame.html#details">More...</a></p>
<p><code>#include <<a class="el" href="frame_8h_source.html">libavutil/frame.h</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a1d0f65014a8d1bf78cec8cbed2304992"><td class="memItemLeft" align="right" valign="top">uint8_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a1d0f65014a8d1bf78cec8cbed2304992">data</a> [<a class="el" href="frame_8h.html#add80189702cf0f5ea82718576fb43201">AV_NUM_DATA_POINTERS</a>]</td></tr>
<tr class="memdesc:a1d0f65014a8d1bf78cec8cbed2304992"><td class="mdescLeft"> </td><td class="mdescRight">pointer to the picture/channel planes. <a href="#a1d0f65014a8d1bf78cec8cbed2304992">More...</a><br /></td></tr>
<tr class="separator:a1d0f65014a8d1bf78cec8cbed2304992"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa52bfc6605f6a3059a0c3226cc0f6567"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#aa52bfc6605f6a3059a0c3226cc0f6567">linesize</a> [<a class="el" href="frame_8h.html#add80189702cf0f5ea82718576fb43201">AV_NUM_DATA_POINTERS</a>]</td></tr>
<tr class="memdesc:aa52bfc6605f6a3059a0c3226cc0f6567"><td class="mdescLeft"> </td><td class="mdescRight">For video, size in bytes of each picture line. <a href="#aa52bfc6605f6a3059a0c3226cc0f6567">More...</a><br /></td></tr>
<tr class="separator:aa52bfc6605f6a3059a0c3226cc0f6567"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afca04d808393822625e09b5ba91c6756"><td class="memItemLeft" align="right" valign="top">uint8_t ** </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#afca04d808393822625e09b5ba91c6756">extended_data</a></td></tr>
<tr class="memdesc:afca04d808393822625e09b5ba91c6756"><td class="mdescLeft"> </td><td class="mdescRight">pointers to the data planes/channels. <a href="#afca04d808393822625e09b5ba91c6756">More...</a><br /></td></tr>
<tr class="separator:afca04d808393822625e09b5ba91c6756"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a02f45ab8191aea1660159f1e464237ea"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a02f45ab8191aea1660159f1e464237ea">nb_samples</a></td></tr>
<tr class="memdesc:a02f45ab8191aea1660159f1e464237ea"><td class="mdescLeft"> </td><td class="mdescRight">number of audio samples (per channel) described by this frame <a href="#a02f45ab8191aea1660159f1e464237ea">More...</a><br /></td></tr>
<tr class="separator:a02f45ab8191aea1660159f1e464237ea"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aed14fa772ce46881020fd1545c86432c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#aed14fa772ce46881020fd1545c86432c">format</a></td></tr>
<tr class="memdesc:aed14fa772ce46881020fd1545c86432c"><td class="mdescLeft"> </td><td class="mdescRight">format of the frame, -1 if unknown or unset Values correspond to enum AVPixelFormat for video frames, enum AVSampleFormat for audio) <a href="#aed14fa772ce46881020fd1545c86432c">More...</a><br /></td></tr>
<tr class="separator:aed14fa772ce46881020fd1545c86432c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3649a81e8414a193d685a6eee06ce902"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a3649a81e8414a193d685a6eee06ce902">key_frame</a></td></tr>
<tr class="memdesc:a3649a81e8414a193d685a6eee06ce902"><td class="mdescLeft"> </td><td class="mdescRight">1 -> keyframe, 0-> not <a href="#a3649a81e8414a193d685a6eee06ce902">More...</a><br /></td></tr>
<tr class="separator:a3649a81e8414a193d685a6eee06ce902"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af9920fc3fbfa347b8943ae461b50d18b"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="group__lavu__picture.html#gae6cbcab1f70d8e476757f1c1f5a0a78e">AVPictureType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#af9920fc3fbfa347b8943ae461b50d18b">pict_type</a></td></tr>
<tr class="memdesc:af9920fc3fbfa347b8943ae461b50d18b"><td class="mdescLeft"> </td><td class="mdescRight">Picture type of the frame. <a href="#af9920fc3fbfa347b8943ae461b50d18b">More...</a><br /></td></tr>
<tr class="separator:af9920fc3fbfa347b8943ae461b50d18b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a62f9c20541a83d37db7072126ff0060d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVRational.html">AVRational</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a62f9c20541a83d37db7072126ff0060d">sample_aspect_ratio</a></td></tr>
<tr class="memdesc:a62f9c20541a83d37db7072126ff0060d"><td class="mdescLeft"> </td><td class="mdescRight">Sample aspect ratio for the video frame, 0/1 if unknown/unspecified. <a href="#a62f9c20541a83d37db7072126ff0060d">More...</a><br /></td></tr>
<tr class="separator:a62f9c20541a83d37db7072126ff0060d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0452833e3ab6ddd7acbf82817a7818a4"><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a0452833e3ab6ddd7acbf82817a7818a4">pts</a></td></tr>
<tr class="memdesc:a0452833e3ab6ddd7acbf82817a7818a4"><td class="mdescLeft"> </td><td class="mdescRight">Presentation timestamp in time_base units (time when frame should be shown to user). <a href="#a0452833e3ab6ddd7acbf82817a7818a4">More...</a><br /></td></tr>
<tr class="separator:a0452833e3ab6ddd7acbf82817a7818a4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3622b748fe215af3821ebb1c9e514c6b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a3622b748fe215af3821ebb1c9e514c6b">pkt_pts</a></td></tr>
<tr class="memdesc:a3622b748fe215af3821ebb1c9e514c6b"><td class="mdescLeft"> </td><td class="mdescRight">PTS copied from the <a class="el" href="structAVPacket.html" title="This structure stores compressed data. ">AVPacket</a> that was decoded to produce this frame. <a href="#a3622b748fe215af3821ebb1c9e514c6b">More...</a><br /></td></tr>
<tr class="separator:a3622b748fe215af3821ebb1c9e514c6b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa52951f35ec9e303d3dfeb4b3e44248a"><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#aa52951f35ec9e303d3dfeb4b3e44248a">pkt_dts</a></td></tr>
<tr class="memdesc:aa52951f35ec9e303d3dfeb4b3e44248a"><td class="mdescLeft"> </td><td class="mdescRight">DTS copied from the <a class="el" href="structAVPacket.html" title="This structure stores compressed data. ">AVPacket</a> that triggered returning this frame. <a href="#aa52951f35ec9e303d3dfeb4b3e44248a">More...</a><br /></td></tr>
<tr class="separator:aa52951f35ec9e303d3dfeb4b3e44248a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a02ca9bb7f500d3d850f8736f3cb29c6c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a02ca9bb7f500d3d850f8736f3cb29c6c">coded_picture_number</a></td></tr>
<tr class="memdesc:a02ca9bb7f500d3d850f8736f3cb29c6c"><td class="mdescLeft"> </td><td class="mdescRight">picture number in bitstream order <a href="#a02ca9bb7f500d3d850f8736f3cb29c6c">More...</a><br /></td></tr>
<tr class="separator:a02ca9bb7f500d3d850f8736f3cb29c6c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a12b00a552b74c79f0760b80fac18efe7"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a12b00a552b74c79f0760b80fac18efe7">display_picture_number</a></td></tr>
<tr class="memdesc:a12b00a552b74c79f0760b80fac18efe7"><td class="mdescLeft"> </td><td class="mdescRight">picture number in display order <a href="#a12b00a552b74c79f0760b80fac18efe7">More...</a><br /></td></tr>
<tr class="separator:a12b00a552b74c79f0760b80fac18efe7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a791c071afd3e95fcae14cb781829754d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a791c071afd3e95fcae14cb781829754d">quality</a></td></tr>
<tr class="memdesc:a791c071afd3e95fcae14cb781829754d"><td class="mdescLeft"> </td><td class="mdescRight">quality (between 1 (good) and FF_LAMBDA_MAX (bad)) <a href="#a791c071afd3e95fcae14cb781829754d">More...</a><br /></td></tr>
<tr class="separator:a791c071afd3e95fcae14cb781829754d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a385d043b41cd182b7b1bdaec56ed19e0"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a385d043b41cd182b7b1bdaec56ed19e0">opaque</a></td></tr>
<tr class="memdesc:a385d043b41cd182b7b1bdaec56ed19e0"><td class="mdescLeft"> </td><td class="mdescRight">for some private data of the user <a href="#a385d043b41cd182b7b1bdaec56ed19e0">More...</a><br /></td></tr>
<tr class="separator:a385d043b41cd182b7b1bdaec56ed19e0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a346b93aa671751477ec4361cf567e9c9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a346b93aa671751477ec4361cf567e9c9">error</a> [<a class="el" href="frame_8h.html#add80189702cf0f5ea82718576fb43201">AV_NUM_DATA_POINTERS</a>]</td></tr>
<tr class="separator:a346b93aa671751477ec4361cf567e9c9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aef11fd783ad17b6841af82efa07c859e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#aef11fd783ad17b6841af82efa07c859e">repeat_pict</a></td></tr>
<tr class="memdesc:aef11fd783ad17b6841af82efa07c859e"><td class="mdescLeft"> </td><td class="mdescRight">When decoding, this signals how much the picture must be delayed. <a href="#aef11fd783ad17b6841af82efa07c859e">More...</a><br /></td></tr>
<tr class="separator:aef11fd783ad17b6841af82efa07c859e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7f761518da738c704676c6a5f08eeb8e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a7f761518da738c704676c6a5f08eeb8e">interlaced_frame</a></td></tr>
<tr class="memdesc:a7f761518da738c704676c6a5f08eeb8e"><td class="mdescLeft"> </td><td class="mdescRight">The content of the picture is interlaced. <a href="#a7f761518da738c704676c6a5f08eeb8e">More...</a><br /></td></tr>
<tr class="separator:a7f761518da738c704676c6a5f08eeb8e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6f3ee0596312c90a2ef2ad160c991188"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a6f3ee0596312c90a2ef2ad160c991188">top_field_first</a></td></tr>
<tr class="memdesc:a6f3ee0596312c90a2ef2ad160c991188"><td class="mdescLeft"> </td><td class="mdescRight">If the content is interlaced, is top field displayed first. <a href="#a6f3ee0596312c90a2ef2ad160c991188">More...</a><br /></td></tr>
<tr class="separator:a6f3ee0596312c90a2ef2ad160c991188"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6144be38de30e80de331f435e61f5f4c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a6144be38de30e80de331f435e61f5f4c">palette_has_changed</a></td></tr>
<tr class="memdesc:a6144be38de30e80de331f435e61f5f4c"><td class="mdescLeft"> </td><td class="mdescRight">Tell user application that palette has changed from previous frame. <a href="#a6144be38de30e80de331f435e61f5f4c">More...</a><br /></td></tr>
<tr class="separator:a6144be38de30e80de331f435e61f5f4c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab54a78c51318c8c678e545b1f3d6fddd"><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#ab54a78c51318c8c678e545b1f3d6fddd">reordered_opaque</a></td></tr>
<tr class="memdesc:ab54a78c51318c8c678e545b1f3d6fddd"><td class="mdescLeft"> </td><td class="mdescRight">reordered opaque 64 bits (generally an integer or a double precision float PTS but can be anything). <a href="#ab54a78c51318c8c678e545b1f3d6fddd">More...</a><br /></td></tr>
<tr class="separator:ab54a78c51318c8c678e545b1f3d6fddd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac85daa1316e1f47e78da0ca19b7c60e6"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#ac85daa1316e1f47e78da0ca19b7c60e6">sample_rate</a></td></tr>
<tr class="memdesc:ac85daa1316e1f47e78da0ca19b7c60e6"><td class="mdescLeft"> </td><td class="mdescRight">Sample rate of the audio data. <a href="#ac85daa1316e1f47e78da0ca19b7c60e6">More...</a><br /></td></tr>
<tr class="separator:ac85daa1316e1f47e78da0ca19b7c60e6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5f343e0325e3e9d9ed20e34c9e156aef"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a5f343e0325e3e9d9ed20e34c9e156aef">channel_layout</a></td></tr>
<tr class="memdesc:a5f343e0325e3e9d9ed20e34c9e156aef"><td class="mdescLeft"> </td><td class="mdescRight">Channel layout of the audio data. <a href="#a5f343e0325e3e9d9ed20e34c9e156aef">More...</a><br /></td></tr>
<tr class="separator:a5f343e0325e3e9d9ed20e34c9e156aef"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4a64d05cc676bfa8e18bf22d16c8a51f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVBufferRef.html">AVBufferRef</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a4a64d05cc676bfa8e18bf22d16c8a51f">buf</a> [<a class="el" href="frame_8h.html#add80189702cf0f5ea82718576fb43201">AV_NUM_DATA_POINTERS</a>]</td></tr>
<tr class="memdesc:a4a64d05cc676bfa8e18bf22d16c8a51f"><td class="mdescLeft"> </td><td class="mdescRight">AVBuffer references backing the data for this frame. <a href="#a4a64d05cc676bfa8e18bf22d16c8a51f">More...</a><br /></td></tr>
<tr class="separator:a4a64d05cc676bfa8e18bf22d16c8a51f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a254a144d113ceedc003ec1547cc5bd54"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVBufferRef.html">AVBufferRef</a> ** </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a254a144d113ceedc003ec1547cc5bd54">extended_buf</a></td></tr>
<tr class="memdesc:a254a144d113ceedc003ec1547cc5bd54"><td class="mdescLeft"> </td><td class="mdescRight">For planar audio which requires more than AV_NUM_DATA_POINTERS <a class="el" href="structAVBufferRef.html" title="A reference to a data buffer. ">AVBufferRef</a> pointers, this array will hold all the references which cannot fit into <a class="el" href="structAVFrame.html#a4a64d05cc676bfa8e18bf22d16c8a51f" title="AVBuffer references backing the data for this frame. ">AVFrame.buf</a>. <a href="#a254a144d113ceedc003ec1547cc5bd54">More...</a><br /></td></tr>
<tr class="separator:a254a144d113ceedc003ec1547cc5bd54"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa2dc17f4f816018b0782e1386bdbeeb1"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#aa2dc17f4f816018b0782e1386bdbeeb1">nb_extended_buf</a></td></tr>
<tr class="memdesc:aa2dc17f4f816018b0782e1386bdbeeb1"><td class="mdescLeft"> </td><td class="mdescRight">Number of elements in extended_buf. <a href="#aa2dc17f4f816018b0782e1386bdbeeb1">More...</a><br /></td></tr>
<tr class="separator:aa2dc17f4f816018b0782e1386bdbeeb1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a44d40e03fe22a0511c9157dab22143ee"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVFrameSideData.html">AVFrameSideData</a> ** </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a44d40e03fe22a0511c9157dab22143ee">side_data</a></td></tr>
<tr class="separator:a44d40e03fe22a0511c9157dab22143ee"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9061ffbfdbdfec29f2dbfc252c5569a7"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a9061ffbfdbdfec29f2dbfc252c5569a7">nb_side_data</a></td></tr>
<tr class="separator:a9061ffbfdbdfec29f2dbfc252c5569a7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a49020cc320b8fb1f5449167b6c97515b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a49020cc320b8fb1f5449167b6c97515b">flags</a></td></tr>
<tr class="memdesc:a49020cc320b8fb1f5449167b6c97515b"><td class="mdescLeft"> </td><td class="mdescRight">Frame flags, a combination of <a class="el" href="group__lavu__frame__flags.html">AV_FRAME_FLAGS</a>. <a href="#a49020cc320b8fb1f5449167b6c97515b">More...</a><br /></td></tr>
<tr class="separator:a49020cc320b8fb1f5449167b6c97515b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a853afbad220bbc58549b4860732a3aa5"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="pixfmt_8h.html#a3da0bf691418bc22c4bcbe6583ad589a">AVColorRange</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a853afbad220bbc58549b4860732a3aa5">color_range</a></td></tr>
<tr class="memdesc:a853afbad220bbc58549b4860732a3aa5"><td class="mdescLeft"> </td><td class="mdescRight">MPEG vs JPEG YUV range. <a href="#a853afbad220bbc58549b4860732a3aa5">More...</a><br /></td></tr>
<tr class="separator:a853afbad220bbc58549b4860732a3aa5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a59a3f830494f2ed1133103a1bc9481e7"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="pixfmt_8h.html#ad384ee5a840bafd73daef08e6d9cafe7">AVColorPrimaries</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a59a3f830494f2ed1133103a1bc9481e7">color_primaries</a></td></tr>
<tr class="separator:a59a3f830494f2ed1133103a1bc9481e7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab09abb126e3922bc1d010cf044087939"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="pixfmt_8h.html#ad4791ea14975f098b649db7fcd731ce6">AVColorTransferCharacteristic</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#ab09abb126e3922bc1d010cf044087939">color_trc</a></td></tr>
<tr class="separator:ab09abb126e3922bc1d010cf044087939"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9262c231f1f64869439b4fe587fe1710"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="pixfmt_8h.html#aff71a069509a1ad3ff54d53a1c894c85">AVColorSpace</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a9262c231f1f64869439b4fe587fe1710">colorspace</a></td></tr>
<tr class="memdesc:a9262c231f1f64869439b4fe587fe1710"><td class="mdescLeft"> </td><td class="mdescRight">YUV colorspace type. <a href="#a9262c231f1f64869439b4fe587fe1710">More...</a><br /></td></tr>
<tr class="separator:a9262c231f1f64869439b4fe587fe1710"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1d15617172d8123a66bdcf8d4d826ee2"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="pixfmt_8h.html#a1f86ed1b6a420faccacf77c98db6c1ff">AVChromaLocation</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a1d15617172d8123a66bdcf8d4d826ee2">chroma_location</a></td></tr>
<tr class="separator:a1d15617172d8123a66bdcf8d4d826ee2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0943e85eb624c2191490862ececd319d"><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a0943e85eb624c2191490862ececd319d">best_effort_timestamp</a></td></tr>
<tr class="memdesc:a0943e85eb624c2191490862ececd319d"><td class="mdescLeft"> </td><td class="mdescRight">frame timestamp estimated using various heuristics, in stream time base <a href="#a0943e85eb624c2191490862ececd319d">More...</a><br /></td></tr>
<tr class="separator:a0943e85eb624c2191490862ececd319d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3bc83474709406b511c4f3498182d18a"><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a3bc83474709406b511c4f3498182d18a">pkt_pos</a></td></tr>
<tr class="memdesc:a3bc83474709406b511c4f3498182d18a"><td class="mdescLeft"> </td><td class="mdescRight">reordered pos from the last <a class="el" href="structAVPacket.html" title="This structure stores compressed data. ">AVPacket</a> that has been input into the decoder <a href="#a3bc83474709406b511c4f3498182d18a">More...</a><br /></td></tr>
<tr class="separator:a3bc83474709406b511c4f3498182d18a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a385c44d7cafe80cad82fe46e25cab221"><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a385c44d7cafe80cad82fe46e25cab221">pkt_duration</a></td></tr>
<tr class="memdesc:a385c44d7cafe80cad82fe46e25cab221"><td class="mdescLeft"> </td><td class="mdescRight">duration of the corresponding packet, expressed in AVStream->time_base units, 0 if unknown. <a href="#a385c44d7cafe80cad82fe46e25cab221">More...</a><br /></td></tr>
<tr class="separator:a385c44d7cafe80cad82fe46e25cab221"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5bde87fd101f66d6263bb451056dba13"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__lavu__dict.html#ga1d7cc0833bee918994a600556410315f">AVDictionary</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a5bde87fd101f66d6263bb451056dba13">metadata</a></td></tr>
<tr class="memdesc:a5bde87fd101f66d6263bb451056dba13"><td class="mdescLeft"> </td><td class="mdescRight">metadata. <a href="#a5bde87fd101f66d6263bb451056dba13">More...</a><br /></td></tr>
<tr class="separator:a5bde87fd101f66d6263bb451056dba13"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3dd46fd353a405f6e9b91c11d9c5b736"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a3dd46fd353a405f6e9b91c11d9c5b736">decode_error_flags</a></td></tr>
<tr class="memdesc:a3dd46fd353a405f6e9b91c11d9c5b736"><td class="mdescLeft"> </td><td class="mdescRight">decode error flags of the frame, set to a combination of FF_DECODE_ERROR_xxx flags if the decoder produced a frame, but there were errors during the decoding. <a href="#a3dd46fd353a405f6e9b91c11d9c5b736">More...</a><br /></td></tr>
<tr class="separator:a3dd46fd353a405f6e9b91c11d9c5b736"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a58c663568a99c1477c163e64858b3fef"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a58c663568a99c1477c163e64858b3fef">channels</a></td></tr>
<tr class="memdesc:a58c663568a99c1477c163e64858b3fef"><td class="mdescLeft"> </td><td class="mdescRight">number of audio channels, only used for audio. <a href="#a58c663568a99c1477c163e64858b3fef">More...</a><br /></td></tr>
<tr class="separator:a58c663568a99c1477c163e64858b3fef"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3cc73a3345ec1ff8e473ab6049c607e7"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a3cc73a3345ec1ff8e473ab6049c607e7">pkt_size</a></td></tr>
<tr class="memdesc:a3cc73a3345ec1ff8e473ab6049c607e7"><td class="mdescLeft"> </td><td class="mdescRight">size of the corresponding packet containing the compressed frame. <a href="#a3cc73a3345ec1ff8e473ab6049c607e7">More...</a><br /></td></tr>
<tr class="separator:a3cc73a3345ec1ff8e473ab6049c607e7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6e243e21c69bd4b04f1cf895d5d5f25f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> int8_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a6e243e21c69bd4b04f1cf895d5d5f25f">qscale_table</a></td></tr>
<tr class="memdesc:a6e243e21c69bd4b04f1cf895d5d5f25f"><td class="mdescLeft"> </td><td class="mdescRight">QP table. <a href="#a6e243e21c69bd4b04f1cf895d5d5f25f">More...</a><br /></td></tr>
<tr class="separator:a6e243e21c69bd4b04f1cf895d5d5f25f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac098b032e02908775f0552178e5465b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#ac098b032e02908775f0552178e5465b8">qstride</a></td></tr>
<tr class="memdesc:ac098b032e02908775f0552178e5465b8"><td class="mdescLeft"> </td><td class="mdescRight">QP store stride. <a href="#ac098b032e02908775f0552178e5465b8">More...</a><br /></td></tr>
<tr class="separator:ac098b032e02908775f0552178e5465b8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afab492e7a59bec741f2a0194611591b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#afab492e7a59bec741f2a0194611591b0">qscale_type</a></td></tr>
<tr class="separator:afab492e7a59bec741f2a0194611591b0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae7899bbbb38ef9da9e99f36fa69939cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVBufferRef.html">AVBufferRef</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#ae7899bbbb38ef9da9e99f36fa69939cc">qp_table_buf</a></td></tr>
<tr class="separator:ae7899bbbb38ef9da9e99f36fa69939cc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a29493fbfabaa21432c360a090426aa8e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVBufferRef.html">AVBufferRef</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a29493fbfabaa21432c360a090426aa8e">hw_frames_ctx</a></td></tr>
<tr class="memdesc:a29493fbfabaa21432c360a090426aa8e"><td class="mdescLeft"> </td><td class="mdescRight">For hwaccel-format frames, this should be a reference to the <a class="el" href="structAVHWFramesContext.html" title="This struct describes a set or pool of "hardware" frames (i.e. ">AVHWFramesContext</a> describing the frame. <a href="#a29493fbfabaa21432c360a090426aa8e">More...</a><br /></td></tr>
<tr class="separator:a29493fbfabaa21432c360a090426aa8e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a84480c55f3b66c9ec8a669872a14dfdc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVBufferRef.html">AVBufferRef</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a84480c55f3b66c9ec8a669872a14dfdc">opaque_ref</a></td></tr>
<tr class="memdesc:a84480c55f3b66c9ec8a669872a14dfdc"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structAVBufferRef.html" title="A reference to a data buffer. ">AVBufferRef</a> for free use by the API user. <a href="#a84480c55f3b66c9ec8a669872a14dfdc">More...</a><br /></td></tr>
<tr class="separator:a84480c55f3b66c9ec8a669872a14dfdc"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Video dimensions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>Video frames only.</p>
<p>The coded dimensions (in pixels) of the video frame, i.e. the size of the rectangle that contains some well-defined values.</p>
<dl class="section note"><dt>Note</dt><dd>The part of the frame intended for display/presentation is further restricted by the <a class="el" href="structAVFrame.html#cropping">Cropping rectangle</a>. </dd></dl>
</div></td></tr>
<tr class="memitem:a1e71ce60cedd5f3b6811714a9f7f9e0a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a1e71ce60cedd5f3b6811714a9f7f9e0a">width</a></td></tr>
<tr class="separator:a1e71ce60cedd5f3b6811714a9f7f9e0a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3f89733f429c98ba5bc64373fb0a3f13"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a3f89733f429c98ba5bc64373fb0a3f13">height</a></td></tr>
<tr class="separator:a3f89733f429c98ba5bc64373fb0a3f13"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Cropping</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="cropping"></a> Video frames only. The number of pixels to discard from the the top/bottom/left/right border of the frame to obtain the sub-rectangle of the frame intended for presentation. </p>
</div></td></tr>
<tr class="memitem:a851b4c8b2a3f508f6787afc683ef596e"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a851b4c8b2a3f508f6787afc683ef596e">crop_top</a></td></tr>
<tr class="separator:a851b4c8b2a3f508f6787afc683ef596e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae7280f60e1b120624b720f628deabe87"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#ae7280f60e1b120624b720f628deabe87">crop_bottom</a></td></tr>
<tr class="separator:ae7280f60e1b120624b720f628deabe87"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaf46b9e60511da886339e0b9b4e4de6f"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#aaf46b9e60511da886339e0b9b4e4de6f">crop_left</a></td></tr>
<tr class="separator:aaf46b9e60511da886339e0b9b4e4de6f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1966b657c92ef31cf0eefe87ce0867a5"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVFrame.html#a1966b657c92ef31cf0eefe87ce0867a5">crop_right</a></td></tr>
<tr class="separator:a1966b657c92ef31cf0eefe87ce0867a5"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This structure describes decoded (raw) audio or video data. </p>
<p><a class="el" href="structAVFrame.html" title="This structure describes decoded (raw) audio or video data. ">AVFrame</a> must be allocated using <a class="el" href="group__lavu__frame.html#gac700017c5270c79c1e1befdeeb008b2f" title="Allocate an AVFrame and set its fields to default values. ">av_frame_alloc()</a>. Note that this only allocates the <a class="el" href="structAVFrame.html" title="This structure describes decoded (raw) audio or video data. ">AVFrame</a> itself, the buffers for the data must be managed through other means (see below). <a class="el" href="structAVFrame.html" title="This structure describes decoded (raw) audio or video data. ">AVFrame</a> must be freed with <a class="el" href="group__lavu__frame.html#ga979d73f3228814aee56aeca0636e37cc" title="Free the frame and any dynamically allocated objects in it, e.g. ">av_frame_free()</a>.</p>
<p><a class="el" href="structAVFrame.html" title="This structure describes decoded (raw) audio or video data. ">AVFrame</a> is typically allocated once and then reused multiple times to hold different data (e.g. a single <a class="el" href="structAVFrame.html" title="This structure describes decoded (raw) audio or video data. ">AVFrame</a> to hold frames received from a decoder). In such a case, <a class="el" href="group__lavu__frame.html#ga0a2b687f9c1c5ed0089b01fd61227108" title="Unreference all the buffers referenced by frame and reset the frame fields. ">av_frame_unref()</a> will free any references held by the frame and reset it to its original clean state before it is reused again.</p>
<p>The data described by an <a class="el" href="structAVFrame.html" title="This structure describes decoded (raw) audio or video data. ">AVFrame</a> is usually reference counted through the AVBuffer API. The underlying buffer references are stored in <a class="el" href="structAVFrame.html#a4a64d05cc676bfa8e18bf22d16c8a51f" title="AVBuffer references backing the data for this frame. ">AVFrame.buf</a> / <a class="el" href="structAVFrame.html#a254a144d113ceedc003ec1547cc5bd54" title="For planar audio which requires more than AV_NUM_DATA_POINTERS AVBufferRef pointers, this array will hold all the references which cannot fit into AVFrame.buf. ">AVFrame.extended_buf</a>. An <a class="el" href="structAVFrame.html" title="This structure describes decoded (raw) audio or video data. ">AVFrame</a> is considered to be reference counted if at least one reference is set, i.e. if <a class="el" href="structAVFrame.html#a4a64d05cc676bfa8e18bf22d16c8a51f" title="AVBuffer references backing the data for this frame. ">AVFrame.buf</a>[0] != NULL. In such a case, every single data plane must be contained in one of the buffers in <a class="el" href="structAVFrame.html#a4a64d05cc676bfa8e18bf22d16c8a51f" title="AVBuffer references backing the data for this frame. ">AVFrame.buf</a> or <a class="el" href="structAVFrame.html#a254a144d113ceedc003ec1547cc5bd54" title="For planar audio which requires more than AV_NUM_DATA_POINTERS AVBufferRef pointers, this array will hold all the references which cannot fit into AVFrame.buf. ">AVFrame.extended_buf</a>. There may be a single buffer for all the data, or one separate buffer for each plane, or anything in between.</p>
<p>sizeof(AVFrame) is not a part of the public ABI, so new fields may be added to the end with a minor bump.</p>
<p>Fields can be accessed through AVOptions, the name string used, matches the C structure field name for fields accessible through AVOptions. The <a class="el" href="structAVClass.html" title="Describe the class of an AVClass context structure. ">AVClass</a> for <a class="el" href="structAVFrame.html" title="This structure describes decoded (raw) audio or video data. ">AVFrame</a> can be obtained from <a class="el" href="group__lavc__core.html#gad55dfc8e9e168e498ab053b38ba6dec8" title="Get the AVClass for AVFrame. ">avcodec_get_frame_class()</a> </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="decode_audio_8c-example.html#_a5">decode_audio.c</a>, <a class="el" href="decode_video_8c-example.html#_a4">decode_video.c</a>, <a class="el" href="demuxing_decoding_8c-example.html#_a21">demuxing_decoding.c</a>, <a class="el" href="encode_audio_8c-example.html#_a12">encode_audio.c</a>, <a class="el" href="encode_video_8c-example.html#_a2">encode_video.c</a>, <a class="el" href="filter_audio_8c-example.html#_a33">filter_audio.c</a>, <a class="el" href="filtering_audio_8c-example.html#_a65">filtering_audio.c</a>, <a class="el" href="filtering_video_8c-example.html#_a56">filtering_video.c</a>, <a class="el" href="hw_decode_8c-example.html#_a24">hw_decode.c</a>, <a class="el" href="muxing_8c-example.html#_a7">muxing.c</a>, <a class="el" href="transcode_aac_8c-example.html#_a53">transcode_aac.c</a>, and <a class="el" href="transcoding_8c-example.html#_a101">transcoding.c</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00201">201</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a1d0f65014a8d1bf78cec8cbed2304992"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d0f65014a8d1bf78cec8cbed2304992">◆ </a></span>data</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t* AVFrame::data[<a class="el" href="frame_8h.html#add80189702cf0f5ea82718576fb43201">AV_NUM_DATA_POINTERS</a>]</td>
</tr>
</table>
</div><div class="memdoc">
<p>pointer to the picture/channel planes. </p>
<p>This might be different from the first allocated byte</p>
<p>Some decoders access areas outside 0,0 - width,height, please see <a class="el" href="group__lavc__decoding.html#ga34e3269dc1b9e2c98e9371241722e7e2" title="Modify width and height values so that they will result in a memory buffer that is acceptable for the...">avcodec_align_dimensions2()</a>. Some filters and swscale can read up to 16 bytes beyond the planes, if these filters are to be used, then 16 extra bytes must be allocated.</p>
<p>NOTE: Except for hwaccel formats, pointers not needed by the format MUST be set to NULL. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="decode_audio_8c-example.html#a15">decode_audio.c</a>, <a class="el" href="decode_video_8c-example.html#a13">decode_video.c</a>, <a class="el" href="demuxing_decoding_8c-example.html#a39">demuxing_decoding.c</a>, <a class="el" href="encode_audio_8c-example.html#a45">encode_audio.c</a>, <a class="el" href="encode_video_8c-example.html#a43">encode_video.c</a>, <a class="el" href="filtering_audio_8c-example.html#a70">filtering_audio.c</a>, <a class="el" href="filtering_video_8c-example.html#a61">filtering_video.c</a>, <a class="el" href="hw_decode_8c-example.html#a39">hw_decode.c</a>, <a class="el" href="muxing_8c-example.html#a93">muxing.c</a>, and <a class="el" href="transcode_aac_8c-example.html#a94">transcode_aac.c</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00215">215</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
<p class="reference">Referenced by <a class="el" href="decode__audio_8c_source.html#l00042">decode()</a>, <a class="el" href="demuxing__decoding_8c_source.html#l00064">decode_packet()</a>, <a class="el" href="hw__decode_8c_source.html#l00103">decode_write()</a>, <a class="el" href="filtering__video_8c_source.html#l00179">display_frame()</a>, <a class="el" href="muxing_8c_source.html#l00440">fill_yuv_image()</a>, <a class="el" href="muxing_8c_source.html#l00280">get_audio_frame()</a>, <a class="el" href="muxing_8c_source.html#l00461">get_video_frame()</a>, <a class="el" href="transcode__aac_8c_source.html#l00617">load_encode_and_write()</a>, <a class="el" href="encode__audio_8c_source.html#l00123">main()</a>, <a class="el" href="filtering__audio_8c_source.html#l00202">print_frame()</a>, and <a class="el" href="muxing_8c_source.html#l00309">write_audio_frame()</a>.</p>
</div>
</div>
<a id="aa52bfc6605f6a3059a0c3226cc0f6567"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa52bfc6605f6a3059a0c3226cc0f6567">◆ </a></span>linesize</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::linesize[<a class="el" href="frame_8h.html#add80189702cf0f5ea82718576fb43201">AV_NUM_DATA_POINTERS</a>]</td>
</tr>
</table>
</div><div class="memdoc">
<p>For video, size in bytes of each picture line. </p>
<p>For audio, size in bytes of each plane.</p>
<p>For audio, only linesize[0] may be set. For planar audio, each channel plane must be the same size.</p>
<p>For video the linesizes should be multiples of the CPUs alignment preference, this is 16 or 32 for modern desktop CPUs. Some code requires such alignment other code can be slower without correct alignment, for yet other it makes no difference.</p>
<dl class="section note"><dt>Note</dt><dd>The linesize may be larger than the size of usable data – there may be extra padding present for performance reasons. </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="decode_video_8c-example.html#a14">decode_video.c</a>, <a class="el" href="demuxing_decoding_8c-example.html#a40">demuxing_decoding.c</a>, <a class="el" href="encode_video_8c-example.html#a44">encode_video.c</a>, <a class="el" href="filtering_video_8c-example.html#a64">filtering_video.c</a>, <a class="el" href="hw_decode_8c-example.html#a40">hw_decode.c</a>, and <a class="el" href="muxing_8c-example.html#a116">muxing.c</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00232">232</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
<p class="reference">Referenced by <a class="el" href="decode__video_8c_source.html#l00051">decode()</a>, <a class="el" href="demuxing__decoding_8c_source.html#l00064">decode_packet()</a>, <a class="el" href="hw__decode_8c_source.html#l00103">decode_write()</a>, <a class="el" href="filtering__video_8c_source.html#l00179">display_frame()</a>, <a class="el" href="muxing_8c_source.html#l00440">fill_yuv_image()</a>, <a class="el" href="muxing_8c_source.html#l00461">get_video_frame()</a>, and <a class="el" href="encode__video_8c_source.html#l00069">main()</a>.</p>
</div>
</div>
<a id="afca04d808393822625e09b5ba91c6756"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afca04d808393822625e09b5ba91c6756">◆ </a></span>extended_data</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t** AVFrame::extended_data</td>
</tr>
</table>
</div><div class="memdoc">
<p>pointers to the data planes/channels. </p>
<p>For video, this should simply point to data[].</p>
<p>For planar audio, each channel has a separate data pointer, and linesize[0] contains the size of each channel buffer. For packed audio, there is just one data pointer, and linesize[0] contains the total size of the buffer for all channels.</p>
<p>Note: Both data and extended_data should always be set in a valid frame, but for planar audio with more channels that can fit in data, extended_data must be used in order to access all channels. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="demuxing_decoding_8c-example.html#a48">demuxing_decoding.c</a>, <a class="el" href="filter_audio_8c-example.html#a43">filter_audio.c</a>, and <a class="el" href="transcode_aac_8c-example.html#a81">transcode_aac.c</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00248">248</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
<p class="reference">Referenced by <a class="el" href="demuxing__decoding_8c_source.html#l00064">decode_packet()</a>, <a class="el" href="filter__audio_8c_source.html#l00242">get_input()</a>, <a class="el" href="filter__audio_8c_source.html#l00215">process_output()</a>, and <a class="el" href="transcode__aac_8c_source.html#l00461">read_decode_convert_and_store()</a>.</p>
</div>
</div>
<a id="a1e71ce60cedd5f3b6811714a9f7f9e0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e71ce60cedd5f3b6811714a9f7f9e0a">◆ </a></span>width</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::width</td>
</tr>
</table>
</div><div class="memdoc">
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="decode_video_8c-example.html#a15">decode_video.c</a>, <a class="el" href="demuxing_decoding_8c-example.html#a33">demuxing_decoding.c</a>, <a class="el" href="encode_video_8c-example.html#a39">encode_video.c</a>, <a class="el" href="filtering_video_8c-example.html#a63">filtering_video.c</a>, <a class="el" href="hw_decode_8c-example.html#a35">hw_decode.c</a>, and <a class="el" href="muxing_8c-example.html#a111">muxing.c</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00259">259</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
<p class="reference">Referenced by <a class="el" href="muxing_8c_source.html#l00373">alloc_picture()</a>, <a class="el" href="decode__video_8c_source.html#l00051">decode()</a>, <a class="el" href="demuxing__decoding_8c_source.html#l00064">decode_packet()</a>, <a class="el" href="hw__decode_8c_source.html#l00103">decode_write()</a>, <a class="el" href="filtering__video_8c_source.html#l00179">display_frame()</a>, and <a class="el" href="encode__video_8c_source.html#l00069">main()</a>.</p>
</div>
</div>
<a id="a3f89733f429c98ba5bc64373fb0a3f13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f89733f429c98ba5bc64373fb0a3f13">◆ </a></span>height</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::height</td>
</tr>
</table>
</div><div class="memdoc">
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="decode_video_8c-example.html#a16">decode_video.c</a>, <a class="el" href="demuxing_decoding_8c-example.html#a34">demuxing_decoding.c</a>, <a class="el" href="encode_video_8c-example.html#a40">encode_video.c</a>, <a class="el" href="filtering_video_8c-example.html#a62">filtering_video.c</a>, <a class="el" href="hw_decode_8c-example.html#a36">hw_decode.c</a>, and <a class="el" href="muxing_8c-example.html#a112">muxing.c</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00259">259</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
<p class="reference">Referenced by <a class="el" href="muxing_8c_source.html#l00373">alloc_picture()</a>, <a class="el" href="decode__video_8c_source.html#l00051">decode()</a>, <a class="el" href="demuxing__decoding_8c_source.html#l00064">decode_packet()</a>, <a class="el" href="hw__decode_8c_source.html#l00103">decode_write()</a>, <a class="el" href="filtering__video_8c_source.html#l00179">display_frame()</a>, and <a class="el" href="encode__video_8c_source.html#l00069">main()</a>.</p>
</div>
</div>
<a id="a02f45ab8191aea1660159f1e464237ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02f45ab8191aea1660159f1e464237ea">◆ </a></span>nb_samples</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::nb_samples</td>
</tr>
</table>
</div><div class="memdoc">
<p>number of audio samples (per channel) described by this frame </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="decode_audio_8c-example.html#a13">decode_audio.c</a>, <a class="el" href="demuxing_decoding_8c-example.html#a43">demuxing_decoding.c</a>, <a class="el" href="encode_audio_8c-example.html#a38">encode_audio.c</a>, <a class="el" href="filter_audio_8c-example.html#a40">filter_audio.c</a>, <a class="el" href="filtering_audio_8c-example.html#a67">filtering_audio.c</a>, <a class="el" href="muxing_8c-example.html#a73">muxing.c</a>, and <a class="el" href="transcode_aac_8c-example.html#a80">transcode_aac.c</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00267">267</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
<p class="reference">Referenced by <a class="el" href="muxing_8c_source.html#l00187">alloc_audio_frame()</a>, <a class="el" href="decode__audio_8c_source.html#l00042">decode()</a>, <a class="el" href="demuxing__decoding_8c_source.html#l00064">decode_packet()</a>, <a class="el" href="transcode__aac_8c_source.html#l00570">encode_audio_frame()</a>, <a class="el" href="muxing_8c_source.html#l00280">get_audio_frame()</a>, <a class="el" href="filter__audio_8c_source.html#l00242">get_input()</a>, <a class="el" href="encode__audio_8c_source.html#l00123">main()</a>, <a class="el" href="filtering__audio_8c_source.html#l00202">print_frame()</a>, <a class="el" href="filter__audio_8c_source.html#l00215">process_output()</a>, <a class="el" href="transcode__aac_8c_source.html#l00461">read_decode_convert_and_store()</a>, and <a class="el" href="muxing_8c_source.html#l00309">write_audio_frame()</a>.</p>
</div>
</div>
<a id="aed14fa772ce46881020fd1545c86432c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed14fa772ce46881020fd1545c86432c">◆ </a></span>format</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::format</td>
</tr>
</table>
</div><div class="memdoc">
<p>format of the frame, -1 if unknown or unset Values correspond to enum AVPixelFormat for video frames, enum AVSampleFormat for audio) </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="demuxing_decoding_8c-example.html#a35">demuxing_decoding.c</a>, <a class="el" href="encode_audio_8c-example.html#a40">encode_audio.c</a>, <a class="el" href="encode_video_8c-example.html#a38">encode_video.c</a>, <a class="el" href="filter_audio_8c-example.html#a36">filter_audio.c</a>, <a class="el" href="hw_decode_8c-example.html#a32">hw_decode.c</a>, and <a class="el" href="muxing_8c-example.html#a70">muxing.c</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00274">274</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
<p class="reference">Referenced by <a class="el" href="muxing_8c_source.html#l00187">alloc_audio_frame()</a>, <a class="el" href="muxing_8c_source.html#l00373">alloc_picture()</a>, <a class="el" href="demuxing__decoding_8c_source.html#l00064">decode_packet()</a>, <a class="el" href="hw__decode_8c_source.html#l00103">decode_write()</a>, <a class="el" href="filter__audio_8c_source.html#l00242">get_input()</a>, <a class="el" href="encode__audio_8c_source.html#l00123">main()</a>, and <a class="el" href="filter__audio_8c_source.html#l00215">process_output()</a>.</p>
</div>
</div>
<a id="a3649a81e8414a193d685a6eee06ce902"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3649a81e8414a193d685a6eee06ce902">◆ </a></span>key_frame</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::key_frame</td>
</tr>
</table>
</div><div class="memdoc">
<p>1 -> keyframe, 0-> not </p>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00279">279</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="af9920fc3fbfa347b8943ae461b50d18b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9920fc3fbfa347b8943ae461b50d18b">◆ </a></span>pict_type</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__lavu__picture.html#gae6cbcab1f70d8e476757f1c1f5a0a78e">AVPictureType</a> AVFrame::pict_type</td>
</tr>
</table>
</div><div class="memdoc">
<p>Picture type of the frame. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="transcoding_8c-example.html#a120">transcoding.c</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00284">284</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
<p class="reference">Referenced by <a class="el" href="transcoding_8c_source.html#l00441">filter_encode_write_frame()</a>.</p>
</div>
</div>
<a id="a62f9c20541a83d37db7072126ff0060d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62f9c20541a83d37db7072126ff0060d">◆ </a></span>sample_aspect_ratio</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVRational.html">AVRational</a> AVFrame::sample_aspect_ratio</td>
</tr>
</table>
</div><div class="memdoc">
<p>Sample aspect ratio for the video frame, 0/1 if unknown/unspecified. </p>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00289">289</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a0452833e3ab6ddd7acbf82817a7818a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0452833e3ab6ddd7acbf82817a7818a4">◆ </a></span>pts</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t AVFrame::pts</td>
</tr>
</table>
</div><div class="memdoc">
<p>Presentation timestamp in time_base units (time when frame should be shown to user). </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="demuxing_decoding_8c-example.html#a46">demuxing_decoding.c</a>, <a class="el" href="encode_video_8c-example.html#a6">encode_video.c</a>, <a class="el" href="filter_audio_8c-example.html#a47">filter_audio.c</a>, <a class="el" href="filtering_video_8c-example.html#a58">filtering_video.c</a>, <a class="el" href="muxing_8c-example.html#a96">muxing.c</a>, <a class="el" href="transcode_aac_8c-example.html#a87">transcode_aac.c</a>, and <a class="el" href="transcoding_8c-example.html#a132">transcoding.c</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00294">294</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
<p class="reference">Referenced by <a class="el" href="demuxing__decoding_8c_source.html#l00064">decode_packet()</a>, <a class="el" href="filtering__video_8c_source.html#l00179">display_frame()</a>, <a class="el" href="encode__video_8c_source.html#l00039">encode()</a>, <a class="el" href="transcode__aac_8c_source.html#l00570">encode_audio_frame()</a>, <a class="el" href="muxing_8c_source.html#l00280">get_audio_frame()</a>, <a class="el" href="filter__audio_8c_source.html#l00242">get_input()</a>, <a class="el" href="muxing_8c_source.html#l00461">get_video_frame()</a>, <a class="el" href="encode__video_8c_source.html#l00069">main()</a>, and <a class="el" href="muxing_8c_source.html#l00309">write_audio_frame()</a>.</p>
</div>
</div>
<a id="a3622b748fe215af3821ebb1c9e514c6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3622b748fe215af3821ebb1c9e514c6b">◆ </a></span>pkt_pts</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> int64_t AVFrame::pkt_pts</td>
</tr>
</table>
</div><div class="memdoc">
<p>PTS copied from the <a class="el" href="structAVPacket.html" title="This structure stores compressed data. ">AVPacket</a> that was decoded to produce this frame. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000092">Deprecated:</a></b></dt><dd>use the pts field instead </dd></dl>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00302">302</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="aa52951f35ec9e303d3dfeb4b3e44248a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa52951f35ec9e303d3dfeb4b3e44248a">◆ </a></span>pkt_dts</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t AVFrame::pkt_dts</td>
</tr>
</table>
</div><div class="memdoc">
<p>DTS copied from the <a class="el" href="structAVPacket.html" title="This structure stores compressed data. ">AVPacket</a> that triggered returning this frame. </p>
<p>(if frame threading isn't used) This is also the Presentation time of this <a class="el" href="structAVFrame.html" title="This structure describes decoded (raw) audio or video data. ">AVFrame</a> calculated from only <a class="el" href="structAVPacket.html#a85dbbd306b44b02390cd91c45e6a0f76" title="Decompression timestamp in AVStream->time_base units; the time at which the packet is decompressed...">AVPacket.dts</a> values without pts values. </p>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00310">310</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a02ca9bb7f500d3d850f8736f3cb29c6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02ca9bb7f500d3d850f8736f3cb29c6c">◆ </a></span>coded_picture_number</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::coded_picture_number</td>
</tr>
</table>
</div><div class="memdoc">
<p>picture number in bitstream order </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="demuxing_decoding_8c-example.html#a37">demuxing_decoding.c</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00315">315</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
<p class="reference">Referenced by <a class="el" href="demuxing__decoding_8c_source.html#l00064">decode_packet()</a>.</p>
</div>
</div>
<a id="a12b00a552b74c79f0760b80fac18efe7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12b00a552b74c79f0760b80fac18efe7">◆ </a></span>display_picture_number</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::display_picture_number</td>
</tr>
</table>
</div><div class="memdoc">
<p>picture number in display order </p>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00319">319</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a791c071afd3e95fcae14cb781829754d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a791c071afd3e95fcae14cb781829754d">◆ </a></span>quality</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::quality</td>
</tr>
</table>
</div><div class="memdoc">
<p>quality (between 1 (good) and FF_LAMBDA_MAX (bad)) </p>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00324">324</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a385d043b41cd182b7b1bdaec56ed19e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a385d043b41cd182b7b1bdaec56ed19e0">◆ </a></span>opaque</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* AVFrame::opaque</td>
</tr>
</table>
</div><div class="memdoc">
<p>for some private data of the user </p>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00329">329</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a346b93aa671751477ec4361cf567e9c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a346b93aa671751477ec4361cf567e9c9">◆ </a></span>error</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> uint64_t AVFrame::error[<a class="el" href="frame_8h.html#add80189702cf0f5ea82718576fb43201">AV_NUM_DATA_POINTERS</a>]</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000093">Deprecated:</a></b></dt><dd>unused </dd></dl>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00336">336</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="aef11fd783ad17b6841af82efa07c859e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef11fd783ad17b6841af82efa07c859e">◆ </a></span>repeat_pict</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::repeat_pict</td>
</tr>
</table>
</div><div class="memdoc">
<p>When decoding, this signals how much the picture must be delayed. </p>
<p>extra_delay = repeat_pict / (2*fps) </p>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00343">343</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a7f761518da738c704676c6a5f08eeb8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f761518da738c704676c6a5f08eeb8e">◆ </a></span>interlaced_frame</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::interlaced_frame</td>
</tr>
</table>
</div><div class="memdoc">
<p>The content of the picture is interlaced. </p>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00348">348</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a6f3ee0596312c90a2ef2ad160c991188"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f3ee0596312c90a2ef2ad160c991188">◆ </a></span>top_field_first</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::top_field_first</td>
</tr>
</table>
</div><div class="memdoc">
<p>If the content is interlaced, is top field displayed first. </p>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00353">353</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a6144be38de30e80de331f435e61f5f4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6144be38de30e80de331f435e61f5f4c">◆ </a></span>palette_has_changed</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::palette_has_changed</td>
</tr>
</table>
</div><div class="memdoc">
<p>Tell user application that palette has changed from previous frame. </p>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00358">358</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="ab54a78c51318c8c678e545b1f3d6fddd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab54a78c51318c8c678e545b1f3d6fddd">◆ </a></span>reordered_opaque</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t AVFrame::reordered_opaque</td>
</tr>
</table>
</div><div class="memdoc">
<p>reordered opaque 64 bits (generally an integer or a double precision float PTS but can be anything). </p>
<p>The user sets <a class="el" href="structAVCodecContext.html#a64c09907902b41744c3ea60c89fd42fb" title="opaque 64-bit number (generally a PTS) that will be reordered and output in AVFrame.reordered_opaque ">AVCodecContext.reordered_opaque</a> to represent the input at that time, the decoder reorders values as needed and sets <a class="el" href="structAVFrame.html#ab54a78c51318c8c678e545b1f3d6fddd" title="reordered opaque 64 bits (generally an integer or a double precision float PTS but can be anything)...">AVFrame.reordered_opaque</a> to exactly one of the values provided by the user through <a class="el" href="structAVCodecContext.html#a64c09907902b41744c3ea60c89fd42fb" title="opaque 64-bit number (generally a PTS) that will be reordered and output in AVFrame.reordered_opaque ">AVCodecContext.reordered_opaque</a> </p><dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000094">Deprecated:</a></b></dt><dd>in favor of pkt_pts </dd></dl>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00369">369</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="ac85daa1316e1f47e78da0ca19b7c60e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac85daa1316e1f47e78da0ca19b7c60e6">◆ </a></span>sample_rate</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::sample_rate</td>
</tr>
</table>
</div><div class="memdoc">
<p>Sample rate of the audio data. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="filter_audio_8c-example.html#a45">filter_audio.c</a>, and <a class="el" href="muxing_8c-example.html#a72">muxing.c</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00374">374</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
<p class="reference">Referenced by <a class="el" href="muxing_8c_source.html#l00187">alloc_audio_frame()</a>, and <a class="el" href="filter__audio_8c_source.html#l00242">get_input()</a>.</p>
</div>
</div>
<a id="a5f343e0325e3e9d9ed20e34c9e156aef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f343e0325e3e9d9ed20e34c9e156aef">◆ </a></span>channel_layout</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint64_t AVFrame::channel_layout</td>
</tr>
</table>
</div><div class="memdoc">
<p>Channel layout of the audio data. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="encode_audio_8c-example.html#a41">encode_audio.c</a>, <a class="el" href="filter_audio_8c-example.html#a38">filter_audio.c</a>, <a class="el" href="filtering_audio_8c-example.html#a69">filtering_audio.c</a>, and <a class="el" href="muxing_8c-example.html#a71">muxing.c</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00379">379</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
<p class="reference">Referenced by <a class="el" href="muxing_8c_source.html#l00187">alloc_audio_frame()</a>, <a class="el" href="filter__audio_8c_source.html#l00242">get_input()</a>, <a class="el" href="encode__audio_8c_source.html#l00123">main()</a>, <a class="el" href="filtering__audio_8c_source.html#l00202">print_frame()</a>, and <a class="el" href="filter__audio_8c_source.html#l00215">process_output()</a>.</p>
</div>
</div>
<a id="a4a64d05cc676bfa8e18bf22d16c8a51f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a64d05cc676bfa8e18bf22d16c8a51f">◆ </a></span>buf</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVBufferRef.html">AVBufferRef</a>* AVFrame::buf[<a class="el" href="frame_8h.html#add80189702cf0f5ea82718576fb43201">AV_NUM_DATA_POINTERS</a>]</td>
</tr>
</table>
</div><div class="memdoc">
<p>AVBuffer references backing the data for this frame. </p>
<p>If all elements of this array are NULL, then this frame is not reference counted. This array must be filled contiguously – if buf[i] is non-NULL then buf[j] must also be non-NULL for all j < i.</p>
<p>There may be at most one AVBuffer per data plane, so for video this array always contains all the references. For planar audio with more than AV_NUM_DATA_POINTERS channels, there may be more buffers than can fit in this array. Then the extra <a class="el" href="structAVBufferRef.html" title="A reference to a data buffer. ">AVBufferRef</a> pointers are stored in the extended_buf array. </p>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00393">393</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a254a144d113ceedc003ec1547cc5bd54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a254a144d113ceedc003ec1547cc5bd54">◆ </a></span>extended_buf</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVBufferRef.html">AVBufferRef</a>** AVFrame::extended_buf</td>
</tr>
</table>
</div><div class="memdoc">
<p>For planar audio which requires more than AV_NUM_DATA_POINTERS <a class="el" href="structAVBufferRef.html" title="A reference to a data buffer. ">AVBufferRef</a> pointers, this array will hold all the references which cannot fit into <a class="el" href="structAVFrame.html#a4a64d05cc676bfa8e18bf22d16c8a51f" title="AVBuffer references backing the data for this frame. ">AVFrame.buf</a>. </p>
<p>Note that this is different from <a class="el" href="structAVFrame.html#afca04d808393822625e09b5ba91c6756" title="pointers to the data planes/channels. ">AVFrame.extended_data</a>, which always contains all the pointers. This array only contains the extra pointers, which cannot fit into <a class="el" href="structAVFrame.html#a4a64d05cc676bfa8e18bf22d16c8a51f" title="AVBuffer references backing the data for this frame. ">AVFrame.buf</a>.</p>
<p>This array is always allocated using <a class="el" href="group__lavu__mem__funcs.html#ga7c4f0fe9fe716121ce05f7170810ce8e" title="Allocate a memory block with alignment suitable for all memory accesses (including vectors if availab...">av_malloc()</a> by whoever constructs the frame. It is freed in <a class="el" href="group__lavu__frame.html#ga0a2b687f9c1c5ed0089b01fd61227108" title="Unreference all the buffers referenced by frame and reset the frame fields. ">av_frame_unref()</a>. </p>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00407">407</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="aa2dc17f4f816018b0782e1386bdbeeb1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2dc17f4f816018b0782e1386bdbeeb1">◆ </a></span>nb_extended_buf</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::nb_extended_buf</td>
</tr>
</table>
</div><div class="memdoc">
<p>Number of elements in extended_buf. </p>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00411">411</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a44d40e03fe22a0511c9157dab22143ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44d40e03fe22a0511c9157dab22143ee">◆ </a></span>side_data</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVFrameSideData.html">AVFrameSideData</a>** AVFrame::side_data</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00413">413</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a9061ffbfdbdfec29f2dbfc252c5569a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9061ffbfdbdfec29f2dbfc252c5569a7">◆ </a></span>nb_side_data</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::nb_side_data</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00414">414</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a49020cc320b8fb1f5449167b6c97515b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49020cc320b8fb1f5449167b6c97515b">◆ </a></span>flags</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::flags</td>
</tr>
</table>
</div><div class="memdoc">
<p>Frame flags, a combination of <a class="el" href="group__lavu__frame__flags.html">AV_FRAME_FLAGS</a>. </p>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00439">439</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a853afbad220bbc58549b4860732a3aa5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a853afbad220bbc58549b4860732a3aa5">◆ </a></span>color_range</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="pixfmt_8h.html#a3da0bf691418bc22c4bcbe6583ad589a">AVColorRange</a> AVFrame::color_range</td>
</tr>
</table>
</div><div class="memdoc">
<p>MPEG vs JPEG YUV range. </p>
<ul>
<li>encoding: Set by user</li>
<li>decoding: Set by libavcodec </li>
</ul>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00446">446</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a59a3f830494f2ed1133103a1bc9481e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59a3f830494f2ed1133103a1bc9481e7">◆ </a></span>color_primaries</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="pixfmt_8h.html#ad384ee5a840bafd73daef08e6d9cafe7">AVColorPrimaries</a> AVFrame::color_primaries</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00448">448</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="ab09abb126e3922bc1d010cf044087939"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab09abb126e3922bc1d010cf044087939">◆ </a></span>color_trc</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="pixfmt_8h.html#ad4791ea14975f098b649db7fcd731ce6">AVColorTransferCharacteristic</a> AVFrame::color_trc</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00450">450</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a9262c231f1f64869439b4fe587fe1710"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9262c231f1f64869439b4fe587fe1710">◆ </a></span>colorspace</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="pixfmt_8h.html#aff71a069509a1ad3ff54d53a1c894c85">AVColorSpace</a> AVFrame::colorspace</td>
</tr>
</table>
</div><div class="memdoc">
<p>YUV colorspace type. </p>
<ul>
<li>encoding: Set by user</li>
<li>decoding: Set by libavcodec </li>
</ul>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00457">457</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a1d15617172d8123a66bdcf8d4d826ee2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d15617172d8123a66bdcf8d4d826ee2">◆ </a></span>chroma_location</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="pixfmt_8h.html#a1f86ed1b6a420faccacf77c98db6c1ff">AVChromaLocation</a> AVFrame::chroma_location</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00459">459</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a0943e85eb624c2191490862ececd319d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0943e85eb624c2191490862ececd319d">◆ </a></span>best_effort_timestamp</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t AVFrame::best_effort_timestamp</td>
</tr>
</table>
</div><div class="memdoc">
<p>frame timestamp estimated using various heuristics, in stream time base </p>
<ul>
<li>encoding: unused</li>
<li>decoding: set by libavcodec, read by user. </li>
</ul>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="filtering_video_8c-example.html#a75">filtering_video.c</a>, and <a class="el" href="transcoding_8c-example.html#a133">transcoding.c</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00466">466</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
<p class="reference">Referenced by <a class="el" href="filtering__video_8c_source.html#l00210">main()</a>.</p>
</div>
</div>
<a id="a3bc83474709406b511c4f3498182d18a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bc83474709406b511c4f3498182d18a">◆ </a></span>pkt_pos</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t AVFrame::pkt_pos</td>
</tr>
</table>
</div><div class="memdoc">
<p>reordered pos from the last <a class="el" href="structAVPacket.html" title="This structure stores compressed data. ">AVPacket</a> that has been input into the decoder </p>
<ul>
<li>encoding: unused</li>
<li>decoding: Read by user. </li>
</ul>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00473">473</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a385c44d7cafe80cad82fe46e25cab221"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a385c44d7cafe80cad82fe46e25cab221">◆ </a></span>pkt_duration</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t AVFrame::pkt_duration</td>
</tr>
</table>
</div><div class="memdoc">
<p>duration of the corresponding packet, expressed in AVStream->time_base units, 0 if unknown. </p>
<ul>
<li>encoding: unused</li>
<li>decoding: Read by user. </li>
</ul>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00481">481</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a5bde87fd101f66d6263bb451056dba13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5bde87fd101f66d6263bb451056dba13">◆ </a></span>metadata</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__lavu__dict.html#ga1d7cc0833bee918994a600556410315f">AVDictionary</a>* AVFrame::metadata</td>
</tr>
</table>
</div><div class="memdoc">
<p>metadata. </p>
<ul>
<li>encoding: Set by user.</li>
<li>decoding: Set by libavcodec. </li>
</ul>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00488">488</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a3dd46fd353a405f6e9b91c11d9c5b736"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3dd46fd353a405f6e9b91c11d9c5b736">◆ </a></span>decode_error_flags</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::decode_error_flags</td>
</tr>
</table>
</div><div class="memdoc">
<p>decode error flags of the frame, set to a combination of FF_DECODE_ERROR_xxx flags if the decoder produced a frame, but there were errors during the decoding. </p>
<ul>
<li>encoding: unused</li>
<li>decoding: set by libavcodec, read by user. </li>
</ul>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00497">497</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a58c663568a99c1477c163e64858b3fef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58c663568a99c1477c163e64858b3fef">◆ </a></span>channels</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::channels</td>
</tr>
</table>
</div><div class="memdoc">
<p>number of audio channels, only used for audio. </p>
<ul>
<li>encoding: unused</li>
<li>decoding: Read by user. </li>
</ul>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00506">506</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a3cc73a3345ec1ff8e473ab6049c607e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3cc73a3345ec1ff8e473ab6049c607e7">◆ </a></span>pkt_size</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVFrame::pkt_size</td>
</tr>
</table>
</div><div class="memdoc">
<p>size of the corresponding packet containing the compressed frame. </p>
<p>It is set to a negative value if unknown.</p><ul>
<li>encoding: unused</li>
<li>decoding: set by libavcodec, read by user. </li>
</ul>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00515">515</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a6e243e21c69bd4b04f1cf895d5d5f25f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e243e21c69bd4b04f1cf895d5d5f25f">◆ </a></span>qscale_table</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> int8_t* AVFrame::qscale_table</td>
</tr>
</table>
</div><div class="memdoc">
<p>QP table. </p>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00522">522</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="ac098b032e02908775f0552178e5465b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac098b032e02908775f0552178e5465b8">◆ </a></span>qstride</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> int AVFrame::qstride</td>
</tr>
</table>
</div><div class="memdoc">
<p>QP store stride. </p>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00527">527</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="afab492e7a59bec741f2a0194611591b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afab492e7a59bec741f2a0194611591b0">◆ </a></span>qscale_type</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> int AVFrame::qscale_type</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00530">530</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="ae7899bbbb38ef9da9e99f36fa69939cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7899bbbb38ef9da9e99f36fa69939cc">◆ </a></span>qp_table_buf</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVBufferRef.html">AVBufferRef</a>* AVFrame::qp_table_buf</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00532">532</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a29493fbfabaa21432c360a090426aa8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29493fbfabaa21432c360a090426aa8e">◆ </a></span>hw_frames_ctx</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVBufferRef.html">AVBufferRef</a>* AVFrame::hw_frames_ctx</td>
</tr>
</table>
</div><div class="memdoc">
<p>For hwaccel-format frames, this should be a reference to the <a class="el" href="structAVHWFramesContext.html" title="This struct describes a set or pool of "hardware" frames (i.e. ">AVHWFramesContext</a> describing the frame. </p>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00538">538</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a84480c55f3b66c9ec8a669872a14dfdc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84480c55f3b66c9ec8a669872a14dfdc">◆ </a></span>opaque_ref</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVBufferRef.html">AVBufferRef</a>* AVFrame::opaque_ref</td>
</tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="structAVBufferRef.html" title="A reference to a data buffer. ">AVBufferRef</a> for free use by the API user. </p>
<p>FFmpeg will never check the contents of the buffer ref. FFmpeg calls <a class="el" href="group__lavu__buffer.html#ga135e9e929b5033bb8f68322497b2effc" title="Free a given reference and automatically free the buffer if there are no more references to it...">av_buffer_unref()</a> on it when the frame is unreferenced. <a class="el" href="group__lavu__frame.html#gab9b275b114ace0db95c5796bc71f3012" title="Copy only "metadata" fields from src to dst. ">av_frame_copy_props()</a> calls create a new reference with <a class="el" href="group__lavu__buffer.html#gaa40ce7d3ede946a89d03323bbd7268c1" title="Create a new reference to an AVBuffer. ">av_buffer_ref()</a> for the target frame's opaque_ref field.</p>
<p>This is unrelated to the opaque field, although it serves a similar purpose. </p>
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00549">549</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a851b4c8b2a3f508f6787afc683ef596e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a851b4c8b2a3f508f6787afc683ef596e">◆ </a></span>crop_top</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t AVFrame::crop_top</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00559">559</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="ae7280f60e1b120624b720f628deabe87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7280f60e1b120624b720f628deabe87">◆ </a></span>crop_bottom</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t AVFrame::crop_bottom</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00560">560</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="aaf46b9e60511da886339e0b9b4e4de6f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf46b9e60511da886339e0b9b4e4de6f">◆ </a></span>crop_left</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t AVFrame::crop_left</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00561">561</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<a id="a1966b657c92ef31cf0eefe87ce0867a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1966b657c92ef31cf0eefe87ce0867a5">◆ </a></span>crop_right</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t AVFrame::crop_right</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="frame_8h_source.html#l00562">562</a> of file <a class="el" href="frame_8h_source.html">frame.h</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>libavutil/<a class="el" href="frame_8h_source.html">frame.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
|