Lines Matching refs:picture_

31 …treamMetadata streaminfo_, padding_, seektable_, application_, vorbiscomment_, cuesheet_, picture_;
206 picture_.is_last = true; in init_metadata_blocks_()
207 picture_.type = FLAC__METADATA_TYPE_PICTURE; in init_metadata_blocks_()
208 picture_.length = in init_metadata_blocks_()
220 picture_.data.picture.type = FLAC__STREAM_METADATA_PICTURE_TYPE_FRONT_COVER; in init_metadata_blocks_()
221 picture_.data.picture.mime_type = strdup_or_die_("image/jpeg"); in init_metadata_blocks_()
222 picture_.length += strlen(picture_.data.picture.mime_type); in init_metadata_blocks_()
223 picture_.data.picture.description = (FLAC__byte*)strdup_or_die_("desc"); in init_metadata_blocks_()
224 picture_.length += strlen((const char *)picture_.data.picture.description); in init_metadata_blocks_()
225 picture_.data.picture.width = 300; in init_metadata_blocks_()
226 picture_.data.picture.height = 300; in init_metadata_blocks_()
227 picture_.data.picture.depth = 24; in init_metadata_blocks_()
228 picture_.data.picture.colors = 0; in init_metadata_blocks_()
229 picture_.data.picture.data = (FLAC__byte*)strdup_or_die_("SOMEJPEGDATA"); in init_metadata_blocks_()
230 picture_.data.picture.data_length = strlen((const char *)picture_.data.picture.data); in init_metadata_blocks_()
231 picture_.length += picture_.data.picture.data_length; in init_metadata_blocks_()
245 free(picture_.data.picture.mime_type); in free_metadata_blocks_()
246 free(picture_.data.picture.description); in free_metadata_blocks_()
247 free(picture_.data.picture.data); in free_metadata_blocks_()
1851 FLAC::Metadata::Picture blockcopy(picture_); in test_metadata_object_picture()
1854 if(blockcopy != picture_) in test_metadata_object_picture()
1862 FLAC::Metadata::Picture blockcopy(&picture_); in test_metadata_object_picture()
1865 if(blockcopy != picture_) in test_metadata_object_picture()
1873 FLAC::Metadata::Picture blockcopy(&picture_, /*copy=*/true); in test_metadata_object_picture()
1876 if(blockcopy != picture_) in test_metadata_object_picture()
1884 ::FLAC__StreamMetadata *copy = ::FLAC__metadata_object_clone(&picture_); in test_metadata_object_picture()
1888 if(blockcopy != picture_) in test_metadata_object_picture()
1897 blockcopy.assign(&picture_, /*copy=*/true); in test_metadata_object_picture()
1900 if(blockcopy != picture_) in test_metadata_object_picture()
1908 ::FLAC__StreamMetadata *copy = ::FLAC__metadata_object_clone(&picture_); in test_metadata_object_picture()
1913 if(blockcopy != picture_) in test_metadata_object_picture()
1932 FLAC::Metadata::Picture blockcopy = picture_; in test_metadata_object_picture()
1935 if(!(blockcopy == picture_)) in test_metadata_object_picture()
1943 FLAC::Metadata::Picture blockcopy = &picture_; in test_metadata_object_picture()
1946 if(!(blockcopy == picture_)) in test_metadata_object_picture()
1967 picture_.data.picture.mime_type[0] = 'q'; in test_metadata_object_picture()
1970 if(0 != strcmp(block.get_mime_type(), picture_.data.picture.mime_type)) in test_metadata_object_picture()
1978 picture_.data.picture.description[0] = 'q'; in test_metadata_object_picture()
1981 …if(0 != strcmp((const char *)block.get_description(), (const char *)picture_.data.picture.descript… in test_metadata_object_picture()
2042 picture_.data.picture.data[0] = 'q'; in test_metadata_object_picture()
2045 if(block.get_data_length() != picture_.data.picture.data_length) in test_metadata_object_picture()
2047 if(0 != memcmp(block.get_data(), picture_.data.picture.data, picture_.data.picture.data_length)) in test_metadata_object_picture()