/external/exoplayer/tree/extensions/av1/src/main/jni/ |
D | gav1_jni.cc | 62 const int kPlaneY = 0; variable 130 for (int plane_index = kPlaneY; plane_index < kMaxPlanes; plane_index++) { in ~JniFrameBuffer() 142 for (int plane_index = kPlaneY; plane_index < decoder_buffer.NumPlanes(); in SetFrameData() 176 for (int plane_index = kPlaneY; plane_index < kMaxPlanes; plane_index++) { in MaybeReallocateGav1DataPlanes() 178 (plane_index == kPlaneY) ? y_plane_min_size : uv_plane_min_size; in MaybeReallocateGav1DataPlanes() 380 for (int plane_index = kPlaneY; plane_index < decoder_buffer->NumPlanes(); in CopyFrameToDataBuffer() 391 for (int plane_index = kPlaneY; plane_index < decoder_buffer->NumPlanes(); in Convert10BitFrameTo8BitDataBuffer() 419 for (int plane_index = kPlaneY; plane_index < kMaxPlanes; plane_index++) { in Convert10BitFrameTo8BitDataBufferNeon() 600 decoder_buffer->displayed_width[kPlaneY], in DECODER_FUNC() 601 decoder_buffer->displayed_height[kPlaneY], in DECODER_FUNC() [all …]
|
/external/libgav1/libgav1/src/post_filter/ |
D | cdef.cc | 92 int plane = kPlaneY; in SetupCdefBorder() 146 for (int plane = y_plane ? kPlaneY : kPlaneU; plane < max_planes; ++plane) { in PrepareCdefBlock() 276 int plane = kPlaneY; in ApplyCdefForOneUnit() 307 int plane = kPlaneY; in ApplyCdefForOneUnit() 327 GetSourceBuffer(kPlaneY, row4x4_start, in ApplyCdefForOneUnit() 330 CopyPixels(src_line, frame_buffer_.stride(kPlaneY), in ApplyCdefForOneUnit() 331 border_columns[border_columns_dst_index][kPlaneY], in ApplyCdefForOneUnit() 366 uint8_t* cdef_buffer_base = cdef_buffer_row_base[kPlaneY]; in ApplyCdefForOneUnit() 367 const uint8_t* src_buffer_base = src_buffer_row_base[kPlaneY]; in ApplyCdefForOneUnit() 368 const uint16_t* cdef_src_base = cdef_src_row_base[kPlaneY]; in ApplyCdefForOneUnit() [all …]
|
D | post_filter.cc | 191 int plane = kPlaneY; 211 int plane = kPlaneY; 224 int plane = kPlaneY; 232 plane = kPlaneY; 283 int plane = kPlaneY; in ExtendBordersForReferenceFrame() 346 int plane = kPlaneY; in CopyBordersForOneSuperBlockRow() 361 if (!for_loop_restoration && plane == kPlaneY) { in CopyBordersForOneSuperBlockRow() 393 int plane = kPlaneY; in SetupLoopRestorationBorder() 439 loop_restoration_border_.data(kPlaneY) + in SetupLoopRestorationBorder() 440 row_offset_start * loop_restoration_border_.stride(kPlaneY), in SetupLoopRestorationBorder() [all …]
|
D | super_res.cc | 24 int plane = kPlaneY; in ApplySuperRes() 110 int plane = kPlaneY; in ApplySuperResForOneSuperBlockRow() 131 int plane = kPlaneY; in ApplySuperResForOneSuperBlockRow() 173 int plane = kPlaneY; in ApplySuperResThreaded()
|
D | deblock.cc | 302 const ptrdiff_t src_stride = frame_buffer_.stride(kPlaneY); in HorizontalDeblockFilter() 303 uint8_t* src = GetSourceBuffer(kPlaneY, row4x4_start, column4x4_start); in HorizontalDeblockFilter() 375 const ptrdiff_t row_stride = MultiplyBy4(frame_buffer_.stride(kPlaneY)); in VerticalDeblockFilter() 376 const ptrdiff_t src_stride = frame_buffer_.stride(kPlaneY); in VerticalDeblockFilter() 377 uint8_t* src = GetSourceBuffer(kPlaneY, row4x4_start, column4x4_start); in VerticalDeblockFilter()
|
D | loop_restoration.cc | 103 int plane = kPlaneY; in ApplyLoopRestorationForOneSuperBlockRow()
|
/external/libgav1/libgav1/src/ |
D | yuv_buffer.cc | 90 stride_[kPlaneY] = frame_buffer.stride[0]; in Realloc() 93 buffer_[kPlaneY] = frame_buffer.plane[0]; in Realloc() 153 stride_[kPlaneY] = y_stride; in Realloc() 164 buffer_[kPlaneY] = AlignAddr( in Realloc() 176 left_border_[kPlaneY] = left_border; in Realloc() 177 right_border_[kPlaneY] = right_border; in Realloc() 178 top_border_[kPlaneY] = top_border; in Realloc() 179 bottom_border_[kPlaneY] = bottom_border; in Realloc()
|
D | loop_restoration_info.cc | 67 for (int plane = kPlaneY; plane < num_planes; ++plane) { in Reset() 74 (plane == kPlaneY) ? width : SubsampledValue(width, subsampling_x_); in Reset() 76 (plane == kPlaneY) ? height : SubsampledValue(height, subsampling_y_); in Reset() 94 for (int plane = kPlaneY; plane < num_planes; ++plane) { in Reset() 167 if (plane != kPlaneY) { in ReadWienerInfo() 171 for (int j = static_cast<int>(plane != kPlaneY); j < kNumWienerCoefficients; in ReadWienerInfo()
|
D | tile.h | 765 residual_size[kPlaneY] = kPlaneResidualSize[size][0][0]; in Block() 769 assert(residual_size[kPlaneY] != kBlockInvalid); in Block() 783 top_available[kPlaneY] = tile.IsTopInside(row4x4); in Block() 784 left_available[kPlaneY] = tile.IsLeftInside(column4x4); in Block() 812 if (top_available[kPlaneY]) { in Block() 816 if (left_available[kPlaneY]) { in Block() 840 return static_cast<int>(top_available[kPlaneY] && in CountReferences() 842 static_cast<int>(top_available[kPlaneY] && in CountReferences() 844 static_cast<int>(left_available[kPlaneY] && in CountReferences() 846 static_cast<int>(left_available[kPlaneY] && in CountReferences() [all …]
|
D | film_grain.cc | 442 noise_stripes_[kPlaneY].Reset(max_luma_num, kNoiseStripeHeight * width_, in AllocateNoiseStripes() 464 !noise_image_[kPlaneY].Reset(height_, width_ + kNoiseImagePadding, in AllocateNoiseImage() 636 /*subsampling_x=*/0, /*subsampling_y=*/0, &noise_stripes_[kPlaneY]); in AddNoise() 657 &noise_stripes_[kPlaneY], width_, height_, /*subsampling_x=*/0, in AddNoise() 659 &noise_image_[kPlaneY]); in AddNoise() 662 &noise_stripes_[kPlaneY], width_, height_, /*subsampling_x=*/0, in AddNoise() 663 /*subsampling_y=*/0, &noise_image_[kPlaneY]); in AddNoise()
|
D | yuv_buffer.h | 101 return (plane == kPlaneY) ? y_width_ : uv_width_; in width() 104 return (plane == kPlaneY) ? y_height_ : uv_height_; in height()
|
D | decoder_impl.cc | 1158 int plane = kPlaneY; in CopyFrameToOutputBuffer() 1459 for (int plane = kPlaneY; plane < num_planes; ++plane) { in DecodeTiles() 1461 (plane == kPlaneY) ? 0 : sequence_header.color_config.subsampling_x; in DecodeTiles() 1590 displayable_frame->buffer()->data(kPlaneY), in ApplyFilmGrain() 1591 displayable_frame->buffer()->stride(kPlaneY), in ApplyFilmGrain() 1594 (*film_grain_frame)->buffer()->data(kPlaneY), in ApplyFilmGrain() 1595 (*film_grain_frame)->buffer()->stride(kPlaneY), in ApplyFilmGrain() 1612 displayable_frame->buffer()->data(kPlaneY), in ApplyFilmGrain() 1613 displayable_frame->buffer()->stride(kPlaneY), in ApplyFilmGrain() 1616 (*film_grain_frame)->buffer()->data(kPlaneY), in ApplyFilmGrain() [all …]
|
D | post_filter.h | 192 return loop_restoration.type[kPlaneY] != kLoopRestorationTypeNone && in DoRestoration() 195 return (loop_restoration.type[kPlaneY] != kLoopRestorationTypeNone || in DoRestoration()
|
D | obu_parser.cc | 938 if (!ParseDeltaQuantizer(&quantizer->delta_dc[kPlaneY])) return false; in ParseQuantizerParameters() 963 quantizer->matrix_level[kPlaneY] = scratch; in ParseQuantizerParameters() 1086 segmentation->qindex[i] == 0 && quantizer->delta_dc[kPlaneY] == 0 && in ComputeSegmentLosslessAndQIndex() 1166 loop_restoration->unit_size_log2[kPlaneY] = 6 + unit_shift; in ParseLoopRestorationParameters()
|
D | motion_vector.cc | 872 if (block.top_available[kPlaneY]) { in FindWarpSamples() 897 if (block.left_available[kPlaneY]) { in FindWarpSamples()
|
/external/libgav1/libgav1/src/tile/bitstream/ |
D | mode_info.cc | 134 if (block.top_available[kPlaneY] && block.left_available[kPlaneY]) { in GetUseCompoundReferenceContext() 149 if (block.top_available[kPlaneY]) { in GetUseCompoundReferenceContext() 154 if (block.left_available[kPlaneY]) { in GetUseCompoundReferenceContext() 189 if (block.top_available[kPlaneY] && block.left_available[kPlaneY]) { in ReadSegmentId() 195 if (block.top_available[kPlaneY]) { in ReadSegmentId() 199 if (block.left_available[kPlaneY]) { in ReadSegmentId() 261 if (block.top_available[kPlaneY] && block.bp_top->skip) { in ReadSkip() 264 if (block.left_available[kPlaneY] && block.bp_left->skip) { in ReadSkip() 285 (block.left_available[kPlaneY] in ReadSkipMode() 288 (block.top_available[kPlaneY] ? static_cast<int>(block.bp_top->skip_mode) in ReadSkipMode() [all …]
|
D | transform_size.cc | 73 if (!block.top_available[kPlaneY]) return 64; in GetTopTransformWidth() 86 if (!block.left_available[kPlaneY]) return 64; in GetLeftTransformHeight() 110 block.top_available[kPlaneY] in ReadFixedTransformSize() 114 block.left_available[kPlaneY] in ReadFixedTransformSize()
|
D | palette.cc | 37 (block.top_available[kPlaneY] && Mod64(MultiplyBy4(block.row4x4)) != 0) in GetPaletteCache() 40 const int left_size = block.left_available[kPlaneY] in GetPaletteCache() 143 static_cast<int>(block.top_available[kPlaneY] && in ReadPaletteModeInfo() 146 static_cast<int>(block.left_available[kPlaneY] && in ReadPaletteModeInfo() 156 ReadPaletteColors(block, kPlaneY); in ReadPaletteModeInfo()
|
/external/libgav1/libgav1/src/tile/ |
D | prediction.cc | 256 (plane == kPlaneY && prediction_parameters.use_filter_intra); in IntraPrediction() 396 if (plane == kPlaneY) { in IsSmoothPrediction() 549 buffer_[kPlaneY].rows(), buffer_[kPlaneY].columns() / sizeof(Pixel), in ChromaFromLumaPrediction() 550 reinterpret_cast<Pixel*>(&buffer_[kPlaneY][0][0])); in ChromaFromLumaPrediction() 559 buffer_[kPlaneY].columns()); in ChromaFromLumaPrediction() 678 if (plane == kPlaneY) { in GetWarpParams() 780 if (plane == kPlaneY) { in InterPrediction() 850 if (block.top_available[kPlaneY] && in ObmcPrediction() 884 if (block.left_available[kPlaneY]) { in ObmcPrediction()
|
D | tile.cc | 505 for (int plane = kPlaneY; plane < PlaneCount(); ++plane) { 508 const int max_tx_length = (plane == kPlaneY) ? 64 : 32; 920 for (int plane = kPlaneY; plane < PlaneCount(); ++plane) { in PopulateIntraPredictionBuffer() 962 if (plane == kPlaneY) { in GetTransformAllZeroContext() 1026 if (plane == kPlaneY) { in ComputeTransformType() 1381 if (plane == kPlaneY) { in ReadTransformCoefficients() 1406 if (plane == kPlaneY) { in ReadTransformCoefficients() 1595 (plane == kPlaneY) in TransformBlock() 1612 if (plane != kPlaneY && bp.uv_mode == kPredictionModeChromaFromLuma) { in TransformBlock() 1617 if (plane == kPlaneY) { in TransformBlock() [all …]
|
/external/libgav1/libgav1/src/utils/ |
D | constants.h | 188 enum Plane : uint8_t { kPlaneY, kPlaneU, kPlaneV }; enumerator 189 enum : uint8_t { kMaxPlanesMonochrome = kPlaneY + 1, kMaxPlanes = kPlaneV + 1 };
|
D | common.h | 316 return MultiplyBy4(row_or_column4x4) >> (plane == kPlaneY ? 0 : subsampling); in RowOrColumn4x4ToPixel() 320 return static_cast<PlaneType>(plane != kPlaneY); in GetPlaneType()
|
/external/libgav1/libgav1/src/dsp/x86/ |
D | film_grain_sse4.cc | 188 __m128i noise = LoadSource(&(noise_image[kPlaneY][y + start_height][x])); in BlendNoiseWithImageLuma_SSE4_1() 205 __m128i noise = LoadSource(&(noise_image[kPlaneY][y + start_height][x])); in BlendNoiseWithImageLuma_SSE4_1()
|
/external/libgav1/libgav1/src/dsp/ |
D | film_grain.cc | 516 int noise = noise_image[kPlaneY][y + start_height][x]; in BlendNoiseWithImageLuma_C()
|
/external/libgav1/libgav1/src/dsp/arm/ |
D | film_grain_neon.cc | 720 GetSignedSource8(&(noise_image[kPlaneY][y + start_height][x])); in BlendNoiseWithImageLuma_NEON()
|